Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.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.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2") translateModel(IDEAS.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 114.5 kB / 16.42 MB, free: 6.508 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.001279/0.001279, allocations: 183.8 kB / 17.35 MB, free: 5.758 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.316/1.316, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8029/0.8029, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 61.47 kB / 0.5863 GB, free: 21.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1569, allocations: 80.92 MB / 0.6653 GB, free: 5.805 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pump_dp.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example2): time 0.03363/0.1906, allocations: 29.62 MB / 0.6942 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01455/0.2052, allocations: 9.887 MB / 0.7039 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001528/0.2068, allocations: 47.75 kB / 0.7039 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002205/0.209, allocations: 0.6913 MB / 0.7046 GB, free: 13.42 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00402/0.213, allocations: 1.497 MB / 0.7061 GB, free: 11.92 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003505/0.2165, allocations: 1.38 MB / 0.7074 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005125/0.2217, allocations: 3.831 MB / 0.7111 GB, free: 6.695 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002209/0.2239, allocations: 1.361 MB / 0.7125 GB, free: 5.301 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003515/0.2274, allocations: 1.516 MB / 0.714 GB, free: 3.781 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001884/0.2293, allocations: 1.042 MB / 0.715 GB, free: 2.734 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004178/0.2298, allocations: 120 kB / 0.7151 GB, free: 2.617 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002647/0.2324, allocations: 1.123 MB / 0.7162 GB, free: 1.492 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0006631/0.2331, allocations: 402.6 kB / 0.7166 GB, free: 1.098 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00147/0.2346, allocations: 0.789 MB / 0.7173 GB, free: 312 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004493/0.2391, allocations: 2.456 MB / 0.7197 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.2391, allocations: 0 / 0.7197 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.335e-06/0.2391, allocations: 4 kB / 0.7197 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.983e-05/0.2392, allocations: 4 kB / 0.7197 GB, free: 13.83 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.004548/0.2438, allocations: 1.999 MB / 0.7217 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.2438, allocations: 13.11 kB / 0.7217 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001252/0.2451, allocations: 255.7 kB / 0.722 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002842/0.248, allocations: 1.356 MB / 0.7233 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.053e-05/0.248, allocations: 66 kB / 0.7233 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.2482, allocations: 84 kB / 0.7234 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001692/0.2499, allocations: 0.9772 MB / 0.7244 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.2499, allocations: 4 kB / 0.7244 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.313e-05/0.25, allocations: 32 kB / 0.7244 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.25, allocations: 20 kB / 0.7244 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001452/0.2515, allocations: 0.7024 MB / 0.7251 GB, free: 8.164 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.005755/0.2572, allocations: 4.863 MB / 0.7299 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.2585, allocations: 0.5523 MB / 0.7304 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006361/0.2591, allocations: 325.1 kB / 0.7307 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002188/0.2613, allocations: 1.576 MB / 0.7323 GB, free: 376 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006917/0.262, allocations: 339 kB / 0.7326 GB, free: 24 kB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003005/0.2623, allocations: 55.8 kB / 0.7326 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 3.707e-06/0.2623, allocations: 0 / 0.7326 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.003126/0.2655, allocations: 1.17 MB / 0.7338 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.2655, allocations: 55.41 kB / 0.7338 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001621/0.2671, allocations: 1.282 MB / 0.7351 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.108e-05/0.2672, allocations: 45.69 kB / 0.7351 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005518/0.2678, allocations: 0.6461 MB / 0.7358 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.2679, allocations: 170.6 kB / 0.7359 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002267/0.2682, allocations: 150.3 kB / 0.7361 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.2683, allocations: 341.8 kB / 0.7364 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005977/0.2689, allocations: 271.6 kB / 0.7366 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007944/0.2697, allocations: 0.5826 MB / 0.7372 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/0.2711, allocations: 0.8098 MB / 0.738 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.2711, allocations: 7.938 kB / 0.738 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002342/0.2734, allocations: 1.095 MB / 0.7391 GB, free: 9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.733e-05/0.2735, allocations: 37.7 kB / 0.7391 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.2735, allocations: 8 kB / 0.7391 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006581/0.2742, allocations: 192.6 kB / 0.7393 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005595/0.2748, allocations: 139.8 kB / 0.7394 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008056/0.2756, allocations: 0.7707 MB / 0.7402 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007732/0.2764, allocations: 48.62 kB / 0.7402 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.287e-05/0.2764, allocations: 43.92 kB / 0.7403 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009685/0.2774, allocations: 0.5522 MB / 0.7408 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006902/0.2781, allocations: 0.5514 MB / 0.7414 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001093/0.2792, allocations: 0.7395 MB / 0.7421 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.029e-06/0.2792, allocations: 4 kB / 0.7421 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.00186/0.2811, allocations: 1.066 MB / 0.7431 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.364e-05/0.2811, allocations: 39.41 kB / 0.7432 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.2812, allocations: 8 kB / 0.7432 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002186/0.2814, allocations: 105.3 kB / 0.7433 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004923/0.2819, allocations: 139.7 kB / 0.7434 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00227/0.2842, allocations: 2.345 MB / 0.7457 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007482/0.2849, allocations: 48.64 kB / 0.7457 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.331e-05/0.285, allocations: 40.05 kB / 0.7458 GB, free: 1.641 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 68 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002571/0.2853, allocations: 237.3 kB / 0.746 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001815/0.2855, allocations: 135.1 kB / 0.7461 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001886/0.2874, allocations: 0.8647 MB / 0.747 GB, free: 400 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2821/0.5695, allocations: 0.8684 MB / 0.7478 GB, free: 78.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.5695, allocations: 1.266 kB / 0.7478 GB, free: 78.24 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004865/0.57, allocations: 260.5 kB / 0.7481 GB, free: 78.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/0.5702, allocations: 13.67 kB / 0.7481 GB, free: 78.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000493/0.5707, allocations: 30.48 kB / 0.7481 GB, free: 78.14 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.5708, allocations: 52.09 kB / 0.7482 GB, free: 78.14 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001784/0.5726, allocations: 0.8062 MB / 0.749 GB, free: 78.03 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001785/0.5744, allocations: 1.118 MB / 0.75 GB, free: 77.81 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000496/0.5749, allocations: 270.2 kB / 0.7503 GB, free: 77.81 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001095/0.576, allocations: 0.8881 MB / 0.7512 GB, free: 77.7 MB / 0.5762 GB Notification: Performance of Backend: time 5.41e-07/0.576, allocations: 3.031 kB / 0.7512 GB, free: 77.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00332/0.5793, allocations: 1.525 MB / 0.7527 GB, free: 77.16 MB / 0.5762 GB Notification: Performance of SimCode: time 0.004606/0.584, allocations: 3.204 MB / 0.7558 GB, free: 75.52 MB / 0.5762 GB Notification: Performance of Templates: time 0.04266/0.6266, allocations: 28.13 MB / 0.7833 GB, free: 63.01 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe 2>&1)