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.001005/0.001005, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001243/0.001244, allocations: 190.9 kB / 16.14 MB, free: 6.703 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.379/1.379, allocations: 205.1 MB / 222 MB, free: 4.777 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.3446/0.3446, allocations: 37.98 MB / 307.3 MB, free: 10.03 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.001406/0.001406, allocations: 60.53 kB / 374.5 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1211, allocations: 56.47 MB / 431 MB, free: 7.066 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.2156/0.3368, allocations: 28.99 MB / 460 MB, free: 35.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01347/0.3503, allocations: 14.27 MB / 474.3 MB, free: 31.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004184/0.3508, allocations: 18.38 kB / 474.3 MB, free: 31.78 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007121/0.3515, allocations: 220.3 kB / 474.5 MB, free: 31.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00842/0.36, allocations: 2.917 MB / 477.4 MB, free: 30.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006462/0.3664, allocations: 1.985 MB / 479.4 MB, free: 29.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001311/0.3678, allocations: 1.136 MB / 480.6 MB, free: 29.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003179/0.3681, allocations: 216.7 kB / 480.8 MB, free: 29.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006584/0.3688, allocations: 389.6 kB / 481.1 MB, free: 29.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002615/0.369, allocations: 274 kB / 481.4 MB, free: 28.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.615e-05/0.3691, allocations: 22.34 kB / 481.4 MB, free: 28.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0135/0.3826, allocations: 7.114 MB / 488.6 MB, free: 27.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001928/0.3828, allocations: 85 kB / 488.6 MB, free: 27.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003527/0.3832, allocations: 205.1 kB / 488.8 MB, free: 26.99 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01059/0.3938, allocations: 4.411 MB / 493.2 MB, free: 25.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3938, allocations: 0 / 493.2 MB, free: 25.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.3938, allocations: 0 / 493.2 MB, free: 25.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.3938, allocations: 0 / 493.2 MB, free: 25.74 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.004423/0.3983, allocations: 1.241 MB / 494.5 MB, free: 24.94 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.3983, allocations: 9.578 kB / 494.5 MB, free: 24.94 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001766/0.4001, allocations: 213.1 kB / 494.7 MB, free: 24.9 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004391/0.4005, allocations: 366.4 kB / 495.1 MB, free: 24.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.064e-05/0.4006, allocations: 31.53 kB / 495.1 MB, free: 24.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.597e-05/0.4006, allocations: 26.12 kB / 495.1 MB, free: 24.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001688/0.4023, allocations: 0.5937 MB / 495.7 MB, free: 24.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.4024, allocations: 1.281 kB / 495.7 MB, free: 24.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.076e-05/0.4024, allocations: 12.41 kB / 495.7 MB, free: 24.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.4024, allocations: 7.281 kB / 495.7 MB, free: 24.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001828/0.4043, allocations: 0.549 MB / 496.3 MB, free: 24.18 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.002998/0.4073, allocations: 2.632 MB / 498.9 MB, free: 21.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001692/0.409, allocations: 473.1 kB / 499.4 MB, free: 21.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005309/0.4095, allocations: 199.5 kB / 499.6 MB, free: 21.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04699/0.4565, allocations: 24.21 MB / 0.5115 GB, free: 20.11 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/0.4566, allocations: 41.48 kB / 0.5115 GB, free: 20.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 2.335e-06/0.4566, allocations: 0 / 0.5115 GB, free: 20.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.003014/0.4596, allocations: 0.8158 MB / 0.5123 GB, free: 19.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/0.4597, allocations: 110 kB / 0.5124 GB, free: 19.53 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003173/0.46, allocations: 316.4 kB / 0.5127 GB, free: 19.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.4601, allocations: 29.7 kB / 0.5128 GB, free: 19.29 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.4602, allocations: 204.5 kB / 0.513 GB, free: 19.1 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.721e-05/0.4603, allocations: 89.58 kB / 0.5131 GB, free: 19.02 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.825e-05/0.4604, allocations: 67.88 kB / 0.5131 GB, free: 18.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.4605, allocations: 343.4 kB / 0.5134 GB, free: 18.64 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003959/0.4609, allocations: 152.1 kB / 0.5136 GB, free: 18.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004228/0.4613, allocations: 238.5 kB / 0.5138 GB, free: 18.39 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007931/0.4621, allocations: 378.3 kB / 0.5142 GB, free: 18.14 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.4622, allocations: 1.312 kB / 0.5142 GB, free: 18.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001001/0.4632, allocations: 440.7 kB / 0.5146 GB, free: 17.92 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.4632, allocations: 5.469 kB / 0.5146 GB, free: 17.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.4632, allocations: 2.969 kB / 0.5146 GB, free: 17.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.4632, allocations: 12.86 kB / 0.5146 GB, free: 17.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003732/0.4636, allocations: 93.25 kB / 0.5147 GB, free: 17.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.4636, allocations: 7.781 kB / 0.5147 GB, free: 17.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003492/0.464, allocations: 60.92 kB / 0.5148 GB, free: 17.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.472e-05/0.464, allocations: 16.06 kB / 0.5148 GB, free: 17.84 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.0001904/0.4642, allocations: 165.6 kB / 0.5149 GB, free: 17.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.557e-05/0.4643, allocations: 32.75 kB / 0.515 GB, free: 17.67 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002334/0.4667, allocations: 1.918 MB / 0.5169 GB, free: 16.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-05/0.4667, allocations: 31.36 kB / 0.5169 GB, free: 16.54 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.4667, allocations: 1.094 kB / 0.5169 GB, free: 16.54 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.4667, allocations: 3.984 kB / 0.5169 GB, free: 16.54 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.4678, allocations: 1.011 MB / 0.5179 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.4678, allocations: 3.625 kB / 0.5179 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003385/0.4681, allocations: 84.67 kB / 0.518 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.4681, allocations: 2.844 kB / 0.518 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/0.4682, allocations: 7.688 kB / 0.518 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.4682, allocations: 3.938 kB / 0.518 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4682, allocations: 0 / 0.518 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001381/0.4696, allocations: 1.099 MB / 0.519 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/0.4697, allocations: 163.8 kB / 0.5192 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.84e-05/0.4698, allocations: 25.69 kB / 0.5192 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003122/0.4701, allocations: 46.61 kB / 0.5193 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.316e-05/0.4702, allocations: 35.47 kB / 0.5193 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/0.4702, allocations: 12.33 kB / 0.5193 GB, free: 14.89 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003254/0.4706, allocations: 329.5 kB / 0.5196 GB, free: 14.7 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4706, allocations: 3.938 kB / 0.5196 GB, free: 14.69 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004222/0.4748, allocations: 0.9882 MB / 0.5206 GB, free: 14.52 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.007089/0.4819, allocations: 1.178 MB / 0.5217 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001395/0.4833, allocations: 0.6147 MB / 0.5223 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.4833, allocations: 4 kB / 0.5224 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007653/0.4841, allocations: 0.5139 MB / 0.5229 GB, free: 12.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/0.4854, allocations: 209.6 kB / 0.5231 GB, free: 12.3 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002262/0.4877, allocations: 1.855 MB / 0.5249 GB, free: 10.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006953/0.4884, allocations: 0.956 MB / 0.5258 GB, free: 9.426 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004696/0.4889, allocations: 274.5 kB / 0.5261 GB, free: 9.164 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.489, allocations: 43.42 kB / 0.5261 GB, free: 9.121 MB / 398.1 MB Notification: Performance of SimCode: time 6.61e-07/0.489, allocations: 0 / 0.5261 GB, free: 9.121 MB / 398.1 MB Notification: Performance of Templates: time 0.05495/0.5439, allocations: 38.93 MB / 0.5641 GB, free: 2.191 MB / 430.1 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)