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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001529/0.001529, allocations: 169.8 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.163/1.163, allocations: 170.6 MB / 183.8 MB, free: 11.49 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001611/0.001611, allocations: 106.9 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1646/0.1646, allocations: 38 MB / 300.4 MB, free: 5.34 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.951e-05/2.953e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08374/0.08378, allocations: 48.7 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.821/4.905, allocations: 2.477 GB / 2.873 GB, free: 97.2 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002014/4.906, allocations: 81.77 kB / 2.873 GB, free: 97.2 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6676/5.573, allocations: 211.6 MB / 3.08 GB, free: 73.39 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.443e-06/5.573, allocations: 3.938 kB / 3.08 GB, free: 73.39 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.876e-05/5.573, allocations: 12.47 kB / 3.08 GB, free: 73.39 MB / 442.7 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.003683/5.577, allocations: 1.158 MB / 3.081 GB, free: 72.71 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/5.577, allocations: 10.94 kB / 3.081 GB, free: 72.71 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001671/5.579, allocations: 209.9 kB / 3.081 GB, free: 72.68 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00049/5.579, allocations: 395.2 kB / 3.081 GB, free: 72.38 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.87e-05/5.579, allocations: 32.34 kB / 3.081 GB, free: 72.37 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.677e-05/5.579, allocations: 23.69 kB / 3.081 GB, free: 72.36 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/5.58, allocations: 0.5795 MB / 3.082 GB, free: 72.08 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/5.58, allocations: 7.875 kB / 3.082 GB, free: 72.08 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.815e-05/5.58, allocations: 14.22 kB / 3.082 GB, free: 72.07 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/5.58, allocations: 10.62 kB / 3.082 GB, free: 72.07 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009735/5.581, allocations: 491.9 kB / 3.082 GB, free: 71.93 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or 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.001863/5.583, allocations: 2.53 MB / 3.085 GB, free: 69.77 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/5.584, allocations: 416.9 kB / 3.085 GB, free: 69.64 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/5.584, allocations: 125.7 kB / 3.085 GB, free: 69.58 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09244/5.677, allocations: 51.58 MB / 3.136 GB, free: 36.85 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/5.677, allocations: 46.52 kB / 3.136 GB, free: 36.8 MB / 442.7 MB Notification: Performance of pre-optimization done (n=25): time 2.475e-06/5.677, allocations: 7.203 kB / 3.136 GB, free: 36.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=25): time 0.001747/5.679, allocations: 0.6164 MB / 3.136 GB, free: 36.31 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/5.679, allocations: 110.8 kB / 3.137 GB, free: 36.18 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002321/5.679, allocations: 253.6 kB / 3.137 GB, free: 35.95 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/5.679, allocations: 33.7 kB / 3.137 GB, free: 35.91 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.68e-05/5.679, allocations: 215 kB / 3.137 GB, free: 35.71 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.949e-05/5.679, allocations: 84.92 kB / 3.137 GB, free: 35.63 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.56e-05/5.679, allocations: 8 kB / 3.137 GB, free: 35.62 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.875e-05/5.679, allocations: 346.4 kB / 3.137 GB, free: 35.29 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/5.679, allocations: 88.5 kB / 3.138 GB, free: 35.2 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/5.68, allocations: 216.3 kB / 3.138 GB, free: 34.95 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/5.68, allocations: 121.8 kB / 3.138 GB, free: 34.84 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/5.68, allocations: 0 / 3.138 GB, free: 34.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004543/5.68, allocations: 356 kB / 3.138 GB, free: 34.51 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/5.68, allocations: 4 kB / 3.138 GB, free: 34.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/5.68, allocations: 11.89 kB / 3.138 GB, free: 34.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/5.68, allocations: 8 kB / 3.138 GB, free: 34.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003922/5.681, allocations: 109.8 kB / 3.138 GB, free: 34.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-05/5.681, allocations: 7.062 kB / 3.138 GB, free: 34.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003413/5.681, allocations: 67.14 kB / 3.138 GB, free: 34.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.864e-05/5.681, allocations: 27.27 kB / 3.138 GB, free: 34.32 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.medium.phase,SinkP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.644e-05/5.681, allocations: 120.9 kB / 3.139 GB, free: 34.19 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.511e-05/5.681, allocations: 31.62 kB / 3.139 GB, free: 34.16 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001461/5.683, allocations: 1.847 MB / 3.14 GB, free: 32.49 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.488e-05/5.683, allocations: 37.92 kB / 3.14 GB, free: 32.46 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/5.683, allocations: 4 kB / 3.14 GB, free: 32.46 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/5.683, allocations: 0 / 3.14 GB, free: 32.46 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007179/5.684, allocations: 0.9733 MB / 3.141 GB, free: 31.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/5.684, allocations: 4 kB / 3.141 GB, free: 31.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003124/5.684, allocations: 90.98 kB / 3.141 GB, free: 31.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/5.684, allocations: 4 kB / 3.141 GB, free: 31.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/5.684, allocations: 8 kB / 3.141 GB, free: 31.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/5.684, allocations: 0 / 3.141 GB, free: 31.49 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/5.684, allocations: 3.953 kB / 3.141 GB, free: 31.49 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007542/5.685, allocations: 0.9779 MB / 3.142 GB, free: 30.57 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/5.685, allocations: 206.7 kB / 3.143 GB, free: 30.36 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.804e-05/5.685, allocations: 15.94 kB / 3.143 GB, free: 30.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002996/5.685, allocations: 55.23 kB / 3.143 GB, free: 30.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.27e-05/5.685, allocations: 34.48 kB / 3.143 GB, free: 30.28 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/5.685, allocations: 8 kB / 3.143 GB, free: 30.27 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001986/5.686, allocations: 259.8 kB / 3.143 GB, free: 30.04 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/5.686, allocations: 0 / 3.143 GB, free: 30.04 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003686/5.689, allocations: 1.001 MB / 3.144 GB, free: 29.06 MB / 442.7 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,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004569/5.694, allocations: 1.375 MB / 3.145 GB, free: 27.96 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005842/5.694, allocations: 0.5064 MB / 3.146 GB, free: 27.49 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/5.694, allocations: 0 / 3.146 GB, free: 27.49 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003488/5.695, allocations: 471.7 kB / 3.146 GB, free: 27.05 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008913/5.696, allocations: 176 kB / 3.146 GB, free: 26.93 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3531/6.049, allocations: 74.98 MB / 3.22 GB, free: 69.48 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/6.049, allocations: 0.9807 MB / 3.221 GB, free: 68.77 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005268/6.05, allocations: 233.2 kB / 3.221 GB, free: 68.77 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/6.05, allocations: 38.38 kB / 3.221 GB, free: 68.76 MB / 442.7 MB Notification: Performance of SimCode: time 9.02e-07/6.05, allocations: 0 / 3.221 GB, free: 68.76 MB / 442.7 MB Notification: Performance of Templates: time 0.03805/6.088, allocations: 31.81 MB / 3.252 GB, free: 66.94 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile (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)