Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.TestCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.0009533/0.0009533, allocations: 99.7 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.001008/0.001009, 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.551/1.551, allocations: 205.4 MB / 222.1 MB, free: 5.676 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.3461/0.3461, allocations: 38.03 MB / 308.4 MB, free: 10.5 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.0006025/0.0006028, allocations: 16 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1281, allocations: 57.52 MB / 433.9 MB, free: 5.59 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve): time 0.2761/0.4042, allocations: 24.15 MB / 458.1 MB, free: 34.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0198/0.4241, allocations: 14.77 MB / 472.8 MB, free: 33.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008377/0.425, allocations: 18.66 kB / 472.9 MB, free: 33.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00121/0.4262, allocations: 259.3 kB / 473.1 MB, free: 33.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01489/0.4411, allocations: 3.522 MB / 476.6 MB, free: 32.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01026/0.4514, allocations: 2.483 MB / 479.1 MB, free: 31.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001423/0.4529, allocations: 0.5814 MB / 479.7 MB, free: 31.26 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004554/0.4533, allocations: 236.8 kB / 479.9 MB, free: 31.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001083/0.4544, allocations: 440.9 kB / 480.4 MB, free: 31.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004654/0.4591, allocations: 2.948 MB / 483.3 MB, free: 30.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001179/0.4592, allocations: 19.34 kB / 483.3 MB, free: 30.72 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01454/0.4738, allocations: 7.28 MB / 490.6 MB, free: 29.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001929/0.474, allocations: 81.72 kB / 490.7 MB, free: 29.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002542/0.4743, allocations: 110.4 kB / 490.8 MB, free: 29.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009909/0.4842, allocations: 3.103 MB / 493.9 MB, free: 28.44 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.4843, allocations: 0 / 493.9 MB, free: 28.44 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.557e-06/0.4843, allocations: 1 kB / 493.9 MB, free: 28.44 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.441e-05/0.4843, allocations: 4 kB / 493.9 MB, free: 28.43 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.00701/0.4913, allocations: 1.252 MB / 495.2 MB, free: 27.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.709e-05/0.4914, allocations: 13.95 kB / 495.2 MB, free: 27.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002417/0.4938, allocations: 247.2 kB / 495.4 MB, free: 27.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.495, allocations: 385.7 kB / 495.8 MB, free: 27.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.09e-05/0.4951, allocations: 36.06 kB / 495.8 MB, free: 27.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-05/0.4952, allocations: 28.97 kB / 495.9 MB, free: 27.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002462/0.4977, allocations: 0.625 MB / 496.5 MB, free: 26.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.728e-05/0.4978, allocations: 0.9688 kB / 496.5 MB, free: 26.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-05/0.4978, allocations: 12.94 kB / 496.5 MB, free: 26.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.794e-05/0.4979, allocations: 12.05 kB / 496.5 MB, free: 26.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002102/0.5, allocations: 0.6029 MB / 497.1 MB, free: 26.84 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.004272/0.5043, allocations: 2.66 MB / 499.8 MB, free: 24.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/0.5061, allocations: 491.5 kB / 0.4885 GB, free: 24.51 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05258/0.5587, allocations: 24.42 MB / 0.5124 GB, free: 22.93 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/0.5588, allocations: 37.31 kB / 0.5124 GB, free: 22.89 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 2.484e-06/0.5588, allocations: 3.938 kB / 0.5124 GB, free: 22.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.002898/0.5617, allocations: 0.8671 MB / 0.5133 GB, free: 22.46 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.002e-05/0.5618, allocations: 106.9 kB / 0.5134 GB, free: 22.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000443/0.5622, allocations: 378.8 kB / 0.5137 GB, free: 22.1 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.424e-05/0.5623, allocations: 29.7 kB / 0.5137 GB, free: 22.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.5624, allocations: 222.5 kB / 0.514 GB, free: 21.87 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.134e-05/0.5625, allocations: 89.89 kB / 0.514 GB, free: 21.79 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.838e-05/0.5625, allocations: 7.938 kB / 0.514 GB, free: 21.78 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.5626, allocations: 352.7 kB / 0.5144 GB, free: 21.44 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003909/0.563, allocations: 171.6 kB / 0.5145 GB, free: 21.36 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004284/0.5635, allocations: 279.2 kB / 0.5148 GB, free: 21.15 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004085/0.5639, allocations: 186.1 kB / 0.515 GB, free: 21.06 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.5639, allocations: 0 / 0.515 GB, free: 21.06 MB / 398.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.00101/0.5649, allocations: 0.4968 MB / 0.5155 GB, free: 20.81 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004272/0.5654, allocations: 1.05 MB / 0.5165 GB, free: 19.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.5654, allocations: 7.141 kB / 0.5165 GB, free: 19.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.5654, allocations: 6.062 kB / 0.5165 GB, free: 19.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004344/0.5659, allocations: 107.9 kB / 0.5166 GB, free: 19.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.5659, allocations: 4.625 kB / 0.5166 GB, free: 19.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004918/0.5664, allocations: 76.48 kB / 0.5167 GB, free: 19.62 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.858e-05/0.5664, allocations: 18.47 kB / 0.5167 GB, free: 19.61 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.993e-06/0.5664, allocations: 6.938 kB / 0.5167 GB, free: 19.61 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008977/0.5673, allocations: 449.4 kB / 0.5171 GB, free: 19.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.5674, allocations: 2.312 kB / 0.5172 GB, free: 19.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.27e-06/0.5674, allocations: 5 kB / 0.5172 GB, free: 19.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003662/0.5677, allocations: 107.2 kB / 0.5173 GB, free: 19.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.5678, allocations: 4.281 kB / 0.5173 GB, free: 19.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003652/0.5681, allocations: 69.3 kB / 0.5173 GB, free: 19.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.283e-05/0.5682, allocations: 17.06 kB / 0.5173 GB, free: 19.33 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.0002735/0.5684, allocations: 245.7 kB / 0.5176 GB, free: 19.1 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.015e-05/0.5685, allocations: 45.39 kB / 0.5176 GB, free: 19.08 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002193/0.5707, allocations: 1.999 MB / 0.5196 GB, free: 17.94 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-05/0.5708, allocations: 27.3 kB / 0.5196 GB, free: 17.92 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.5708, allocations: 5.75 kB / 0.5196 GB, free: 17.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.5708, allocations: 3.984 kB / 0.5196 GB, free: 17.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009362/0.5717, allocations: 1.055 MB / 0.5206 GB, free: 16.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.5717, allocations: 0 / 0.5206 GB, free: 16.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003292/0.5721, allocations: 91.86 kB / 0.5207 GB, free: 16.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.5721, allocations: 4 kB / 0.5207 GB, free: 16.79 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.5721, allocations: 11.95 kB / 0.5207 GB, free: 16.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.5721, allocations: 4 kB / 0.5207 GB, free: 16.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.5721, allocations: 0 / 0.5207 GB, free: 16.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/0.5734, allocations: 1.145 MB / 0.5219 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002594/0.5737, allocations: 267.4 kB / 0.5221 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.958e-05/0.5737, allocations: 4 kB / 0.5221 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003377/0.5741, allocations: 55.83 kB / 0.5222 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.671e-05/0.5742, allocations: 31.95 kB / 0.5222 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.534e-05/0.5742, allocations: 11.98 kB / 0.5222 GB, free: 15.23 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003893/0.5746, allocations: 370.8 kB / 0.5226 GB, free: 14.86 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5746, allocations: 4 kB / 0.5226 GB, free: 14.86 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.005582/0.5802, allocations: 1.155 MB / 0.5237 GB, free: 13.7 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.009893/0.5901, allocations: 1.264 MB / 0.5249 GB, free: 12.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002014/0.5922, allocations: 0.8892 MB / 0.5258 GB, free: 11.55 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.5923, allocations: 0 / 0.5258 GB, free: 11.55 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007464/0.593, allocations: 0.541 MB / 0.5263 GB, free: 11.01 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/0.5947, allocations: 214 kB / 0.5265 GB, free: 10.8 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003121/0.5978, allocations: 1.98 MB / 0.5285 GB, free: 8.793 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005907/0.5984, allocations: 0.9953 MB / 0.5294 GB, free: 7.762 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009804/0.5994, allocations: 0.6073 MB / 0.53 GB, free: 7.156 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.5995, allocations: 55.42 kB / 0.5301 GB, free: 7.102 MB / 398.1 MB Notification: Performance of SimCode: time 8.82e-07/0.5995, allocations: 0 / 0.5301 GB, free: 7.102 MB / 398.1 MB Notification: Performance of Templates: time 0.06147/0.661, allocations: 41.06 MB / 0.5702 GB, free: 14.03 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe 2>&1) Environment - environmentSimulation: