Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007216/0.0007215, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004631/0.004631, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.26/1.26, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2828/0.2828, allocations: 38.03 MB / 308.8 MB, free: 10.34 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005397/0.00054, allocations: 15.98 kB / 377.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09641/0.09696, allocations: 57.51 MB / 434.6 MB, free: 5.203 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.2101/0.3071, allocations: 28.3 MB / 462.9 MB, free: 33.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01444/0.3216, allocations: 14.04 MB / 476.9 MB, free: 30.97 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005291/0.3222, allocations: 14.53 kB / 476.9 MB, free: 30.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006728/0.3228, allocations: 207.9 kB / 477.1 MB, free: 30.87 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008491/0.3313, allocations: 2.916 MB / 480 MB, free: 30.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005007/0.3364, allocations: 1.99 MB / 482 MB, free: 29.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001001/0.3374, allocations: 1.137 MB / 483.2 MB, free: 29.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002793/0.3377, allocations: 206.2 kB / 483.4 MB, free: 29.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005516/0.3382, allocations: 400.9 kB / 483.8 MB, free: 29.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002367/0.3385, allocations: 278.1 kB / 484 MB, free: 28.99 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.604e-05/0.3385, allocations: 15 kB / 484.1 MB, free: 28.99 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0114/0.3499, allocations: 7.108 MB / 491.2 MB, free: 27.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001617/0.3501, allocations: 90.8 kB / 491.2 MB, free: 27.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003091/0.3505, allocations: 225.3 kB / 491.5 MB, free: 27.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009708/0.3602, allocations: 4.38 MB / 495.8 MB, free: 25.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3602, allocations: 0 / 495.8 MB, free: 25.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3602, allocations: 4 kB / 495.9 MB, free: 25.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.3602, allocations: 0 / 495.9 MB, free: 25.88 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.004019/0.3643, allocations: 1.172 MB / 497 MB, free: 25.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.3643, allocations: 11.88 kB / 497 MB, free: 25.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001691/0.366, allocations: 220.5 kB / 497.3 MB, free: 25.08 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004632/0.3665, allocations: 363 kB / 497.6 MB, free: 24.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/0.3665, allocations: 25.19 kB / 497.6 MB, free: 24.78 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.608e-05/0.3666, allocations: 26.44 kB / 497.7 MB, free: 24.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/0.3681, allocations: 0.618 MB / 498.3 MB, free: 24.51 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.3682, allocations: 6.844 kB / 498.3 MB, free: 24.51 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.927e-05/0.3682, allocations: 11.59 kB / 498.3 MB, free: 24.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.3682, allocations: 8.906 kB / 498.3 MB, free: 24.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001722/0.3699, allocations: 0.593 MB / 498.9 MB, free: 24.36 MB / 382.1 MB 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.003018/0.373, allocations: 2.648 MB / 0.4898 GB, free: 22.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00167/0.3747, allocations: 0.4979 MB / 0.4903 GB, free: 22 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004898/0.3752, allocations: 216.6 kB / 0.4905 GB, free: 21.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04657/0.4217, allocations: 24.42 MB / 0.5143 GB, free: 20.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.829e-05/0.4218, allocations: 40.91 kB / 0.5144 GB, free: 20.04 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 2.525e-06/0.4219, allocations: 0 / 0.5144 GB, free: 20.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.003388/0.4252, allocations: 0.8857 MB / 0.5152 GB, free: 19.63 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.837e-05/0.4253, allocations: 111.7 kB / 0.5153 GB, free: 19.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003396/0.4257, allocations: 314 kB / 0.5156 GB, free: 19.29 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.785e-05/0.4257, allocations: 32.3 kB / 0.5157 GB, free: 19.25 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.4259, allocations: 201 kB / 0.5159 GB, free: 19.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.988e-05/0.426, allocations: 85.73 kB / 0.5159 GB, free: 19 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-05/0.426, allocations: 31.48 kB / 0.516 GB, free: 18.97 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.4261, allocations: 349.5 kB / 0.5163 GB, free: 18.62 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004316/0.4266, allocations: 175.6 kB / 0.5165 GB, free: 18.55 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004687/0.4271, allocations: 260.5 kB / 0.5167 GB, free: 18.36 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000935/0.428, allocations: 412.9 kB / 0.5171 GB, free: 18.11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.428, allocations: 5.5 kB / 0.5171 GB, free: 18.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001107/0.4291, allocations: 485.8 kB / 0.5176 GB, free: 17.88 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.4292, allocations: 6.875 kB / 0.5176 GB, free: 17.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.4292, allocations: 2.75 kB / 0.5176 GB, free: 17.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.503e-05/0.4292, allocations: 4.125 kB / 0.5176 GB, free: 17.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003559/0.4296, allocations: 101.8 kB / 0.5177 GB, free: 17.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/0.4296, allocations: 8.516 kB / 0.5177 GB, free: 17.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004164/0.43, allocations: 65.72 kB / 0.5178 GB, free: 17.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.054e-05/0.4301, allocations: 19.17 kB / 0.5178 GB, free: 17.8 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 4 (SinkP1.medium.phase,SourceP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002574/0.4303, allocations: 161.3 kB / 0.5179 GB, free: 17.65 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.045e-05/0.4304, allocations: 34.53 kB / 0.518 GB, free: 17.64 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002579/0.433, allocations: 1.965 MB / 0.5199 GB, free: 16.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.558e-05/0.4331, allocations: 31.61 kB / 0.5199 GB, free: 16.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.4331, allocations: 3.125 kB / 0.5199 GB, free: 16.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.4331, allocations: 3.984 kB / 0.5199 GB, free: 16.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.4342, allocations: 1.019 MB / 0.5209 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.4342, allocations: 0 / 0.5209 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003174/0.4345, allocations: 93.88 kB / 0.521 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.4345, allocations: 0 / 0.521 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/0.4346, allocations: 11.39 kB / 0.521 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.4346, allocations: 3.938 kB / 0.521 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4346, allocations: 0 / 0.521 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001558/0.4361, allocations: 1.133 MB / 0.5221 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002782/0.4364, allocations: 229.5 kB / 0.5224 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.903e-05/0.4365, allocations: 7.562 kB / 0.5224 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003505/0.4369, allocations: 51.81 kB / 0.5224 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.437, allocations: 38.28 kB / 0.5224 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.662e-05/0.437, allocations: 20.52 kB / 0.5225 GB, free: 14.79 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000341/0.4374, allocations: 325.1 kB / 0.5228 GB, free: 14.6 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4374, allocations: 0 / 0.5228 GB, free: 14.6 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.006151/0.4435, allocations: 0.9875 MB / 0.5237 GB, free: 14.41 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007608/0.4512, allocations: 1.176 MB / 0.5249 GB, free: 13.23 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001316/0.4525, allocations: 0.6383 MB / 0.5255 GB, free: 12.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.4525, allocations: 4 kB / 0.5255 GB, free: 12.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007987/0.4533, allocations: 0.5412 MB / 0.526 GB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.4547, allocations: 199.9 kB / 0.5262 GB, free: 11.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002238/0.4569, allocations: 1.89 MB / 0.5281 GB, free: 9.926 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005139/0.4575, allocations: 0.9677 MB / 0.529 GB, free: 8.934 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005475/0.458, allocations: 274.8 kB / 0.5293 GB, free: 8.664 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.4581, allocations: 35.44 kB / 0.5293 GB, free: 8.629 MB / 398.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4581, allocations: 0 / 0.5293 GB, free: 8.629 MB / 398.1 MB Notification: Performance of Templates: time 0.05503/0.5132, allocations: 38.86 MB / 0.5673 GB, free: 1.77 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) Environment - environmentSimulation: