Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.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.TestValveCompressible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009894/0.0009894, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001035/0.001036, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.238/1.238, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.2729/0.2729, allocations: 40 MB / 310.4 MB, free: 10.01 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.0005514/0.0005515, allocations: 12 kB / 378.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09648/0.09704, allocations: 57.96 MB / 436.8 MB, free: 2.582 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible): time 0.1805/0.2775, allocations: 24.22 MB / 461 MB, free: 34.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02123/0.2988, allocations: 14.75 MB / 475.7 MB, free: 31.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000643/0.2995, allocations: 18.25 kB / 475.8 MB, free: 31.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009653/0.3005, allocations: 269.2 kB / 476 MB, free: 31.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009741/0.3103, allocations: 2.948 MB / 479 MB, free: 30.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01098/0.3213, allocations: 3.005 MB / 482 MB, free: 28.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001286/0.3226, allocations: 0.6052 MB / 482.6 MB, free: 28.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004117/0.323, allocations: 245.6 kB / 482.8 MB, free: 28.47 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001026/0.324, allocations: 425.7 kB / 483.2 MB, free: 28.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003762/0.3244, allocations: 238.8 kB / 483.5 MB, free: 28.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.073e-05/0.3245, allocations: 15.59 kB / 483.5 MB, free: 28.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01629/0.3408, allocations: 7.156 MB / 490.6 MB, free: 26.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001879/0.3411, allocations: 88.8 kB / 490.7 MB, free: 26.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000195/0.3413, allocations: 117.1 kB / 490.8 MB, free: 26.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007678/0.349, allocations: 3.066 MB / 493.9 MB, free: 25.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.349, allocations: 4 kB / 493.9 MB, free: 25.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.349, allocations: 0 / 493.9 MB, free: 25.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.349, allocations: 0 / 493.9 MB, free: 25.86 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.005699/0.3547, allocations: 1.241 MB / 495.2 MB, free: 25.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.3548, allocations: 8.906 kB / 495.2 MB, free: 25.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003103/0.3579, allocations: 229.2 kB / 495.4 MB, free: 25.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007187/0.3587, allocations: 396.2 kB / 495.8 MB, free: 24.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.045e-05/0.3587, allocations: 32.36 kB / 495.8 MB, free: 24.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.975e-05/0.3588, allocations: 30.16 kB / 495.8 MB, free: 24.69 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002438/0.3612, allocations: 0.6445 MB / 496.5 MB, free: 24.4 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.3613, allocations: 0.9375 kB / 496.5 MB, free: 24.4 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.796e-05/0.3614, allocations: 13.19 kB / 496.5 MB, free: 24.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.3614, allocations: 7.719 kB / 496.5 MB, free: 24.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002561/0.364, allocations: 0.596 MB / 497.1 MB, free: 24.24 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.00401/0.368, allocations: 2.758 MB / 499.9 MB, free: 21.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00291/0.3709, allocations: 0.5812 MB / 0.4887 GB, free: 21.81 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06527/0.4362, allocations: 24.43 MB / 0.5126 GB, free: 19.9 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.4363, allocations: 41.19 kB / 0.5126 GB, free: 19.85 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 2.214e-06/0.4363, allocations: 0 / 0.5126 GB, free: 19.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.00265/0.4389, allocations: 0.8488 MB / 0.5134 GB, free: 19.45 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.439, allocations: 109.5 kB / 0.5135 GB, free: 19.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004532/0.4395, allocations: 394.4 kB / 0.5139 GB, free: 19.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.891e-05/0.4395, allocations: 31.08 kB / 0.5139 GB, free: 19.03 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.4397, allocations: 229.9 kB / 0.5142 GB, free: 18.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.191e-05/0.4398, allocations: 91.69 kB / 0.5143 GB, free: 18.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.139e-05/0.4398, allocations: 9.25 kB / 0.5143 GB, free: 18.74 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.4399, allocations: 347.7 kB / 0.5146 GB, free: 18.4 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003924/0.4403, allocations: 164.1 kB / 0.5147 GB, free: 18.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004214/0.4407, allocations: 290.1 kB / 0.515 GB, free: 18.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004054/0.4412, allocations: 193.2 kB / 0.5152 GB, free: 17.99 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.4412, allocations: 5.062 kB / 0.5152 GB, free: 17.99 MB / 398.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009972/0.4422, allocations: 0.4942 MB / 0.5157 GB, free: 17.74 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000431/0.4426, allocations: 1.404 MB / 0.5171 GB, free: 16.24 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.4426, allocations: 4.125 kB / 0.5171 GB, free: 16.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.4427, allocations: 5.5 kB / 0.5171 GB, free: 16.24 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003757/0.443, allocations: 104.9 kB / 0.5172 GB, free: 16.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.4431, allocations: 5.5 kB / 0.5172 GB, free: 16.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004201/0.4435, allocations: 79.25 kB / 0.5173 GB, free: 16.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.905e-05/0.4435, allocations: 26.36 kB / 0.5173 GB, free: 16.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.907e-06/0.4435, allocations: 7.125 kB / 0.5173 GB, free: 16.16 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008778/0.4444, allocations: 439.1 kB / 0.5177 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.4444, allocations: 3.438 kB / 0.5177 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.564e-06/0.4445, allocations: 11.84 kB / 0.5177 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003336/0.4448, allocations: 108.3 kB / 0.5178 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.4448, allocations: 10.58 kB / 0.5178 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003514/0.4452, allocations: 69.47 kB / 0.5179 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.9e-05/0.4452, allocations: 17.34 kB / 0.5179 GB, free: 15.88 MB / 398.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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 0.0002293/0.4454, allocations: 254.3 kB / 0.5182 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.595e-05/0.4455, allocations: 45.88 kB / 0.5182 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001937/0.4475, allocations: 1.975 MB / 0.5201 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.135e-05/0.4475, allocations: 29.17 kB / 0.5202 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4475, allocations: 0 / 0.5202 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.4475, allocations: 3.984 kB / 0.5202 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008819/0.4484, allocations: 1.08 MB / 0.5212 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.4484, allocations: 0 / 0.5212 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003045/0.4487, allocations: 85.44 kB / 0.5213 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.4488, allocations: 2.375 kB / 0.5213 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/0.4488, allocations: 9.828 kB / 0.5213 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.4488, allocations: 2.062 kB / 0.5213 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4488, allocations: 4 kB / 0.5213 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/0.45, allocations: 1.133 MB / 0.5224 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002538/0.4502, allocations: 272.7 kB / 0.5227 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.751e-05/0.4503, allocations: 7.562 kB / 0.5227 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003185/0.4506, allocations: 41.73 kB / 0.5227 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.922e-05/0.4507, allocations: 32.17 kB / 0.5228 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.4508, allocations: 17.42 kB / 0.5228 GB, free: 12.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003654/0.4511, allocations: 382.2 kB / 0.5231 GB, free: 12.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4511, allocations: 0 / 0.5231 GB, free: 12.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004029/0.4552, allocations: 1.137 MB / 0.5243 GB, free: 11.34 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,$cse14.phase,$cse14.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 (40): * Single equations (assignments): 31 * 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.006478/0.4617, allocations: 1.215 MB / 0.5254 GB, free: 10.12 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001732/0.4634, allocations: 0.8937 MB / 0.5263 GB, free: 9.23 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.4634, allocations: 0 / 0.5263 GB, free: 9.23 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007465/0.4642, allocations: 0.5255 MB / 0.5268 GB, free: 8.703 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001435/0.4656, allocations: 226 kB / 0.527 GB, free: 8.48 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002482/0.4681, allocations: 2.016 MB / 0.529 GB, free: 6.434 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000476/0.4686, allocations: 1.007 MB / 0.53 GB, free: 5.402 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008811/0.4695, allocations: 0.6081 MB / 0.5306 GB, free: 4.793 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.4697, allocations: 51.42 kB / 0.5306 GB, free: 4.742 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4697, allocations: 3.938 kB / 0.5306 GB, free: 4.738 MB / 398.1 MB Notification: Performance of Templates: time 0.05429/0.524, allocations: 40.7 MB / 0.5704 GB, free: 12.03 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe 2>&1) Environment - environmentSimulation: