Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Examples.Performance.Example1v1") translateModel(IDEAS.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.002126/0.002126, allocations: 101.9 kB / 16.35 MB, free: 5.879 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.001783/0.001783, allocations: 199.1 kB / 17.3 MB, free: 5.52 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.338/1.338, 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/package.mo): time 0.7785/0.7785, allocations: 132.2 MB / 423.3 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002367/0.002367, allocations: 63.84 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3314, allocations: 80.19 MB / 0.5815 GB, free: 27.47 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example1v1): time 0.06033/0.3918, allocations: 72.29 MB / 0.6521 GB, free: 5.73 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02405/0.4159, allocations: 16.99 MB / 0.6687 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003291/0.4192, allocations: 87.5 kB / 0.6688 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003028/0.4223, allocations: 1.015 MB / 0.6697 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00668/0.429, allocations: 2.359 MB / 0.6721 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004959/0.434, allocations: 2.065 MB / 0.6741 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008892/0.4429, allocations: 8.04 MB / 0.6819 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007393/0.4503, allocations: 6.124 MB / 0.6879 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006807/0.4572, allocations: 3.284 MB / 0.6911 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004154/0.4614, allocations: 2.497 MB / 0.6935 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0005219/0.4619, allocations: 256 kB / 0.6938 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003036/0.4649, allocations: 1.381 MB / 0.6951 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0007171/0.4657, allocations: 0.751 MB / 0.6959 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00201/0.4677, allocations: 1.772 MB / 0.6976 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005174/0.4729, allocations: 4.739 MB / 0.7022 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4729, allocations: 4 kB / 0.7022 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.033e-06/0.4729, allocations: 0 / 0.7022 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.697e-05/0.473, allocations: 0 / 0.7022 GB, free: 2.199 MB / 0.5294 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.006551/0.4795, allocations: 3.942 MB / 0.7061 GB, free: 14.18 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.4796, allocations: 12.03 kB / 0.7061 GB, free: 14.16 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002089/0.4817, allocations: 0.5461 MB / 0.7066 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005115/0.4868, allocations: 2.748 MB / 0.7093 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.86e-05/0.4869, allocations: 139.1 kB / 0.7094 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002683/0.4872, allocations: 180 kB / 0.7096 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003534/0.4907, allocations: 2.338 MB / 0.7119 GB, free: 7.996 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.554e-05/0.4908, allocations: 3.938 kB / 0.7119 GB, free: 7.992 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001562/0.4909, allocations: 68 kB / 0.712 GB, free: 7.926 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.23e-05/0.491, allocations: 40 kB / 0.712 GB, free: 7.887 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00332/0.4943, allocations: 1.868 MB / 0.7138 GB, free: 6.012 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.01326/0.5076, allocations: 11.07 MB / 0.7246 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002592/0.5102, allocations: 1.335 MB / 0.726 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001512/0.5117, allocations: 1.001 MB / 0.7269 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00594/0.5177, allocations: 3.639 MB / 0.7305 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001387/0.5191, allocations: 0.7741 MB / 0.7312 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001019/0.5201, allocations: 222.9 kB / 0.7315 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=95): time 3.607e-06/0.5201, allocations: 0 / 0.7315 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of matching and sorting (n=95): time 0.01136/0.5315, allocations: 4.156 MB / 0.7355 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/0.5315, allocations: 72.34 kB / 0.7356 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003707/0.5353, allocations: 2.884 MB / 0.7384 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001745/0.5354, allocations: 57.7 kB / 0.7384 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001194/0.5367, allocations: 1.422 MB / 0.7398 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000293/0.537, allocations: 331.3 kB / 0.7402 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004881/0.5374, allocations: 351.6 kB / 0.7405 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.885e-05/0.5375, allocations: 309.1 kB / 0.7408 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001266/0.5388, allocations: 0.6809 MB / 0.7414 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001761/0.5406, allocations: 1.433 MB / 0.7428 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002878/0.5435, allocations: 1.915 MB / 0.7447 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/0.5435, allocations: 4 kB / 0.7447 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.005994/0.5495, allocations: 2.839 MB / 0.7475 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.703e-05/0.5496, allocations: 41.7 kB / 0.7475 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.926e-05/0.5496, allocations: 12 kB / 0.7475 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002477/0.5521, allocations: 0.6929 MB / 0.7482 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/0.5533, allocations: 301.3 kB / 0.7485 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2626/0.8159, allocations: 1.89 MB / 0.7504 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002066/0.818, allocations: 102.2 kB / 0.7505 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001862/0.8182, allocations: 89.11 kB / 0.7505 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002121/0.8203, allocations: 1.281 MB / 0.7518 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001524/0.8218, allocations: 1.384 MB / 0.7531 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002555/0.8244, allocations: 1.825 MB / 0.7549 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.143e-05/0.8244, allocations: 4.344 kB / 0.7549 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.004913/0.8294, allocations: 2.684 MB / 0.7575 GB, free: 152.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/0.8294, allocations: 46.23 kB / 0.7576 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.372e-05/0.8294, allocations: 12.34 kB / 0.7576 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/0.8304, allocations: 479 kB / 0.7581 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/0.8315, allocations: 290.6 kB / 0.7583 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005637/0.8372, allocations: 6.324 MB / 0.7645 GB, free: 147.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002005/0.8392, allocations: 118 kB / 0.7646 GB, free: 147.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000164/0.8394, allocations: 78.53 kB / 0.7647 GB, free: 147.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.000507/0.8399, allocations: 282.1 kB / 0.765 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004414/0.8403, allocations: 292.4 kB / 0.7652 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004711/0.8451, allocations: 2.436 MB / 0.7676 GB, free: 146.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.625e-05/0.8451, allocations: 15.91 kB / 0.7676 GB, free: 146.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.8451, allocations: 0 / 0.7676 GB, free: 146.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002831/0.8479, allocations: 2.055 MB / 0.7697 GB, free: 145.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005868/0.8538, allocations: 4.383 MB / 0.7739 GB, free: 142.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.8538, allocations: 5.406 kB / 0.7739 GB, free: 142.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007747/0.8546, allocations: 160.1 kB / 0.7741 GB, free: 142.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009153/0.8555, allocations: 474.4 kB / 0.7745 GB, free: 142.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.336e-05/0.8556, allocations: 35.5 kB / 0.7746 GB, free: 142.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001189/0.8568, allocations: 1.853 MB / 0.7764 GB, free: 140.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.8568, allocations: 3.812 kB / 0.7764 GB, free: 140.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004294/0.8611, allocations: 3.121 MB / 0.7794 GB, free: 138.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007979/0.862, allocations: 480.1 kB / 0.7799 GB, free: 137.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002808/0.8622, allocations: 23.98 kB / 0.7799 GB, free: 137.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/0.8633, allocations: 77.64 kB / 0.78 GB, free: 137.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.8634, allocations: 80.77 kB / 0.7801 GB, free: 137.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.657e-05/0.8635, allocations: 43.97 kB / 0.7801 GB, free: 137.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002028/0.8655, allocations: 1.974 MB / 0.782 GB, free: 135.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.81e-07/0.8655, allocations: 0 / 0.782 GB, free: 135.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002753/0.8683, allocations: 1.339 MB / 0.7833 GB, free: 134.4 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.0008281/0.8691, allocations: 473.1 kB / 0.7838 GB, free: 134.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004611/0.8738, allocations: 3.173 MB / 0.7869 GB, free: 130.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.8738, allocations: 3.391 kB / 0.7869 GB, free: 130.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001228/0.875, allocations: 0.7901 MB / 0.7877 GB, free: 130.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003996/0.879, allocations: 1.266 MB / 0.7889 GB, free: 128.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006142/0.8852, allocations: 5.137 MB / 0.7939 GB, free: 123.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009991/0.8862, allocations: 2.06 MB / 0.7959 GB, free: 121.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001849/0.8881, allocations: 0.6759 MB / 0.7966 GB, free: 121.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004116/0.8885, allocations: 211.3 kB / 0.7968 GB, free: 120.9 MB / 0.5762 GB Notification: Performance of SimCode: time 5.01e-07/0.8885, allocations: 0 / 0.7968 GB, free: 120.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.06974/0.9582, allocations: 54.53 MB / 0.85 GB, free: 67.07 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe 2>&1)