Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.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.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1") translateModel(IDEAS.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 105.5 kB / 16.37 MB, free: 6.457 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.001904/0.001904, allocations: 195.8 kB / 17.31 MB, free: 5.812 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.27/1.27, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7881/0.7881, allocations: 135.1 MB / 426.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 59.91 kB / 0.5068 GB, free: 7.656 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3283, allocations: 80.91 MB / 0.5858 GB, free: 25.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example1v1): time 0.05882/0.3871, allocations: 72.29 MB / 0.6564 GB, free: 2.223 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02259/0.4098, allocations: 17 MB / 0.673 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002732/0.4125, allocations: 91.44 kB / 0.673 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002772/0.4153, allocations: 1.003 MB / 0.674 GB, free: 84 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005867/0.4213, allocations: 2.366 MB / 0.6763 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004556/0.4258, allocations: 2.062 MB / 0.6783 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008344/0.4342, allocations: 8.038 MB / 0.6862 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007009/0.4412, allocations: 6.128 MB / 0.6922 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006376/0.4476, allocations: 3.279 MB / 0.6954 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003929/0.4516, allocations: 2.497 MB / 0.6978 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0008471/0.4524, allocations: 252 kB / 0.6981 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003428/0.4559, allocations: 1.373 MB / 0.6994 GB, free: 5.992 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008936/0.4568, allocations: 0.7665 MB / 0.7002 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002255/0.459, allocations: 1.764 MB / 0.7019 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005059/0.4641, allocations: 4.747 MB / 0.7065 GB, free: 14.69 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4641, allocations: 0 / 0.7065 GB, free: 14.69 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4641, allocations: 0 / 0.7065 GB, free: 14.69 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.693e-05/0.4642, allocations: 0 / 0.7065 GB, free: 14.69 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.006467/0.4707, allocations: 3.942 MB / 0.7104 GB, free: 10.66 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.4707, allocations: 13.05 kB / 0.7104 GB, free: 10.65 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002069/0.4728, allocations: 0.5461 MB / 0.7109 GB, free: 10.1 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005025/0.4778, allocations: 2.742 MB / 0.7136 GB, free: 7.293 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.4779, allocations: 135.1 kB / 0.7137 GB, free: 7.16 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002715/0.4782, allocations: 184 kB / 0.7139 GB, free: 6.98 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003507/0.4817, allocations: 2.341 MB / 0.7162 GB, free: 4.484 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.594e-05/0.4818, allocations: 7.938 kB / 0.7162 GB, free: 4.477 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001595/0.4819, allocations: 68 kB / 0.7162 GB, free: 4.41 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.927e-05/0.482, allocations: 40 kB / 0.7163 GB, free: 4.371 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003282/0.4853, allocations: 1.865 MB / 0.7181 GB, free: 2.5 MB / 0.545 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.01276/0.498, allocations: 11.09 MB / 0.7289 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002549/0.5006, allocations: 1.328 MB / 0.7302 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001511/0.5021, allocations: 1.009 MB / 0.7312 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005785/0.5079, allocations: 3.635 MB / 0.7348 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001365/0.5093, allocations: 0.7779 MB / 0.7355 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009163/0.5103, allocations: 222.9 kB / 0.7357 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=95): time 2.776e-06/0.5103, allocations: 4 kB / 0.7357 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95): time 0.01136/0.5216, allocations: 4.164 MB / 0.7398 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.5217, allocations: 72.34 kB / 0.7399 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004055/0.5258, allocations: 2.876 MB / 0.7427 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001349/0.5259, allocations: 53.7 kB / 0.7427 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001303/0.5272, allocations: 1.426 MB / 0.7441 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002986/0.5276, allocations: 335.3 kB / 0.7444 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005466/0.5281, allocations: 351.6 kB / 0.7448 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.018e-05/0.5282, allocations: 309.1 kB / 0.7451 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001284/0.5295, allocations: 0.6809 MB / 0.7457 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001773/0.5313, allocations: 1.433 MB / 0.7471 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002945/0.5342, allocations: 1.915 MB / 0.749 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.065e-05/0.5342, allocations: 8 kB / 0.749 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.2476/0.7818, allocations: 2.832 MB / 0.7518 GB, free: 154.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.096e-05/0.7819, allocations: 38.55 kB / 0.7518 GB, free: 154.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.114e-05/0.7819, allocations: 16.25 kB / 0.7518 GB, free: 154.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002397/0.7843, allocations: 0.6861 MB / 0.7525 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/0.7857, allocations: 293.4 kB / 0.7528 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001861/0.7876, allocations: 1.904 MB / 0.7546 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001949/0.7895, allocations: 100.2 kB / 0.7547 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002783/0.7898, allocations: 89.12 kB / 0.7548 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002376/0.7922, allocations: 1.277 MB / 0.7561 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001703/0.7939, allocations: 1.391 MB / 0.7574 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002809/0.7967, allocations: 1.816 MB / 0.7592 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.662e-05/0.7968, allocations: 8.172 kB / 0.7592 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.004945/0.8017, allocations: 2.687 MB / 0.7618 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.307e-05/0.8018, allocations: 39.64 kB / 0.7619 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.137e-05/0.8018, allocations: 19.72 kB / 0.7619 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008173/0.8026, allocations: 485 kB / 0.7624 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/0.8037, allocations: 282 kB / 0.7626 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005911/0.8096, allocations: 6.322 MB / 0.7688 GB, free: 144.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002293/0.812, allocations: 118.1 kB / 0.7689 GB, free: 144.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002066/0.8122, allocations: 80.66 kB / 0.769 GB, free: 144.7 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 131 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,40), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0006077/0.8128, allocations: 282.6 kB / 0.7693 GB, free: 144.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006608/0.8135, allocations: 296.8 kB / 0.7695 GB, free: 144.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004369/0.8178, allocations: 2.427 MB / 0.7719 GB, free: 143.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.476e-05/0.8179, allocations: 18.53 kB / 0.7719 GB, free: 143.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.726e-06/0.8179, allocations: 0 / 0.7719 GB, free: 143.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002778/0.8207, allocations: 2.063 MB / 0.7739 GB, free: 141.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006505/0.8272, allocations: 4.375 MB / 0.7782 GB, free: 137.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.8272, allocations: 0 / 0.7782 GB, free: 137.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000759/0.828, allocations: 175 kB / 0.7784 GB, free: 137.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000883/0.8289, allocations: 470.4 kB / 0.7788 GB, free: 137 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.957e-05/0.829, allocations: 39.92 kB / 0.7789 GB, free: 137 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001186/0.8301, allocations: 1.845 MB / 0.7807 GB, free: 135.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.8302, allocations: 3.938 kB / 0.7807 GB, free: 135.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004416/0.8346, allocations: 3.119 MB / 0.7837 GB, free: 131.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009775/0.8356, allocations: 483.9 kB / 0.7842 GB, free: 131.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004842/0.8361, allocations: 27.81 kB / 0.7842 GB, free: 131.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/0.8373, allocations: 63.84 kB / 0.7843 GB, free: 131.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/0.8375, allocations: 80.77 kB / 0.7843 GB, free: 131.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.993e-05/0.8376, allocations: 47.97 kB / 0.7844 GB, free: 131.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002406/0.84, allocations: 1.966 MB / 0.7863 GB, free: 129.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.84, allocations: 0 / 0.7863 GB, free: 129.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003349/0.8434, allocations: 1.356 MB / 0.7876 GB, free: 128 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,5), (1,40)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001006/0.8444, allocations: 460.7 kB / 0.7881 GB, free: 127.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004928/0.8493, allocations: 3.189 MB / 0.7912 GB, free: 124.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.8493, allocations: 0 / 0.7912 GB, free: 124.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001281/0.8506, allocations: 0.7916 MB / 0.792 GB, free: 123.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00442/0.8551, allocations: 1.261 MB / 0.7932 GB, free: 122.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007091/0.8622, allocations: 5.133 MB / 0.7982 GB, free: 117.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001413/0.8636, allocations: 2.064 MB / 0.8002 GB, free: 115.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002069/0.8657, allocations: 0.6795 MB / 0.8009 GB, free: 114.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004718/0.8662, allocations: 207.4 kB / 0.8011 GB, free: 114.4 MB / 0.5762 GB Notification: Performance of SimCode: time 6.31e-07/0.8662, allocations: 3.938 kB / 0.8011 GB, free: 114.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.07019/0.9364, allocations: 54.52 MB / 0.8543 GB, free: 60.55 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.pipe 2>&1)