Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface") translateModel(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006519/0.006519, allocations: 170.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8894/0.8894, allocations: 135.2 MB / 151.1 MB, free: 13.86 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 223.2 MB / 406.9 MB, free: 3.207 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008976/0.0008973, allocations: 97.42 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003286/0.0003286, allocations: 8 kB / 0.5691 GB, free: 14.18 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4061/0.4065, allocations: 82.3 MB / 0.6495 GB, free: 36.18 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1439/0.5504, allocations: 112.2 MB / 0.7591 GB, free: 3.777 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/0.5507, allocations: 75.95 kB / 0.7592 GB, free: 3.703 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.009117/0.5598, allocations: 3.238 MB / 0.7623 GB, free: 472 kB / 0.5261 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5599, allocations: 4 kB / 0.7623 GB, free: 468 kB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.5599, allocations: 0 / 0.7623 GB, free: 468 kB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004709/0.5604, allocations: 399 kB / 0.7627 GB, free: 20 kB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.5604, allocations: 12.03 kB / 0.7627 GB, free: 8 kB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008098/0.5612, allocations: 91.77 kB / 0.7628 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.5614, allocations: 186.6 kB / 0.763 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.5614, allocations: 7.938 kB / 0.763 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.5614, allocations: 8 kB / 0.763 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005434/0.562, allocations: 166.5 kB / 0.7632 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.562, allocations: 4 kB / 0.7632 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.562, allocations: 0 / 0.7632 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.562, allocations: 0 / 0.7632 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007346/0.5628, allocations: 175.8 kB / 0.7633 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.5638, allocations: 456.3 kB / 0.7638 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007199/0.5645, allocations: 166.3 kB / 0.7639 GB, free: 14.67 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.5646, allocations: 128 / 0.7639 GB, free: 14.67 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.5646, allocations: 38.56 kB / 0.764 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.5646, allocations: 0 / 0.764 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5): time 0.00119/0.5658, allocations: 285.6 kB / 0.7642 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.5659, allocations: 51.41 kB / 0.7643 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.566, allocations: 154.3 kB / 0.7644 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.566, allocations: 25.7 kB / 0.7645 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.052e-05/0.5661, allocations: 96.05 kB / 0.7645 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.28e-05/0.5661, allocations: 19.73 kB / 0.7646 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.466e-06/0.5661, allocations: 0 / 0.7646 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.5663, allocations: 322.8 kB / 0.7649 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003663/0.5666, allocations: 83.92 kB / 0.765 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003508/0.567, allocations: 79.92 kB / 0.765 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003609/0.5674, allocations: 71.94 kB / 0.7651 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.5674, allocations: 0 / 0.7651 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007973/0.5682, allocations: 217.4 kB / 0.7653 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 6.161e-05/0.5683, allocations: 97 kB / 0.7654 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.5683, allocations: 0 / 0.7654 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.5683, allocations: 4 kB / 0.7654 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003135/0.5686, allocations: 47.88 kB / 0.7654 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.279e-06/0.5686, allocations: 0 / 0.7654 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002436/0.5689, allocations: 31.88 kB / 0.7655 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.5689, allocations: 8 kB / 0.7655 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.5689, allocations: 4 kB / 0.7655 GB, free: 13 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001942/0.5691, allocations: 71.95 kB / 0.7656 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-06/0.5691, allocations: 0 / 0.7656 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-06/0.5691, allocations: 0 / 0.7656 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.936e-05/0.5692, allocations: 19.94 kB / 0.7656 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-06/0.5692, allocations: 4 kB / 0.7656 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.799e-05/0.5693, allocations: 12.55 kB / 0.7656 GB, free: 12.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.5693, allocations: 7.984 kB / 0.7656 GB, free: 12.89 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001272/0.5694, allocations: 197.1 kB / 0.7658 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.572e-05/0.5695, allocations: 15.75 kB / 0.7658 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.508e-05/0.5695, allocations: 16.3 kB / 0.7658 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.5696, allocations: 3.953 kB / 0.7658 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.5696, allocations: 3.938 kB / 0.7658 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.5696, allocations: 0 / 0.7658 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.5707, allocations: 0.4922 MB / 0.7663 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.5707, allocations: 0 / 0.7663 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000261/0.5709, allocations: 35.95 kB / 0.7663 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.571, allocations: 7.953 kB / 0.7664 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.571, allocations: 3.984 kB / 0.7664 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.571, allocations: 4.062 kB / 0.7664 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.571, allocations: 4 kB / 0.7664 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000807/0.5718, allocations: 336.3 kB / 0.7667 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.818e-05/0.5719, allocations: 93 kB / 0.7668 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.5719, allocations: 4 kB / 0.7668 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/0.5722, allocations: 36.09 kB / 0.7668 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.5723, allocations: 3.984 kB / 0.7668 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.5723, allocations: 4 kB / 0.7668 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 8.619e-05/0.5724, allocations: 122.3 kB / 0.7669 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5724, allocations: 0 / 0.7669 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003202/0.5727, allocations: 39.84 kB / 0.767 GB, free: 11.36 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001417/0.5728, allocations: 99.23 kB / 0.7671 GB, free: 11.26 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000884/0.5737, allocations: 207.8 kB / 0.7673 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.5737, allocations: 0 / 0.7673 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003806/0.5741, allocations: 99.97 kB / 0.7674 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.5744, allocations: 5.203 kB / 0.7674 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.5754, allocations: 316.5 kB / 0.7677 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.5757, allocations: 0.7004 MB / 0.7684 GB, free: 9.883 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001019/0.5758, allocations: 19.98 kB / 0.7684 GB, free: 9.863 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.335e-05/0.5759, allocations: 23.41 kB / 0.7684 GB, free: 9.84 MB / 0.5417 GB Notification: Performance of SimCode: time 3.31e-07/0.5759, allocations: 0 / 0.7684 GB, free: 9.84 MB / 0.5417 GB Notification: Performance of Templates: time 0.003368/0.5793, allocations: 1.275 MB / 0.7696 GB, free: 8.57 MB / 0.5417 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)