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.001237/0.001237, allocations: 105.6 kB / 16.41 MB, free: 6.496 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.001268/0.001268, allocations: 189.6 kB / 17.34 MB, free: 5.766 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.209/1.209, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7449/0.7449, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 63.17 kB / 0.5863 GB, free: 21.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1386, allocations: 80.93 MB / 0.6653 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.4258/0.5645, allocations: 104.9 MB / 0.7678 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03766/0.6021, allocations: 32.91 MB / 0.7999 GB, free: 340 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005761/0.6079, allocations: 157.2 kB / 0.8001 GB, free: 340 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005235/0.6132, allocations: 2.009 MB / 0.802 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01362/0.6269, allocations: 5.013 MB / 0.8069 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.009572/0.6365, allocations: 3.907 MB / 0.8107 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01309/0.6496, allocations: 9.551 MB / 0.8201 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005473/0.6551, allocations: 3.524 MB / 0.8235 GB, free: 4.039 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009106/0.6643, allocations: 4.116 MB / 0.8275 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005556/0.6698, allocations: 3.035 MB / 0.8305 GB, free: 124 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001362/0.6712, allocations: 412.6 kB / 0.8309 GB, free: 124 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006839/0.6781, allocations: 2.635 MB / 0.8335 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001959/0.6801, allocations: 1.321 MB / 0.8347 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.004431/0.6845, allocations: 2.363 MB / 0.837 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01269/0.6972, allocations: 7.443 MB / 0.8443 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.6973, allocations: 0 / 0.8443 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6973, allocations: 0 / 0.8443 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001866/0.6975, allocations: 4 kB / 0.8443 GB, free: 5.211 MB / 0.6075 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.009983/0.7075, allocations: 5.075 MB / 0.8493 GB, free: 104 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.7075, allocations: 13.11 kB / 0.8493 GB, free: 92 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005926/0.7135, allocations: 1.18 MB / 0.8504 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009399/0.7229, allocations: 4.268 MB / 0.8546 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000201/0.7231, allocations: 180.2 kB / 0.8548 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006749/0.7238, allocations: 232 kB / 0.855 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004887/0.7287, allocations: 2.734 MB / 0.8577 GB, free: 7.379 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.064e-05/0.7288, allocations: 0 / 0.8577 GB, free: 7.379 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001955/0.729, allocations: 87.94 kB / 0.8578 GB, free: 7.293 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-05/0.729, allocations: 52 kB / 0.8578 GB, free: 7.242 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004366/0.7334, allocations: 1.963 MB / 0.8597 GB, free: 5.277 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 preOpt removeSimpleEquations (simulation): time 0.01658/0.75, allocations: 12.63 MB / 0.8721 GB, free: 7.875 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003407/0.7535, allocations: 1.52 MB / 0.8735 GB, free: 6.352 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001532/0.755, allocations: 0.7168 MB / 0.8742 GB, free: 5.637 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006159/0.7612, allocations: 3.994 MB / 0.8781 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.7613, allocations: 47.56 kB / 0.8782 GB, free: 1.301 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=107): time 2.865e-06/0.7613, allocations: 0 / 0.8782 GB, free: 1.301 MB / 0.6387 GB Notification: Performance of matching and sorting (n=107): time 0.008593/0.7699, allocations: 3.028 MB / 0.8811 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.7699, allocations: 60.41 kB / 0.8812 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004947/0.7749, allocations: 3.475 MB / 0.8846 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0004897/0.7754, allocations: 61.64 kB / 0.8847 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001352/0.7768, allocations: 1.789 MB / 0.8864 GB, free: 8.781 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004596/0.7773, allocations: 371.9 kB / 0.8868 GB, free: 8.422 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006535/0.7779, allocations: 467.2 kB / 0.8872 GB, free: 7.957 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.582e-05/0.778, allocations: 305.1 kB / 0.8875 GB, free: 7.656 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002207/0.7802, allocations: 1.188 MB / 0.8887 GB, free: 6.465 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002631/0.7829, allocations: 1.877 MB / 0.8905 GB, free: 4.285 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00468/0.7876, allocations: 2.959 MB / 0.8934 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-05/0.7876, allocations: 8 kB / 0.8934 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.007001/0.7946, allocations: 3.762 MB / 0.8971 GB, free: 13.29 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.989e-05/0.7947, allocations: 12.94 kB / 0.8971 GB, free: 13.27 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.406e-05/0.7947, allocations: 16 kB / 0.8971 GB, free: 13.26 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001744/0.7964, allocations: 0.7255 MB / 0.8978 GB, free: 12.52 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001664/0.7981, allocations: 431.3 kB / 0.8982 GB, free: 12.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002054/0.8002, allocations: 2.76 MB / 0.9009 GB, free: 9.234 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002576/0.8028, allocations: 261.8 kB / 0.9012 GB, free: 8.977 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00029/0.8031, allocations: 155.9 kB / 0.9013 GB, free: 8.824 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002894/0.806, allocations: 1.67 MB / 0.9029 GB, free: 7.152 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002262/0.8083, allocations: 1.68 MB / 0.9046 GB, free: 5.168 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003778/0.8121, allocations: 2.577 MB / 0.9071 GB, free: 2.348 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.067e-06/0.8121, allocations: 4 kB / 0.9071 GB, free: 2.344 MB / 0.67 GB Notification: Performance of matching and sorting (n=239) (initialization_lambda0): time 0.00687/0.819, allocations: 3.461 MB / 0.9105 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.819, allocations: 12 kB / 0.9105 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.305e-05/0.819, allocations: 20 kB / 0.9105 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002439/0.8215, allocations: 0.8589 MB / 0.9113 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0014/0.8229, allocations: 399.3 kB / 0.9117 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01592/0.8388, allocations: 13.8 MB / 0.9252 GB, free: 15.09 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002675/0.8415, allocations: 195 kB / 0.9254 GB, free: 14.9 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002905/0.8418, allocations: 139 kB / 0.9255 GB, free: 14.77 MB / 0.7012 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 (203): * Single equations (assignments): 195 * 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.0006187/0.8425, allocations: 297.3 kB / 0.9258 GB, free: 14.47 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006491/0.8431, allocations: 363.2 kB / 0.9262 GB, free: 14.11 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005763/0.8489, allocations: 2.624 MB / 0.9287 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.17e-05/0.8489, allocations: 20 kB / 0.9287 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.8489, allocations: 0 / 0.9287 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/0.849, allocations: 11.91 kB / 0.9287 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008611/0.8576, allocations: 4.836 MB / 0.9335 GB, free: 6.539 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-06/0.8576, allocations: 0 / 0.9335 GB, free: 6.539 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/0.8587, allocations: 239.7 kB / 0.9337 GB, free: 6.305 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009305/0.8597, allocations: 391 kB / 0.9341 GB, free: 5.91 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.945e-05/0.8598, allocations: 43.95 kB / 0.9341 GB, free: 5.867 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001724/0.8615, allocations: 2.626 MB / 0.9367 GB, free: 3.141 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.8615, allocations: 0 / 0.9367 GB, free: 3.141 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005234/0.8668, allocations: 2.418 MB / 0.939 GB, free: 0.668 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00131/0.8681, allocations: 0.609 MB / 0.9396 GB, free: 36 kB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003245/0.8684, allocations: 20 kB / 0.9397 GB, free: 16 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00144/0.8699, allocations: 95.94 kB / 0.9397 GB, free: 15.92 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/0.8701, allocations: 93.12 kB / 0.9398 GB, free: 15.83 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000128/0.8702, allocations: 67.95 kB / 0.9399 GB, free: 15.76 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00314/0.8733, allocations: 2.326 MB / 0.9422 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8734, allocations: 0 / 0.9422 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004537/0.8779, allocations: 1.785 MB / 0.9439 GB, free: 11.65 MB / 0.7169 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 (113): * Single equations (assignments): 99 * 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.001727/0.8796, allocations: 0.7622 MB / 0.9447 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.009346/0.889, allocations: 4.467 MB / 0.949 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.889, allocations: 0 / 0.949 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002174/0.8912, allocations: 0.8978 MB / 0.9499 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006863/0.8981, allocations: 1.746 MB / 0.9516 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/0.9083, allocations: 6.14 MB / 0.9576 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001679/0.91, allocations: 2.246 MB / 0.9598 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001083/0.9111, allocations: 295.3 kB / 0.9601 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of SimCode: time 8.21e-07/0.9111, allocations: 0 / 0.9601 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of Templates: time 0.4638/1.375, allocations: 132.6 MB / 1.09 GB, free: 304.8 MB / 0.8262 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)