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.00117/0.00117, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001052/0.001052, allocations: 198.4 kB / 16.14 MB, free: 6.73 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.507/1.507, allocations: 205.1 MB / 222 MB, free: 4.738 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.3951/0.3951, allocations: 39.93 MB / 309.3 MB, free: 9.648 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.001376/0.001376, allocations: 71.89 kB / 376.9 MB, free: 13.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1263, allocations: 56.87 MB / 433.8 MB, free: 4.418 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve): time 0.2618/0.3882, allocations: 29.39 MB / 463.2 MB, free: 35.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01976/0.408, allocations: 18.35 MB / 481.6 MB, free: 27.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007341/0.4087, allocations: 14.16 kB / 481.6 MB, free: 27.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008246/0.4096, allocations: 219.9 kB / 481.8 MB, free: 26.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01106/0.4207, allocations: 3.624 MB / 485.4 MB, free: 25.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005043/0.4258, allocations: 1.588 MB / 487 MB, free: 24.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001584/0.4274, allocations: 1.209 MB / 488.2 MB, free: 23.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004014/0.4278, allocations: 242.3 kB / 488.4 MB, free: 23.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008993/0.4287, allocations: 440.4 kB / 488.9 MB, free: 23.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003664/0.4324, allocations: 1.86 MB / 490.7 MB, free: 22.83 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.108e-05/0.4325, allocations: 22.53 kB / 490.8 MB, free: 22.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01448/0.447, allocations: 7.397 MB / 498.1 MB, free: 20.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002666/0.4473, allocations: 94.7 kB / 498.2 MB, free: 20.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005129/0.4478, allocations: 226.5 kB / 498.5 MB, free: 20.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01704/0.4648, allocations: 4.628 MB / 0.4913 GB, free: 19.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.4649, allocations: 2.141 kB / 0.4913 GB, free: 19.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4649, allocations: 3.938 kB / 0.4913 GB, free: 19.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.768e-05/0.4649, allocations: 4 kB / 0.4913 GB, free: 19.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.006585/0.4715, allocations: 1.321 MB / 0.4926 GB, free: 18.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/0.4716, allocations: 13.53 kB / 0.4926 GB, free: 18.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002142/0.4737, allocations: 242.9 kB / 0.4928 GB, free: 18.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005821/0.4743, allocations: 399 kB / 0.4932 GB, free: 18.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.712e-05/0.4744, allocations: 33.3 kB / 0.4933 GB, free: 18.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.536e-05/0.4744, allocations: 28.88 kB / 0.4933 GB, free: 18.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.4761, allocations: 0.5993 MB / 0.4939 GB, free: 17.94 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.4761, allocations: 1.859 kB / 0.4939 GB, free: 17.94 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.784e-05/0.4762, allocations: 11.47 kB / 0.4939 GB, free: 17.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.4762, allocations: 8.812 kB / 0.4939 GB, free: 17.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001791/0.478, allocations: 0.5692 MB / 0.4944 GB, free: 17.79 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.003211/0.4812, allocations: 2.637 MB / 0.497 GB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.4828, allocations: 456.8 kB / 0.4975 GB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004329/0.4832, allocations: 204.6 kB / 0.4977 GB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04705/0.5303, allocations: 24.21 MB / 0.5213 GB, free: 12.22 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.483e-05/0.5303, allocations: 36.41 kB / 0.5213 GB, free: 12.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 1.432e-06/0.5303, allocations: 0 / 0.5213 GB, free: 12.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.002845/0.5332, allocations: 0.8199 MB / 0.5221 GB, free: 11.76 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/0.5333, allocations: 109.7 kB / 0.5222 GB, free: 11.63 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005183/0.5338, allocations: 375.9 kB / 0.5226 GB, free: 11.39 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.308e-05/0.5339, allocations: 29.7 kB / 0.5226 GB, free: 11.36 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.534, allocations: 218.4 kB / 0.5228 GB, free: 11.16 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.099e-05/0.5341, allocations: 90.3 kB / 0.5229 GB, free: 11.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.5343, allocations: 79.83 kB / 0.523 GB, free: 11.03 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.5344, allocations: 347 kB / 0.5233 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004614/0.5349, allocations: 170.5 kB / 0.5235 GB, free: 10.6 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005438/0.5355, allocations: 265.1 kB / 0.5237 GB, free: 10.38 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008585/0.5363, allocations: 398 kB / 0.5241 GB, free: 9.953 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.5364, allocations: 3.938 kB / 0.5241 GB, free: 9.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001115/0.5375, allocations: 480.7 kB / 0.5246 GB, free: 9.473 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.5375, allocations: 8.344 kB / 0.5246 GB, free: 9.465 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.5375, allocations: 8 kB / 0.5246 GB, free: 9.457 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.5376, allocations: 4 kB / 0.5246 GB, free: 9.453 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004325/0.538, allocations: 99.8 kB / 0.5247 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.538, allocations: 7.938 kB / 0.5247 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000474/0.5385, allocations: 71.55 kB / 0.5248 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.65e-05/0.5385, allocations: 16 kB / 0.5248 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005367/0.5391, allocations: 272 kB / 0.525 GB, free: 8.992 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004886/0.5396, allocations: 260.5 kB / 0.5253 GB, free: 8.695 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008529/0.5404, allocations: 395.1 kB / 0.5257 GB, free: 8.273 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.164e-06/0.5405, allocations: 0 / 0.5257 GB, free: 8.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.00111/0.5416, allocations: 472.8 kB / 0.5261 GB, free: 7.805 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.5416, allocations: 8.344 kB / 0.5261 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.5416, allocations: 4 kB / 0.5261 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.254e-06/0.5416, allocations: 4 kB / 0.5261 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004146/0.542, allocations: 99.86 kB / 0.5262 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.5421, allocations: 7.938 kB / 0.5262 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004732/0.5425, allocations: 63.64 kB / 0.5263 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.313e-05/0.5426, allocations: 19.92 kB / 0.5263 GB, free: 7.602 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,SinkP1.medium.phase,SourceP1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002275/0.5428, allocations: 208.1 kB / 0.5265 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.5429, allocations: 39.53 kB / 0.5266 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002663/0.5456, allocations: 1.964 MB / 0.5285 GB, free: 5.379 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.932e-05/0.5456, allocations: 31.95 kB / 0.5285 GB, free: 5.348 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.5457, allocations: 0 / 0.5285 GB, free: 5.348 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.5457, allocations: 0 / 0.5285 GB, free: 5.348 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/0.5469, allocations: 1.059 MB / 0.5295 GB, free: 4.242 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.5469, allocations: 0 / 0.5295 GB, free: 4.242 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003247/0.5472, allocations: 71.94 kB / 0.5296 GB, free: 4.172 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.5473, allocations: 4 kB / 0.5296 GB, free: 4.168 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/0.5473, allocations: 11.92 kB / 0.5296 GB, free: 4.156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.5473, allocations: 8 kB / 0.5296 GB, free: 4.148 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.5473, allocations: 0 / 0.5296 GB, free: 4.148 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/0.5489, allocations: 1.125 MB / 0.5307 GB, free: 3 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002784/0.5492, allocations: 211.6 kB / 0.5309 GB, free: 2.773 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.86e-05/0.5493, allocations: 31.72 kB / 0.531 GB, free: 2.742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003356/0.5496, allocations: 35.88 kB / 0.531 GB, free: 2.707 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.5497, allocations: 31.95 kB / 0.531 GB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.153e-05/0.5498, allocations: 15.98 kB / 0.531 GB, free: 2.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005002/0.5503, allocations: 374.8 kB / 0.5314 GB, free: 2.293 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5503, allocations: 0 / 0.5314 GB, free: 2.293 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.006895/0.5572, allocations: 1.152 MB / 0.5325 GB, free: 1.141 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 (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.01078/0.568, allocations: 1.263 MB / 0.5338 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002102/0.5701, allocations: 0.8671 MB / 0.5346 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-05/0.5702, allocations: 0 / 0.5346 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008078/0.571, allocations: 0.5251 MB / 0.5351 GB, free: 14.49 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/0.5724, allocations: 222.2 kB / 0.5353 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/0.5748, allocations: 1.959 MB / 0.5372 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004728/0.5753, allocations: 0.9755 MB / 0.5382 GB, free: 11.28 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001025/0.5763, allocations: 0.6063 MB / 0.5388 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.5765, allocations: 51.42 kB / 0.5388 GB, free: 10.62 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.5765, allocations: 0 / 0.5388 GB, free: 10.62 MB / 414.1 MB Notification: Performance of Templates: time 0.05745/0.6339, allocations: 40.86 MB / 0.5787 GB, free: 1.77 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.makefile (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)