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.0007986/0.0007986, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.0008947/0.0008948, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.163/1.163, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8352/0.8352, allocations: 135.2 MB / 426.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003491/0.0003491, allocations: 8 kB / 0.5068 GB, free: 5.301 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1459, allocations: 82.31 MB / 0.5872 GB, free: 3.172 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.2865/0.4325, allocations: 87.94 MB / 0.6731 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.03905/0.4715, allocations: 28.65 MB / 0.7011 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004815/0.4764, allocations: 125.6 kB / 0.7012 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.005487/0.4819, allocations: 1.622 MB / 0.7028 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01665/0.4986, allocations: 5.152 MB / 0.7078 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.01135/0.5099, allocations: 3.794 MB / 0.7115 GB, free: 4.223 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.013/0.5229, allocations: 5.838 MB / 0.7172 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005273/0.5282, allocations: 2.691 MB / 0.7198 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006917/0.5352, allocations: 2.987 MB / 0.7227 GB, free: 13.63 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004081/0.5393, allocations: 2.009 MB / 0.7247 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0008959/0.5402, allocations: 165.5 kB / 0.7249 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006038/0.5462, allocations: 1.747 MB / 0.7266 GB, free: 11.68 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001201/0.5475, allocations: 0.9657 MB / 0.7275 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001404/0.5489, allocations: 0.8558 MB / 0.7283 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.006666/0.5556, allocations: 5.472 MB / 0.7337 GB, free: 6.348 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.5556, allocations: 0 / 0.7337 GB, free: 6.348 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5556, allocations: 4 kB / 0.7337 GB, free: 6.344 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001026/0.5557, allocations: 0 / 0.7337 GB, free: 6.344 MB / 0.545 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.007769/0.5635, allocations: 4.353 MB / 0.7379 GB, free: 1.914 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.5635, allocations: 12.03 kB / 0.738 GB, free: 1.902 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005599/0.5691, allocations: 1.278 MB / 0.7392 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008766/0.5779, allocations: 4.158 MB / 0.7433 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001646/0.5781, allocations: 197.1 kB / 0.7435 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003971/0.5785, allocations: 228 kB / 0.7437 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004556/0.5831, allocations: 2.677 MB / 0.7463 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.217e-05/0.5831, allocations: 3.938 kB / 0.7463 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002076/0.5833, allocations: 87.95 kB / 0.7464 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.478e-05/0.5834, allocations: 52 kB / 0.7464 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004154/0.5875, allocations: 1.94 MB / 0.7483 GB, free: 7.086 MB / 0.5606 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.01558/0.6031, allocations: 12.34 MB / 0.7604 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003209/0.6063, allocations: 1.521 MB / 0.7618 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006187/0.6125, allocations: 4.076 MB / 0.7658 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.6126, allocations: 51.5 kB / 0.7659 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009792/0.6136, allocations: 206.2 kB / 0.7661 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=111): time 3.106e-06/0.6136, allocations: 0 / 0.7661 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of matching and sorting (n=111): time 0.007854/0.6215, allocations: 3.049 MB / 0.7691 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.6215, allocations: 64.41 kB / 0.7691 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004144/0.6257, allocations: 3.428 MB / 0.7725 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001943/0.6259, allocations: 61.7 kB / 0.7725 GB, free: 13 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001312/0.6272, allocations: 1.789 MB / 0.7743 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003427/0.6275, allocations: 382.4 kB / 0.7746 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.6277, allocations: 32 kB / 0.7747 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.6278, allocations: 385.9 kB / 0.775 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001768/0.6296, allocations: 0.8353 MB / 0.7758 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002167/0.6318, allocations: 1.531 MB / 0.7773 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001927/0.6337, allocations: 0.9861 MB / 0.7783 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/0.6337, allocations: 8 kB / 0.7783 GB, free: 6.738 MB / 0.5919 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.005565/0.6393, allocations: 2.893 MB / 0.7811 GB, free: 3.82 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.002834/0.6422, allocations: 8.134 MB / 0.7891 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.476e-05/0.6422, allocations: 20 kB / 0.7891 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001374/0.6436, allocations: 411.1 kB / 0.7895 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001715/0.6453, allocations: 443.2 kB / 0.7899 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001924/0.6472, allocations: 2.756 MB / 0.7926 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002418/0.6497, allocations: 211.7 kB / 0.7928 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002457/0.6499, allocations: 155.9 kB / 0.793 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.566e-06/0.6499, allocations: 4 kB / 0.793 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005694/0.6556, allocations: 3.106 MB / 0.796 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.624e-05/0.6557, allocations: 20 kB / 0.796 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002353/0.658, allocations: 0.8512 MB / 0.7968 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/0.6595, allocations: 403.4 kB / 0.7972 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01555/0.675, allocations: 12.89 MB / 0.8098 GB, free: 5.191 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002509/0.6776, allocations: 199.7 kB / 0.81 GB, free: 4.996 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002596/0.6778, allocations: 140 kB / 0.8101 GB, free: 4.859 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.00173/0.6796, allocations: 0.8674 MB / 0.811 GB, free: 3.98 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005203/0.6801, allocations: 363.2 kB / 0.8113 GB, free: 3.621 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005695/0.6858, allocations: 2.68 MB / 0.8139 GB, free: 0.9297 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.725e-05/0.6858, allocations: 12 kB / 0.814 GB, free: 0.918 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.6858, allocations: 0 / 0.814 GB, free: 0.918 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/0.6859, allocations: 7.969 kB / 0.814 GB, free: 0.9102 MB / 0.6231 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 postOpt removeSimpleEquations (simulation): time 0.008507/0.6944, allocations: 5.079 MB / 0.8189 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.6944, allocations: 3.938 kB / 0.8189 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/0.6955, allocations: 251.8 kB / 0.8192 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008869/0.6964, allocations: 395 kB / 0.8195 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.92e-05/0.6965, allocations: 47.94 kB / 0.8196 GB, free: 11 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001562/0.6981, allocations: 2.627 MB / 0.8222 GB, free: 8.27 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.144e-05/0.6981, allocations: 7.969 kB / 0.8222 GB, free: 8.262 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004647/0.7028, allocations: 2.494 MB / 0.8246 GB, free: 5.68 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001257/0.704, allocations: 0.617 MB / 0.8252 GB, free: 5.039 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005613/0.7046, allocations: 27.98 kB / 0.8252 GB, free: 5.012 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00197/0.7066, allocations: 203.6 kB / 0.8254 GB, free: 4.812 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/0.7067, allocations: 89.14 kB / 0.8255 GB, free: 4.723 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001375/0.7069, allocations: 75.94 kB / 0.8256 GB, free: 4.648 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003188/0.7101, allocations: 2.286 MB / 0.8278 GB, free: 2.359 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7101, allocations: 0 / 0.8278 GB, free: 2.359 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.005612/0.7157, allocations: 1.844 MB / 0.8296 GB, free: 0.5117 MB / 0.6387 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 (117): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001508/0.7172, allocations: 0.7679 MB / 0.8304 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.007564/0.7248, allocations: 4.039 MB / 0.8343 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.7248, allocations: 0 / 0.8343 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001907/0.7268, allocations: 0.8864 MB / 0.8352 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006513/0.7333, allocations: 1.695 MB / 0.8368 GB, free: 9.094 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/0.7435, allocations: 7.031 MB / 0.8437 GB, free: 2.023 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001828/0.7454, allocations: 2.335 MB / 0.846 GB, free: 15.66 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003898/0.7493, allocations: 0.8964 MB / 0.8469 GB, free: 14.76 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006644/0.75, allocations: 291.3 kB / 0.8471 GB, free: 14.47 MB / 0.67 GB Notification: Performance of SimCode: time 5.61e-07/0.75, allocations: 0 / 0.8471 GB, free: 14.47 MB / 0.67 GB Notification: Performance of Templates: time 0.3581/1.108, allocations: 77.43 MB / 0.9227 GB, free: 184.2 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: