Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.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.Vessels.TestVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000835/0.0008349, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.004734/0.004734, allocations: 170.9 kB / 16.26 MB, free: 6.676 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.336/1.336, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.3037/0.3037, allocations: 38.04 MB / 308.8 MB, free: 10.34 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.0005398/0.0005398, allocations: 19.98 kB / 377.1 MB, free: 14.79 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1158, allocations: 57.52 MB / 434.6 MB, free: 5.168 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.2471/0.363, allocations: 36.61 MB / 471.2 MB, free: 33.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01629/0.3793, allocations: 17.54 MB / 488.7 MB, free: 23.76 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009417/0.3803, allocations: 27.62 kB / 488.8 MB, free: 23.74 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009746/0.3813, allocations: 372.8 kB / 489.1 MB, free: 23.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009077/0.3904, allocations: 3.265 MB / 492.4 MB, free: 22.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008163/0.3986, allocations: 2.654 MB / 495 MB, free: 20.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002448/0.401, allocations: 2.422 MB / 497.5 MB, free: 19.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007319/0.4018, allocations: 484 kB / 497.9 MB, free: 19.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001246/0.403, allocations: 0.6618 MB / 498.6 MB, free: 19.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006277/0.4037, allocations: 0.576 MB / 499.2 MB, free: 19.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.963e-05/0.4038, allocations: 37 kB / 499.2 MB, free: 19.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01634/0.4201, allocations: 7.33 MB / 0.4947 GB, free: 17.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006902/0.4209, allocations: 212 kB / 0.4949 GB, free: 17.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008242/0.4217, allocations: 412 kB / 0.4953 GB, free: 16.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01701/0.4387, allocations: 4.995 MB / 0.5001 GB, free: 15.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.4388, allocations: 4 kB / 0.5001 GB, free: 15.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.4388, allocations: 0.9688 kB / 0.5001 GB, free: 15.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.73e-05/0.4388, allocations: 0 / 0.5001 GB, free: 15.68 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.007135/0.446, allocations: 1.458 MB / 0.5016 GB, free: 14.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.446, allocations: 12.78 kB / 0.5016 GB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003134/0.4492, allocations: 375.9 kB / 0.5019 GB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.4502, allocations: 0.5278 MB / 0.5024 GB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001857/0.4504, allocations: 116.8 kB / 0.5026 GB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/0.4506, allocations: 57.06 kB / 0.5026 GB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002812/0.4534, allocations: 1.154 MB / 0.5037 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.4535, allocations: 4.969 kB / 0.5037 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.006e-05/0.4536, allocations: 27.56 kB / 0.5038 GB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.092e-05/0.4536, allocations: 36.95 kB / 0.5038 GB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00267/0.4563, allocations: 1.092 MB / 0.5049 GB, free: 13.03 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.005922/0.4622, allocations: 5.059 MB / 0.5098 GB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002693/0.4649, allocations: 0.9626 MB / 0.5108 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007361/0.4657, allocations: 393.3 kB / 0.5111 GB, free: 7.969 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04985/0.5156, allocations: 24.44 MB / 0.535 GB, free: 2.906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.89e-05/0.5157, allocations: 35 kB / 0.535 GB, free: 2.863 MB / 398.1 MB Notification: Performance of pre-optimization done (n=47): time 4.358e-06/0.5157, allocations: 0 / 0.535 GB, free: 2.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=47): time 0.007334/0.523, allocations: 2.09 MB / 0.5371 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.948e-05/0.5231, allocations: 111.2 kB / 0.5372 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007578/0.5239, allocations: 0.5925 MB / 0.5378 GB, free: 15.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.219e-05/0.524, allocations: 37.7 kB / 0.5378 GB, free: 15.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/0.5242, allocations: 315.6 kB / 0.5381 GB, free: 15.63 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/0.5243, allocations: 157.8 kB / 0.5382 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.386e-05/0.5244, allocations: 53.69 kB / 0.5383 GB, free: 15.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.5246, allocations: 378.7 kB / 0.5387 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000672/0.5253, allocations: 337.1 kB / 0.539 GB, free: 14.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007566/0.526, allocations: 0.4937 MB / 0.5395 GB, free: 14.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/0.5275, allocations: 0.7631 MB / 0.5402 GB, free: 13.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.31e-05/0.5275, allocations: 4 kB / 0.5402 GB, free: 13.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00218/0.5297, allocations: 1.082 MB / 0.5413 GB, free: 12.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.5297, allocations: 11.94 kB / 0.5413 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.5297, allocations: 4 kB / 0.5413 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/0.5308, allocations: 429.8 kB / 0.5417 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000412/0.5312, allocations: 131.7 kB / 0.5418 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001642/0.5329, allocations: 1.64 MB / 0.5434 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007513/0.5336, allocations: 111.3 kB / 0.5435 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-05/0.5337, allocations: 31.98 kB / 0.5436 GB, free: 9.82 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 9 (Volume.regularFlow[1],Volume.regularFlow[2],Sink.medium.phase,FlowSource.medium.phase,Volume.inFlow[2],Volume.inFlow[1],Volume.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,1), (3,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0003873/0.5341, allocations: 225.6 kB / 0.5438 GB, free: 9.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.5342, allocations: 63.25 kB / 0.5438 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00417/0.5384, allocations: 3.328 MB / 0.5471 GB, free: 6.191 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.135e-05/0.5385, allocations: 43.92 kB / 0.5471 GB, free: 6.148 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.5385, allocations: 0 / 0.5471 GB, free: 6.148 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.5385, allocations: 3.984 kB / 0.5471 GB, free: 6.145 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001847/0.5404, allocations: 1.566 MB / 0.5487 GB, free: 4.527 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.84e-06/0.5404, allocations: 4 kB / 0.5487 GB, free: 4.523 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003353/0.5407, allocations: 87.92 kB / 0.5487 GB, free: 4.438 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00143/0.5422, allocations: 0.8972 MB / 0.5496 GB, free: 3.531 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.613e-05/0.5422, allocations: 16 kB / 0.5496 GB, free: 3.516 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002366/0.5446, allocations: 2.299 MB / 0.5519 GB, free: 1.164 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.5446, allocations: 8 kB / 0.5519 GB, free: 1.156 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003028/0.5476, allocations: 2.324 MB / 0.5542 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004715/0.5481, allocations: 358.6 kB / 0.5545 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.5482, allocations: 15.94 kB / 0.5545 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005522/0.5488, allocations: 59.95 kB / 0.5546 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/0.549, allocations: 72.39 kB / 0.5546 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-05/0.549, allocations: 19.98 kB / 0.5547 GB, free: 14.27 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006302/0.5496, allocations: 0.5146 MB / 0.5552 GB, free: 13.75 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5496, allocations: 0 / 0.5552 GB, free: 13.75 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005256/0.5549, allocations: 1.163 MB / 0.5563 GB, free: 12.59 MB / 430.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: 27 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,1), (3,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00747/0.5624, allocations: 1.318 MB / 0.5576 GB, free: 11.27 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002597/0.565, allocations: 1.146 MB / 0.5587 GB, free: 10.12 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.727e-06/0.5651, allocations: 4 kB / 0.5587 GB, free: 10.12 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001497/0.5666, allocations: 0.8889 MB / 0.5596 GB, free: 9.23 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001998/0.5686, allocations: 353.8 kB / 0.5599 GB, free: 8.891 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003501/0.5721, allocations: 3.034 MB / 0.5629 GB, free: 5.828 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006549/0.5728, allocations: 1.154 MB / 0.564 GB, free: 4.645 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006892/0.5735, allocations: 365.1 kB / 0.5643 GB, free: 4.285 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.5736, allocations: 51.44 kB / 0.5644 GB, free: 4.238 MB / 430.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5736, allocations: 0 / 0.5644 GB, free: 4.238 MB / 430.1 MB Notification: Performance of Templates: time 0.068/0.6416, allocations: 49.15 MB / 0.6124 GB, free: 3.066 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe 2>&1) Environment - environmentSimulation: