Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.Vessels.TestVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.007781/0.007781, allocations: 99.33 kB / 15.73 MB, free: 6.5 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.001715/0.001715, allocations: 194.4 kB / 16.67 MB, free: 6.391 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.481/1.481, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.3837/0.3837, allocations: 39.95 MB / 309.8 MB, free: 9.367 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.002093/0.002093, allocations: 67.91 kB / 435.8 MB, free: 2.488 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.326, allocations: 56.87 MB / 492.6 MB, free: 19.38 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.0348/0.3608, allocations: 36.34 MB / 0.5166 GB, free: 7.855 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02149/0.3824, allocations: 16.77 MB / 0.533 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000813/0.3833, allocations: 18.22 kB / 0.533 GB, free: 10.28 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001274/0.3846, allocations: 427 kB / 0.5334 GB, free: 9.922 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01302/0.3976, allocations: 4.022 MB / 0.5373 GB, free: 6.688 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008791/0.4064, allocations: 3.132 MB / 0.5404 GB, free: 3.547 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002373/0.4088, allocations: 1.794 MB / 0.5421 GB, free: 1.75 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007517/0.4096, allocations: 0.5353 MB / 0.5427 GB, free: 1.207 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00126/0.4108, allocations: 0.7551 MB / 0.5434 GB, free: 460 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007207/0.4116, allocations: 0.576 MB / 0.544 GB, free: 15.87 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.4117, allocations: 72 kB / 0.544 GB, free: 15.8 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01582/0.4275, allocations: 7.453 MB / 0.5513 GB, free: 8.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004744/0.428, allocations: 255.2 kB / 0.5515 GB, free: 8.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000641/0.4287, allocations: 414.2 kB / 0.5519 GB, free: 7.684 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01362/0.4423, allocations: 5.07 MB / 0.5569 GB, free: 2.602 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.4424, allocations: 0 / 0.5569 GB, free: 2.602 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4424, allocations: 0 / 0.5569 GB, free: 2.602 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.4424, allocations: 0 / 0.5569 GB, free: 2.602 MB / 430.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.00451/0.4469, allocations: 1.644 MB / 0.5585 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/0.447, allocations: 15.89 kB / 0.5585 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002863/0.4499, allocations: 368.1 kB / 0.5589 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009346/0.4508, allocations: 0.5488 MB / 0.5594 GB, free: 15.94 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/0.451, allocations: 105.3 kB / 0.5595 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.764e-05/0.4511, allocations: 68.11 kB / 0.5596 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002488/0.4536, allocations: 1.13 MB / 0.5607 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.4536, allocations: 7.875 kB / 0.5607 GB, free: 14.56 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-05/0.4537, allocations: 24 kB / 0.5607 GB, free: 14.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.757e-05/0.4537, allocations: 37.3 kB / 0.5607 GB, free: 14.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00256/0.4563, allocations: 1.047 MB / 0.5618 GB, free: 13.46 MB / 446.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.006102/0.4624, allocations: 5.009 MB / 0.5666 GB, free: 8.066 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0026/0.465, allocations: 0.9297 MB / 0.5676 GB, free: 7.129 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007146/0.4657, allocations: 373.9 kB / 0.5679 GB, free: 6.762 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04543/0.5112, allocations: 24.31 MB / 0.5916 GB, free: 11.56 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.816e-05/0.5113, allocations: 39 kB / 0.5917 GB, free: 11.51 MB / 478.1 MB Notification: Performance of pre-optimization done (n=47): time 3.166e-06/0.5113, allocations: 0 / 0.5917 GB, free: 11.51 MB / 478.1 MB Notification: Performance of matching and sorting (n=47): time 0.006763/0.5181, allocations: 1.981 MB / 0.5936 GB, free: 9.484 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.228e-05/0.5182, allocations: 107.2 kB / 0.5937 GB, free: 9.355 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007461/0.5189, allocations: 0.5965 MB / 0.5943 GB, free: 8.754 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.324e-05/0.519, allocations: 33.7 kB / 0.5943 GB, free: 8.715 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002242/0.5192, allocations: 336.2 kB / 0.5947 GB, free: 8.379 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.5194, allocations: 162.6 kB / 0.5948 GB, free: 8.219 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002152/0.5196, allocations: 134.3 kB / 0.5949 GB, free: 8.078 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.5198, allocations: 366.8 kB / 0.5953 GB, free: 7.711 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006664/0.5204, allocations: 325.1 kB / 0.5956 GB, free: 7.395 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007607/0.5212, allocations: 493.6 kB / 0.5961 GB, free: 6.844 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001378/0.5226, allocations: 0.7318 MB / 0.5968 GB, free: 6.051 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.5226, allocations: 0 / 0.5968 GB, free: 6.051 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002144/0.5248, allocations: 1.055 MB / 0.5978 GB, free: 4.98 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.5248, allocations: 11.94 kB / 0.5978 GB, free: 4.969 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.5248, allocations: 4 kB / 0.5978 GB, free: 4.965 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/0.5259, allocations: 421.8 kB / 0.5982 GB, free: 4.547 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004335/0.5264, allocations: 119.8 kB / 0.5983 GB, free: 4.43 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001763/0.5282, allocations: 1.639 MB / 0.5999 GB, free: 2.738 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005893/0.5288, allocations: 91.38 kB / 0.6 GB, free: 2.648 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-05/0.5289, allocations: 31.92 kB / 0.6001 GB, free: 2.617 MB / 478.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.0003162/0.5292, allocations: 229.8 kB / 0.6003 GB, free: 2.383 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/0.5293, allocations: 67.58 kB / 0.6004 GB, free: 2.316 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004318/0.5337, allocations: 3.261 MB / 0.6035 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.214e-05/0.5337, allocations: 47.92 kB / 0.6036 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.5337, allocations: 0 / 0.6036 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.5338, allocations: 3.984 kB / 0.6036 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001605/0.5354, allocations: 1.561 MB / 0.6051 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.5354, allocations: 8 kB / 0.6051 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003234/0.5357, allocations: 79.94 kB / 0.6052 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001371/0.5371, allocations: 0.8737 MB / 0.606 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.004e-05/0.5372, allocations: 12 kB / 0.6061 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002371/0.5395, allocations: 2.288 MB / 0.6083 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.5396, allocations: 7.969 kB / 0.6083 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00306/0.5426, allocations: 2.278 MB / 0.6105 GB, free: 7.75 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003789/0.543, allocations: 303.6 kB / 0.6108 GB, free: 7.434 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/0.5432, allocations: 27.83 kB / 0.6108 GB, free: 7.406 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000499/0.5437, allocations: 39.95 kB / 0.6109 GB, free: 7.367 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00017/0.5438, allocations: 64.47 kB / 0.6109 GB, free: 7.305 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.216e-05/0.5439, allocations: 27.92 kB / 0.611 GB, free: 7.277 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006169/0.5445, allocations: 0.5146 MB / 0.6115 GB, free: 6.762 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.774e-06/0.5445, allocations: 0 / 0.6115 GB, free: 6.762 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003281/0.5478, allocations: 1.181 MB / 0.6126 GB, free: 5.578 MB / 494.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.006041/0.5539, allocations: 1.3 MB / 0.6139 GB, free: 4.27 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002455/0.5563, allocations: 1.129 MB / 0.615 GB, free: 3.141 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.5564, allocations: 0 / 0.615 GB, free: 3.141 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001413/0.5578, allocations: 0.8779 MB / 0.6159 GB, free: 2.27 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001863/0.5597, allocations: 389.2 kB / 0.6162 GB, free: 1.887 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003681/0.5633, allocations: 2.471 MB / 0.6186 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000754/0.5641, allocations: 1.154 MB / 0.6198 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007013/0.5648, allocations: 353.2 kB / 0.6201 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001638/0.565, allocations: 59.44 kB / 0.6202 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of SimCode: time 1.733e-06/0.565, allocations: 3.938 kB / 0.6202 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of Templates: time 0.3803/0.9453, allocations: 50.56 MB / 0.6695 GB, free: 120.3 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe 2>&1)