Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") translateModel(IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001388/0.001389, allocations: 195.8 kB / 16.26 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.058/1.058, allocations: 135.2 MB / 425.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 67.89 kB / 0.5049 GB, free: 5.609 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1902, allocations: 80.93 MB / 0.5839 GB, free: 4.844 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.4067/0.5969, allocations: 104 MB / 0.6855 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.05329/0.6503, allocations: 32.65 MB / 0.7173 GB, free: 11.31 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01121/0.6615, allocations: 146.1 kB / 0.7175 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00801/0.6696, allocations: 1.743 MB / 0.7192 GB, free: 10.28 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01787/0.6875, allocations: 4.666 MB / 0.7237 GB, free: 7.594 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0116/0.6991, allocations: 3.588 MB / 0.7273 GB, free: 5.242 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01712/0.7163, allocations: 9.656 MB / 0.7367 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006971/0.7233, allocations: 3.545 MB / 0.7401 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0136/0.7369, allocations: 4.048 MB / 0.7441 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007437/0.7444, allocations: 3.21 MB / 0.7472 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001966/0.7464, allocations: 416 kB / 0.7476 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008125/0.7545, allocations: 2.652 MB / 0.7502 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002416/0.757, allocations: 1.336 MB / 0.7515 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.004703/0.7617, allocations: 2.375 MB / 0.7538 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01289/0.7746, allocations: 7.415 MB / 0.7611 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.7746, allocations: 0 / 0.7611 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.744e-06/0.7746, allocations: 0 / 0.7611 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001842/0.7748, allocations: 4 kB / 0.7611 GB, free: 8.031 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 529 * Number of variables: 529 Notification: Performance of Generate backend data structure: time 0.01187/0.7867, allocations: 5.091 MB / 0.7661 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.7868, allocations: 8.031 kB / 0.7661 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006929/0.7937, allocations: 1.174 MB / 0.7672 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01104/0.8048, allocations: 4.307 MB / 0.7714 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002551/0.8051, allocations: 193.1 kB / 0.7716 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008441/0.8059, allocations: 228 kB / 0.7718 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005947/0.8119, allocations: 2.731 MB / 0.7745 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.105e-05/0.8119, allocations: 8 kB / 0.7745 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002334/0.8122, allocations: 87.94 kB / 0.7746 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.534e-05/0.8122, allocations: 48 kB / 0.7746 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00515/0.8174, allocations: 1.999 MB / 0.7766 GB, free: 7.875 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02177/0.8392, allocations: 12.41 MB / 0.7887 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004005/0.8432, allocations: 1.599 MB / 0.7903 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00188/0.8451, allocations: 0.7492 MB / 0.791 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007903/0.853, allocations: 4.071 MB / 0.795 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/0.8531, allocations: 47.5 kB / 0.795 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001318/0.8544, allocations: 174.4 kB / 0.7952 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=111): time 6.001e-06/0.8544, allocations: 0 / 0.7952 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of matching and sorting (n=111): time 0.01045/0.8649, allocations: 3.142 MB / 0.7982 GB, free: 420 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.358e-05/0.865, allocations: 60.41 kB / 0.7983 GB, free: 348 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005912/0.8709, allocations: 3.432 MB / 0.8016 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0004549/0.8714, allocations: 57.7 kB / 0.8017 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.002231/0.8736, allocations: 1.781 MB / 0.8034 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006108/0.8743, allocations: 386.4 kB / 0.8038 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001078/0.8754, allocations: 483.1 kB / 0.8043 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002906/0.8757, allocations: 305.1 kB / 0.8046 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002876/0.8785, allocations: 1.215 MB / 0.8057 GB, free: 8.652 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003986/0.8825, allocations: 1.921 MB / 0.8076 GB, free: 6.418 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006843/0.8894, allocations: 3.018 MB / 0.8106 GB, free: 3.137 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.292e-05/0.8895, allocations: 15.98 kB / 0.8106 GB, free: 3.121 MB / 0.6231 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.009451/0.8989, allocations: 3.846 MB / 0.8143 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.705e-05/0.899, allocations: 16 kB / 0.8144 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.315e-05/0.8991, allocations: 16 kB / 0.8144 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002027/0.9011, allocations: 0.7337 MB / 0.8151 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001954/0.9031, allocations: 435.3 kB / 0.8155 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002814/0.9059, allocations: 2.752 MB / 0.8182 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002919/0.9088, allocations: 215.8 kB / 0.8184 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003524/0.9092, allocations: 155.9 kB / 0.8185 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003399/0.9126, allocations: 1.695 MB / 0.8202 GB, free: 9.125 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002888/0.9155, allocations: 1.722 MB / 0.8219 GB, free: 7.09 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004826/0.9203, allocations: 2.649 MB / 0.8245 GB, free: 4.195 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.285e-05/0.9204, allocations: 8 kB / 0.8245 GB, free: 4.188 MB / 0.6387 GB Notification: Performance of matching and sorting (n=243) (initialization_lambda0): time 0.00809/0.9285, allocations: 3.532 MB / 0.8279 GB, free: 0.6367 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.76e-05/0.9285, allocations: 20.94 kB / 0.8279 GB, free: 0.6172 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.284e-05/0.9286, allocations: 16 kB / 0.828 GB, free: 0.6016 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003034/0.9316, allocations: 0.866 MB / 0.8288 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001776/0.9334, allocations: 407.3 kB / 0.8292 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02031/0.9537, allocations: 13.8 MB / 0.8427 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002978/0.9567, allocations: 212 kB / 0.8429 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003629/0.9571, allocations: 135.9 kB / 0.843 GB, free: 0.5 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * 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 (207): * Single equations (assignments): 199 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000624/0.9578, allocations: 295.6 kB / 0.8433 GB, free: 208 kB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007716/0.9585, allocations: 359.5 kB / 0.8436 GB, free: 15.84 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007166/0.9657, allocations: 2.745 MB / 0.8463 GB, free: 13.09 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.88e-05/0.9658, allocations: 23.92 kB / 0.8463 GB, free: 13.06 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.9658, allocations: 0 / 0.8463 GB, free: 13.06 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.092e-05/0.9658, allocations: 7.969 kB / 0.8463 GB, free: 13.05 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01355/0.9794, allocations: 4.921 MB / 0.8511 GB, free: 8.039 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.9794, allocations: 0 / 0.8511 GB, free: 8.039 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001326/0.9808, allocations: 251.7 kB / 0.8514 GB, free: 7.793 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001069/0.9818, allocations: 395 kB / 0.8518 GB, free: 7.395 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001305/0.982, allocations: 47.95 kB / 0.8518 GB, free: 7.348 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002291/0.9843, allocations: 2.627 MB / 0.8544 GB, free: 4.617 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.9843, allocations: 256 / 0.8544 GB, free: 4.617 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006536/0.9908, allocations: 2.508 MB / 0.8568 GB, free: 2.062 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001638/0.9925, allocations: 0.5937 MB / 0.8574 GB, free: 1.445 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008702/0.9934, allocations: 23.94 kB / 0.8574 GB, free: 1.422 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002483/0.9959, allocations: 191.6 kB / 0.8576 GB, free: 1.234 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002053/0.9961, allocations: 89.12 kB / 0.8577 GB, free: 1.145 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000183/0.9963, allocations: 75.94 kB / 0.8578 GB, free: 1.07 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.2652/1.261, allocations: 2.28 MB / 0.86 GB, free: 209.2 MB / 0.67 GB Notification: Performance of sort global known variables: time 6.21e-07/1.262, allocations: 0 / 0.86 GB, free: 209.2 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.006342/1.268, allocations: 1.82 MB / 0.8618 GB, free: 209.2 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (121): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001781/1.27, allocations: 0.7092 MB / 0.8625 GB, free: 209.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01027/1.28, allocations: 4.698 MB / 0.8671 GB, free: 208.2 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/1.28, allocations: 0 / 0.8671 GB, free: 208.2 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002245/1.282, allocations: 0.9386 MB / 0.868 GB, free: 207.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008024/1.29, allocations: 1.771 MB / 0.8697 GB, free: 207.6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01095/1.301, allocations: 7.459 MB / 0.877 GB, free: 203.4 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001621/1.303, allocations: 2.259 MB / 0.8792 GB, free: 202.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.004307/1.307, allocations: 0.89 MB / 0.8801 GB, free: 202.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000717/1.308, allocations: 279.6 kB / 0.8803 GB, free: 202.3 MB / 0.67 GB Notification: Performance of SimCode: time 8.72e-07/1.308, allocations: 6.406 kB / 0.8803 GB, free: 202.3 MB / 0.67 GB Notification: Performance of Templates: time 0.1316/1.44, allocations: 81.99 MB / 0.9604 GB, free: 155.8 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)