Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.TestValveCompressible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001328/0.001328, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002088/0.002087, allocations: 194.6 kB / 16.14 MB, free: 6.66 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.424/1.424, allocations: 205.1 MB / 222 MB, free: 4.742 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.2879/0.2879, allocations: 37.98 MB / 307.3 MB, free: 10.05 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.001916/0.001916, allocations: 68.14 kB / 374.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1147, allocations: 56.47 MB / 431 MB, free: 7.07 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible): time 0.2024/0.3171, allocations: 29.5 MB / 460.5 MB, free: 35.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01727/0.3344, allocations: 18.32 MB / 478.8 MB, free: 29.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007331/0.3353, allocations: 16.78 kB / 478.8 MB, free: 29.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006628/0.3359, allocations: 229.9 kB / 479.1 MB, free: 29.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008627/0.3446, allocations: 3.038 MB / 482.1 MB, free: 27.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005281/0.3499, allocations: 2.119 MB / 484.2 MB, free: 26.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009659/0.3508, allocations: 1.232 MB / 485.5 MB, free: 26.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000293/0.3511, allocations: 246.5 kB / 485.7 MB, free: 26.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005719/0.3517, allocations: 433 kB / 486.1 MB, free: 26.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002641/0.352, allocations: 305.4 kB / 486.4 MB, free: 25.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.144e-05/0.3521, allocations: 19.25 kB / 486.4 MB, free: 25.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01052/0.3626, allocations: 7.283 MB / 493.7 MB, free: 24.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001699/0.3628, allocations: 97.64 kB / 493.8 MB, free: 23.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000301/0.3631, allocations: 237.4 kB / 494.1 MB, free: 23.87 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01041/0.3735, allocations: 4.587 MB / 498.6 MB, free: 22.56 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3736, allocations: 0 / 498.6 MB, free: 22.56 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3736, allocations: 0 / 498.6 MB, free: 22.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.3736, allocations: 0 / 498.6 MB, free: 22.56 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.004417/0.378, allocations: 1.323 MB / 500 MB, free: 21.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.3781, allocations: 9.562 kB / 500 MB, free: 21.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00181/0.3799, allocations: 230.5 kB / 0.4885 GB, free: 21.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004491/0.3803, allocations: 393.8 kB / 0.4888 GB, free: 21.35 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.435e-05/0.3804, allocations: 36.53 kB / 0.4889 GB, free: 21.33 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.952e-05/0.3804, allocations: 29.47 kB / 0.4889 GB, free: 21.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001554/0.382, allocations: 0.6206 MB / 0.4895 GB, free: 21.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.382, allocations: 1.094 kB / 0.4895 GB, free: 21.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.36e-05/0.3821, allocations: 20.52 kB / 0.4895 GB, free: 21.03 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.3821, allocations: 8.641 kB / 0.4895 GB, free: 21.03 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00152/0.3836, allocations: 0.5616 MB / 0.4901 GB, free: 20.89 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.002725/0.3863, allocations: 2.75 MB / 0.4928 GB, free: 18.6 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001799/0.3882, allocations: 0.546 MB / 0.4933 GB, free: 18.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003649/0.3885, allocations: 193.4 kB / 0.4935 GB, free: 18.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04586/0.4344, allocations: 24.22 MB / 0.5171 GB, free: 16.05 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.4345, allocations: 32.03 kB / 0.5172 GB, free: 16.01 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.783e-06/0.4345, allocations: 1.25 kB / 0.5172 GB, free: 16.01 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.002714/0.4372, allocations: 0.8084 MB / 0.518 GB, free: 15.6 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.258e-05/0.4373, allocations: 109.6 kB / 0.5181 GB, free: 15.47 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004222/0.4377, allocations: 392.4 kB / 0.5184 GB, free: 15.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.896e-05/0.4378, allocations: 32.2 kB / 0.5185 GB, free: 15.2 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/0.438, allocations: 226.3 kB / 0.5187 GB, free: 14.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.772e-05/0.438, allocations: 98.11 kB / 0.5188 GB, free: 14.9 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.4382, allocations: 87.8 kB / 0.5189 GB, free: 14.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.4383, allocations: 353 kB / 0.5192 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003896/0.4387, allocations: 167 kB / 0.5194 GB, free: 14.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004798/0.4392, allocations: 281.1 kB / 0.5196 GB, free: 14.17 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008054/0.44, allocations: 425 kB / 0.52 GB, free: 13.87 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.44, allocations: 0 / 0.52 GB, free: 13.87 MB / 398.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001052/0.4411, allocations: 497.7 kB / 0.5205 GB, free: 13.62 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.4411, allocations: 5.562 kB / 0.5205 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.4411, allocations: 2.531 kB / 0.5205 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.4412, allocations: 7.469 kB / 0.5205 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003982/0.4416, allocations: 103.9 kB / 0.5206 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.4416, allocations: 5.062 kB / 0.5206 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004372/0.442, allocations: 71.34 kB / 0.5207 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.926e-05/0.4421, allocations: 20.98 kB / 0.5207 GB, free: 13.54 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004861/0.4426, allocations: 271.2 kB / 0.521 GB, free: 13.36 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004431/0.443, allocations: 275.3 kB / 0.5212 GB, free: 13.12 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007484/0.4438, allocations: 410.2 kB / 0.5216 GB, free: 12.83 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.735e-06/0.4438, allocations: 1.906 kB / 0.5216 GB, free: 12.83 MB / 398.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0009942/0.4448, allocations: 486.1 kB / 0.5221 GB, free: 12.58 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.4448, allocations: 8.031 kB / 0.5221 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.4448, allocations: 6.969 kB / 0.5221 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.731e-06/0.4448, allocations: 5.875 kB / 0.5221 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000355/0.4452, allocations: 93.62 kB / 0.5222 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.4452, allocations: 12.53 kB / 0.5222 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003836/0.4456, allocations: 62.39 kB / 0.5223 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.153e-05/0.4457, allocations: 19.97 kB / 0.5223 GB, free: 12.51 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 (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 (44): * Single equations (assignments): 44 * 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.0001874/0.4458, allocations: 211.2 kB / 0.5225 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.336e-05/0.4459, allocations: 39.59 kB / 0.5225 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00229/0.4482, allocations: 1.95 MB / 0.5244 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.867e-05/0.4483, allocations: 31.94 kB / 0.5245 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.4483, allocations: 0 / 0.5245 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.4483, allocations: 0 / 0.5245 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.4494, allocations: 1.065 MB / 0.5255 GB, free: 9.633 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.4494, allocations: 0 / 0.5255 GB, free: 9.633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003244/0.4497, allocations: 83.88 kB / 0.5256 GB, free: 9.551 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.4497, allocations: 0 / 0.5256 GB, free: 9.551 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.444e-05/0.4498, allocations: 11.98 kB / 0.5256 GB, free: 9.539 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.4498, allocations: 4.5 kB / 0.5256 GB, free: 9.535 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4498, allocations: 0 / 0.5256 GB, free: 9.535 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/0.4512, allocations: 1.127 MB / 0.5267 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002196/0.4514, allocations: 207.6 kB / 0.5269 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.27e-05/0.4515, allocations: 27.83 kB / 0.5269 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003198/0.4519, allocations: 40.69 kB / 0.527 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.229e-05/0.452, allocations: 31.95 kB / 0.527 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/0.452, allocations: 16 kB / 0.527 GB, free: 8.055 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004203/0.4524, allocations: 378.8 kB / 0.5274 GB, free: 7.684 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4524, allocations: 0 / 0.5274 GB, free: 7.684 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.005057/0.4575, allocations: 1.136 MB / 0.5285 GB, free: 6.547 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 (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.007003/0.4645, allocations: 1.216 MB / 0.5297 GB, free: 5.324 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001989/0.4665, allocations: 0.8505 MB / 0.5305 GB, free: 4.477 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.4666, allocations: 0 / 0.5305 GB, free: 4.477 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000684/0.4673, allocations: 0.5212 MB / 0.531 GB, free: 3.953 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001411/0.4687, allocations: 235.2 kB / 0.5312 GB, free: 3.73 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002315/0.471, allocations: 2.007 MB / 0.5332 GB, free: 1.699 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004975/0.4715, allocations: 0.9834 MB / 0.5342 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008489/0.4724, allocations: 0.615 MB / 0.5348 GB, free: 72 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.4725, allocations: 47.42 kB / 0.5348 GB, free: 24 kB / 398.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4725, allocations: 0 / 0.5348 GB, free: 24 kB / 398.1 MB Notification: Performance of Templates: time 0.05497/0.5275, allocations: 40.48 MB / 0.5743 GB, free: 7.535 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible.pipe 2>&1)