Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001718/0.001719, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002221/0.002221, allocations: 195 kB / 16.53 MB, free: 6.664 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.489/1.489, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3567/0.3567, allocations: 39.94 MB / 309.7 MB, free: 9.359 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.2. 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.001708/0.001708, allocations: 70.41 kB / 377.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1418, allocations: 56.88 MB / 434.5 MB, free: 3.68 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.2953/0.4372, allocations: 28.13 MB / 462.6 MB, free: 36.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01381/0.4511, allocations: 13.3 MB / 475.9 MB, free: 30.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004278/0.4515, allocations: 10.25 kB / 475.9 MB, free: 30.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007922/0.4524, allocations: 243.8 kB / 476.2 MB, free: 30.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008632/0.461, allocations: 3.659 MB / 479.8 MB, free: 28.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005984/0.467, allocations: 2.379 MB / 482.2 MB, free: 27.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001224/0.4683, allocations: 0.8881 MB / 483.1 MB, free: 27.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005052/0.4688, allocations: 255.4 kB / 483.4 MB, free: 27.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.4699, allocations: 430.7 kB / 483.8 MB, free: 26.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003709/0.4703, allocations: 268.4 kB / 484 MB, free: 26.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.139e-05/0.4704, allocations: 33.72 kB / 484.1 MB, free: 26.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01415/0.4845, allocations: 7.056 MB / 491.1 MB, free: 25.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001715/0.4847, allocations: 104.1 kB / 491.2 MB, free: 24.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003286/0.4851, allocations: 217.5 kB / 491.4 MB, free: 24.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01258/0.4977, allocations: 4.409 MB / 495.8 MB, free: 23.6 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.4977, allocations: 4 kB / 495.9 MB, free: 23.6 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.4977, allocations: 0 / 495.9 MB, free: 23.6 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.178e-06/0.4977, allocations: 0 / 495.9 MB, free: 23.6 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.004702/0.5024, allocations: 1.239 MB / 497.1 MB, free: 22.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.5025, allocations: 18.53 kB / 497.1 MB, free: 22.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001919/0.5044, allocations: 217.5 kB / 497.3 MB, free: 22.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006664/0.5051, allocations: 357.7 kB / 497.7 MB, free: 22.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.462e-05/0.5052, allocations: 27.47 kB / 497.7 MB, free: 22.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.933e-05/0.5052, allocations: 29.48 kB / 497.7 MB, free: 22.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002131/0.5074, allocations: 0.59 MB / 498.3 MB, free: 22.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.5074, allocations: 5.062 kB / 498.3 MB, free: 22.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.175e-05/0.5075, allocations: 12.34 kB / 498.3 MB, free: 22.17 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.5075, allocations: 12 kB / 498.3 MB, free: 22.17 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001759/0.5092, allocations: 0.5459 MB / 498.9 MB, free: 22.04 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.002746/0.512, allocations: 2.63 MB / 0.4898 GB, free: 19.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/0.5137, allocations: 472.1 kB / 0.4902 GB, free: 19.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004972/0.5142, allocations: 202.3 kB / 0.4904 GB, free: 19.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04679/0.561, allocations: 24.21 MB / 0.514 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.5611, allocations: 39.91 kB / 0.5141 GB, free: 1.008 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 3.096e-06/0.5611, allocations: 0 / 0.5141 GB, free: 1.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.003061/0.5642, allocations: 0.8167 MB / 0.5149 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.708e-05/0.5642, allocations: 113.5 kB / 0.515 GB, free: 480 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003802/0.5646, allocations: 302.6 kB / 0.5153 GB, free: 276 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.5647, allocations: 32.45 kB / 0.5153 GB, free: 240 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.5648, allocations: 206.8 kB / 0.5155 GB, free: 44 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.771e-05/0.5649, allocations: 90.17 kB / 0.5156 GB, free: 15.96 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.565, allocations: 69.5 kB / 0.5157 GB, free: 15.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.5652, allocations: 342.8 kB / 0.516 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004336/0.5656, allocations: 148 kB / 0.5161 GB, free: 15.51 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005198/0.5662, allocations: 245 kB / 0.5164 GB, free: 15.32 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000948/0.5671, allocations: 378.6 kB / 0.5167 GB, free: 15.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.5671, allocations: 0 / 0.5167 GB, free: 15.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00113/0.5683, allocations: 443.5 kB / 0.5171 GB, free: 14.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.5683, allocations: 7.281 kB / 0.5172 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.5683, allocations: 10.98 kB / 0.5172 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.5683, allocations: 4.156 kB / 0.5172 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003641/0.5687, allocations: 88.44 kB / 0.5173 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.5687, allocations: 3.688 kB / 0.5173 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003287/0.5691, allocations: 56.44 kB / 0.5173 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.5691, allocations: 16.56 kB / 0.5173 GB, free: 14.77 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.0002042/0.5693, allocations: 164.5 kB / 0.5175 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.987e-05/0.5694, allocations: 35.31 kB / 0.5175 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002548/0.572, allocations: 1.918 MB / 0.5194 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-05/0.572, allocations: 35.39 kB / 0.5194 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.572, allocations: 0 / 0.5194 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.572, allocations: 3.625 kB / 0.5194 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.5731, allocations: 1.016 MB / 0.5204 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.5731, allocations: 1.219 kB / 0.5204 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003346/0.5734, allocations: 77.03 kB / 0.5205 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.5735, allocations: 0 / 0.5205 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.639e-05/0.5735, allocations: 12.86 kB / 0.5205 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/0.5735, allocations: 6.75 kB / 0.5205 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5735, allocations: 0 / 0.5205 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001596/0.5751, allocations: 1.102 MB / 0.5216 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.5753, allocations: 170 kB / 0.5218 GB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.645e-05/0.5753, allocations: 17.25 kB / 0.5218 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002729/0.5756, allocations: 33.78 kB / 0.5218 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.884e-05/0.5757, allocations: 34.95 kB / 0.5218 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.233e-05/0.5758, allocations: 8.469 kB / 0.5218 GB, free: 11.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003491/0.5761, allocations: 329.1 kB / 0.5222 GB, free: 11.62 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5761, allocations: 0 / 0.5222 GB, free: 11.62 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.005788/0.5819, allocations: 0.9906 MB / 0.5231 GB, free: 10.65 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.005174/0.5871, allocations: 1.176 MB / 0.5243 GB, free: 9.469 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001665/0.5888, allocations: 0.6259 MB / 0.5249 GB, free: 8.844 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.5888, allocations: 4.625 kB / 0.5249 GB, free: 8.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007604/0.5896, allocations: 0.5178 MB / 0.5254 GB, free: 8.324 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.5907, allocations: 232.2 kB / 0.5256 GB, free: 8.109 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/0.5929, allocations: 1.531 MB / 0.5271 GB, free: 6.547 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005465/0.5934, allocations: 0.956 MB / 0.528 GB, free: 5.57 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004577/0.5939, allocations: 278.3 kB / 0.5283 GB, free: 5.305 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.646e-05/0.594, allocations: 39.44 kB / 0.5283 GB, free: 5.27 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.594, allocations: 0 / 0.5283 GB, free: 5.27 MB / 398.1 MB Notification: Performance of Templates: time 0.0547/0.6487, allocations: 39.56 MB / 0.567 GB, free: 13.7 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1)