Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.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.TestCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 99.47 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.00157/0.00157, 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.257/1.257, allocations: 205.4 MB / 222.1 MB, free: 5.539 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.2848/0.2848, allocations: 40 MB / 310.4 MB, free: 9.723 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.0005412/0.0005413, allocations: 20 kB / 378.8 MB, free: 12.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1016, allocations: 57.95 MB / 436.8 MB, free: 2.289 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve): time 0.1869/0.2886, allocations: 24.13 MB / 460.9 MB, free: 34.65 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01465/0.3032, allocations: 14.77 MB / 475.7 MB, free: 31.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004926/0.3038, allocations: 11.12 kB / 475.7 MB, free: 31.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007907/0.3046, allocations: 261.5 kB / 475.9 MB, free: 31.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00934/0.3139, allocations: 3.532 MB / 479.5 MB, free: 29.87 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006829/0.3208, allocations: 2.484 MB / 482 MB, free: 28.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001312/0.3221, allocations: 0.5842 MB / 482.5 MB, free: 28.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000539/0.3227, allocations: 228.7 kB / 482.8 MB, free: 28.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/0.3238, allocations: 444.9 kB / 483.2 MB, free: 28.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004338/0.3282, allocations: 2.942 MB / 486.1 MB, free: 27.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.3283, allocations: 16 kB / 486.2 MB, free: 27.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01214/0.3405, allocations: 7.281 MB / 493.4 MB, free: 26.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001859/0.3407, allocations: 79.7 kB / 493.5 MB, free: 26.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001875/0.3409, allocations: 116.2 kB / 493.6 MB, free: 25.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006649/0.3476, allocations: 3.104 MB / 496.7 MB, free: 25.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.3476, allocations: 0 / 496.7 MB, free: 25.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3476, allocations: 0.9375 kB / 496.7 MB, free: 25.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.3476, allocations: 0 / 496.7 MB, free: 25.38 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.005014/0.3526, allocations: 1.257 MB / 498 MB, free: 24.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.3527, allocations: 13.45 kB / 498 MB, free: 24.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0021/0.3548, allocations: 246.5 kB / 498.2 MB, free: 24.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007689/0.3556, allocations: 382.3 kB / 498.6 MB, free: 24.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.573e-05/0.3557, allocations: 27.81 kB / 498.6 MB, free: 24.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.222e-05/0.3557, allocations: 31.69 kB / 498.7 MB, free: 24.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001847/0.3576, allocations: 0.6264 MB / 499.3 MB, free: 23.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.3576, allocations: 7.922 kB / 499.3 MB, free: 23.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.451e-05/0.3577, allocations: 12.64 kB / 499.3 MB, free: 23.92 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.3577, allocations: 8.469 kB / 499.3 MB, free: 23.92 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001745/0.3594, allocations: 0.6012 MB / 499.9 MB, free: 23.77 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.003466/0.3629, allocations: 2.651 MB / 0.4908 GB, free: 21.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002488/0.3655, allocations: 499.3 kB / 0.4913 GB, free: 21.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06148/0.427, allocations: 24.42 MB / 0.5151 GB, free: 19.29 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.427, allocations: 41.23 kB / 0.5152 GB, free: 19.24 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 2.134e-06/0.427, allocations: 0 / 0.5152 GB, free: 19.24 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.002595/0.4296, allocations: 0.8709 MB / 0.516 GB, free: 18.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.355e-05/0.4297, allocations: 113.5 kB / 0.5161 GB, free: 18.69 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000378/0.4301, allocations: 377.7 kB / 0.5165 GB, free: 18.45 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/0.4301, allocations: 31.23 kB / 0.5165 GB, free: 18.42 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.4303, allocations: 218.3 kB / 0.5167 GB, free: 18.22 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.095e-05/0.4303, allocations: 86.56 kB / 0.5168 GB, free: 18.15 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.789e-05/0.4304, allocations: 4 kB / 0.5168 GB, free: 18.14 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.4305, allocations: 348.7 kB / 0.5171 GB, free: 17.8 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003793/0.4309, allocations: 172.4 kB / 0.5173 GB, free: 17.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000399/0.4313, allocations: 271.9 kB / 0.5176 GB, free: 17.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004017/0.4317, allocations: 192.8 kB / 0.5177 GB, free: 17.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.4317, allocations: 4 kB / 0.5178 GB, free: 17.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009624/0.4327, allocations: 0.5005 MB / 0.5182 GB, free: 17.17 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003541/0.433, allocations: 1.042 MB / 0.5193 GB, free: 16.06 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.433, allocations: 8.234 kB / 0.5193 GB, free: 16.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.4331, allocations: 5.938 kB / 0.5193 GB, free: 16.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003952/0.4335, allocations: 114.6 kB / 0.5194 GB, free: 16.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.4335, allocations: 12.31 kB / 0.5194 GB, free: 16.01 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004135/0.4339, allocations: 70.22 kB / 0.5195 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.25e-05/0.434, allocations: 18.73 kB / 0.5195 GB, free: 15.97 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.842e-06/0.434, allocations: 5.625 kB / 0.5195 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008705/0.4348, allocations: 441.2 kB / 0.5199 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.4349, allocations: 4 kB / 0.5199 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.499e-06/0.4349, allocations: 4 kB / 0.5199 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003527/0.4352, allocations: 112 kB / 0.52 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.4352, allocations: 4 kB / 0.52 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003122/0.4356, allocations: 75.55 kB / 0.5201 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.4356, allocations: 16 kB / 0.5201 GB, free: 15.51 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (V1.state_b.phase,V1.state_a.phase,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 initialization (38): * Single equations (assignments): 38 * 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.0001948/0.4358, allocations: 241 kB / 0.5203 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.046e-05/0.4359, allocations: 35.62 kB / 0.5204 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001895/0.4378, allocations: 2.008 MB / 0.5223 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-05/0.4378, allocations: 31.95 kB / 0.5224 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.4378, allocations: 0 / 0.5224 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.4378, allocations: 1.562 kB / 0.5224 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008465/0.4387, allocations: 1.063 MB / 0.5234 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.4387, allocations: 0 / 0.5234 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003311/0.439, allocations: 91.88 kB / 0.5235 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.439, allocations: 0 / 0.5235 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-05/0.4391, allocations: 15.92 kB / 0.5235 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.4391, allocations: 4 kB / 0.5235 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4391, allocations: 0 / 0.5235 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001332/0.4404, allocations: 1.141 MB / 0.5246 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002579/0.4407, allocations: 267.3 kB / 0.5249 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.8e-05/0.4407, allocations: 8 kB / 0.5249 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003421/0.4411, allocations: 53.52 kB / 0.5249 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.832e-05/0.4412, allocations: 31.94 kB / 0.525 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.492e-05/0.4412, allocations: 15.98 kB / 0.525 GB, free: 10.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003879/0.4416, allocations: 366.8 kB / 0.5253 GB, free: 10.05 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4416, allocations: 0 / 0.5253 GB, free: 10.05 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.005029/0.4467, allocations: 1.155 MB / 0.5265 GB, free: 8.895 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 ($cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.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 (38): * Single equations (assignments): 29 * 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.005629/0.4523, allocations: 1.261 MB / 0.5277 GB, free: 7.633 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001678/0.454, allocations: 0.8973 MB / 0.5286 GB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.454, allocations: 0 / 0.5286 GB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006326/0.4546, allocations: 0.537 MB / 0.5291 GB, free: 6.199 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.4557, allocations: 214 kB / 0.5293 GB, free: 5.992 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.4578, allocations: 1.977 MB / 0.5312 GB, free: 3.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004221/0.4582, allocations: 0.9992 MB / 0.5322 GB, free: 2.957 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007821/0.459, allocations: 0.6039 MB / 0.5328 GB, free: 2.355 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.4591, allocations: 51.42 kB / 0.5328 GB, free: 2.305 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4591, allocations: 0 / 0.5328 GB, free: 2.305 MB / 398.1 MB Notification: Performance of Templates: time 0.05166/0.5108, allocations: 41.07 MB / 0.573 GB, free: 9.227 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe 2>&1) Environment - environmentSimulation: