Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.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.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3") translateModel(IDEAS.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 109.5 kB / 16.42 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.001214/0.001214, allocations: 189.5 kB / 17.35 MB, free: 5.73 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.19/1.19, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.721/0.721, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 60.88 kB / 0.5863 GB, free: 21.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1163, allocations: 80.93 MB / 0.6653 GB, free: 5.793 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.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.Example3): time 0.02907/0.1454, allocations: 32.73 MB / 0.6973 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01235/0.1577, allocations: 10.49 MB / 0.7075 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001106/0.1589, allocations: 47.75 kB / 0.7075 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00173/0.1606, allocations: 0.738 MB / 0.7083 GB, free: 9.641 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003231/0.1639, allocations: 1.601 MB / 0.7098 GB, free: 8.035 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002737/0.1666, allocations: 1.419 MB / 0.7112 GB, free: 6.621 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004468/0.1711, allocations: 4.892 MB / 0.716 GB, free: 1.719 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00213/0.1732, allocations: 2.07 MB / 0.718 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002944/0.1762, allocations: 1.936 MB / 0.7199 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001326/0.1775, allocations: 1.361 MB / 0.7212 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002075/0.1777, allocations: 140 kB / 0.7214 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001881/0.1796, allocations: 1.17 MB / 0.7225 GB, free: 11 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003828/0.18, allocations: 466.3 kB / 0.723 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008518/0.1809, allocations: 1.011 MB / 0.7239 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002642/0.1835, allocations: 2.936 MB / 0.7268 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.1835, allocations: 3.938 kB / 0.7268 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.245e-06/0.1835, allocations: 0 / 0.7268 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.575e-05/0.1836, allocations: 3.938 kB / 0.7268 GB, free: 6.57 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: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.003161/0.1867, allocations: 2.38 MB / 0.7291 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.1868, allocations: 13.11 kB / 0.7292 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.1878, allocations: 298.2 kB / 0.7294 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002663/0.1905, allocations: 1.702 MB / 0.7311 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.828e-05/0.1906, allocations: 81.98 kB / 0.7312 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/0.1907, allocations: 104 kB / 0.7313 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001914/0.1926, allocations: 1.284 MB / 0.7325 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.61e-05/0.1927, allocations: 11.92 kB / 0.7325 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-05/0.1928, allocations: 36 kB / 0.7326 GB, free: 488 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/0.1928, allocations: 24 kB / 0.7326 GB, free: 464 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001707/0.1945, allocations: 0.9756 MB / 0.7336 GB, free: 15.47 MB / 0.5762 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.006297/0.2008, allocations: 6.502 MB / 0.7399 GB, free: 8.551 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/0.202, allocations: 0.5788 MB / 0.7405 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006388/0.2026, allocations: 393.6 kB / 0.7408 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002179/0.2048, allocations: 1.692 MB / 0.7425 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000669/0.2055, allocations: 351.5 kB / 0.7428 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002725/0.2058, allocations: 83.25 kB / 0.7429 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=45): time 1.924e-06/0.2058, allocations: 4 kB / 0.7429 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45): time 0.003069/0.2088, allocations: 1.312 MB / 0.7442 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.2089, allocations: 55.41 kB / 0.7442 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001841/0.2107, allocations: 1.797 MB / 0.746 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.69e-05/0.2108, allocations: 37.7 kB / 0.746 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006157/0.2114, allocations: 0.85 MB / 0.7469 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.2115, allocations: 161.7 kB / 0.747 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002313/0.2118, allocations: 190.4 kB / 0.7472 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.2119, allocations: 334 kB / 0.7475 GB, free: 480 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005953/0.2125, allocations: 320.6 kB / 0.7478 GB, free: 156 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2513/0.4638, allocations: 0.7401 MB / 0.7486 GB, free: 77.93 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/0.4653, allocations: 0.9849 MB / 0.7495 GB, free: 77.52 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.966e-06/0.4653, allocations: 6.656 kB / 0.7495 GB, free: 77.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002524/0.4678, allocations: 1.301 MB / 0.7508 GB, free: 77.37 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.549e-05/0.4679, allocations: 45.66 kB / 0.7508 GB, free: 77.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.4679, allocations: 9.5 kB / 0.7508 GB, free: 77.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006041/0.4685, allocations: 180.6 kB / 0.751 GB, free: 77.33 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005912/0.4691, allocations: 172.2 kB / 0.7512 GB, free: 77.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005055/0.4696, allocations: 0.7602 MB / 0.7519 GB, free: 76.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000842/0.4705, allocations: 52.69 kB / 0.752 GB, free: 76.79 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.518e-05/0.4705, allocations: 47.77 kB / 0.752 GB, free: 76.79 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001017/0.4716, allocations: 0.7183 MB / 0.7527 GB, free: 76.71 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006241/0.4722, allocations: 0.7094 MB / 0.7534 GB, free: 76.17 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001073/0.4733, allocations: 0.9209 MB / 0.7543 GB, free: 75.52 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.312e-06/0.4733, allocations: 2.938 kB / 0.7543 GB, free: 75.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.001892/0.4752, allocations: 1.262 MB / 0.7555 GB, free: 75.04 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.4752, allocations: 37.2 kB / 0.7556 GB, free: 75.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.4752, allocations: 17.19 kB / 0.7556 GB, free: 75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002143/0.4755, allocations: 120.2 kB / 0.7557 GB, free: 74.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005489/0.476, allocations: 171 kB / 0.7559 GB, free: 74.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001784/0.4778, allocations: 2.321 MB / 0.7581 GB, free: 73.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007474/0.4786, allocations: 52.23 kB / 0.7582 GB, free: 73.12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.843e-05/0.4787, allocations: 46.19 kB / 0.7582 GB, free: 73.12 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 81 * 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 {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0001983/0.4789, allocations: 243 kB / 0.7585 GB, free: 72.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001955/0.4791, allocations: 174.3 kB / 0.7586 GB, free: 72.86 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002122/0.4812, allocations: 1.003 MB / 0.7596 GB, free: 72.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001357/0.4826, allocations: 0.9496 MB / 0.7605 GB, free: 71.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.4826, allocations: 0.5625 kB / 0.7605 GB, free: 71.93 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003746/0.483, allocations: 299.7 kB / 0.7608 GB, free: 71.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001654/0.4831, allocations: 10.53 kB / 0.7608 GB, free: 71.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005387/0.4837, allocations: 26.56 kB / 0.7609 GB, free: 71.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.4838, allocations: 57.38 kB / 0.7609 GB, free: 71.69 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00193/0.4857, allocations: 0.8568 MB / 0.7618 GB, free: 71.38 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001798/0.4875, allocations: 1.249 MB / 0.763 GB, free: 70.78 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005124/0.4881, allocations: 302.3 kB / 0.7633 GB, free: 70.69 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001385/0.4895, allocations: 1.238 MB / 0.7645 GB, free: 70.23 MB / 0.5762 GB Notification: Performance of Backend: time 2.71e-07/0.4895, allocations: 0 / 0.7645 GB, free: 70.23 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003312/0.4928, allocations: 1.651 MB / 0.7661 GB, free: 69.58 MB / 0.5762 GB Notification: Performance of SimCode: time 0.005155/0.498, allocations: 4.002 MB / 0.77 GB, free: 67.59 MB / 0.5762 GB Notification: Performance of Templates: time 0.03859/0.5366, allocations: 34.59 MB / 0.8038 GB, free: 42.16 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe 2>&1)