Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0115/0.01151, allocations: 162.3 kB / 15.11 MB, free: 5.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.86/1.86, allocations: 170.8 MB / 186.6 MB, free: 1.113 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001729/0.001729, allocations: 102.8 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4644/0.4644, allocations: 38.06 MB / 303.7 MB, free: 42.46 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007213/0.0007216, allocations: 16 kB / 363 MB, free: 5.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1182, allocations: 48.71 MB / 411.7 MB, free: 4.703 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.3643/0.4825, allocations: 52.63 MB / 464.3 MB, free: 20.83 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.04468/0.5272, allocations: 28.31 MB / 492.6 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002252/0.5296, allocations: 38.16 kB / 492.7 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002908/0.5325, allocations: 0.5337 MB / 493.2 MB, free: 356 kB / 330.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:826:36-827:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:824:36-825:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.02195/0.5545, allocations: 4.606 MB / 497.8 MB, free: 14.16 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01413/0.5687, allocations: 3.001 MB / 0.4891 GB, free: 12.28 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.006821/0.5756, allocations: 3.483 MB / 0.4925 GB, free: 10.21 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002112/0.5777, allocations: 0.6731 MB / 0.4931 GB, free: 9.785 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02682/0.6046, allocations: 9.55 MB / 0.5025 GB, free: 6.672 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03289/0.6376, allocations: 12.23 MB / 0.5144 GB, free: 10.43 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000528/0.6382, allocations: 60 kB / 0.5145 GB, free: 10.37 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03198/0.6702, allocations: 7.64 MB / 0.5219 GB, free: 2.723 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001042/0.6713, allocations: 346.9 kB / 0.5223 GB, free: 2.383 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009008/0.6722, allocations: 257.1 kB / 0.5225 GB, free: 2.125 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01162/0.6839, allocations: 4.245 MB / 0.5267 GB, free: 13.87 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.473e-05/0.6839, allocations: 3.984 kB / 0.5267 GB, free: 13.87 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.6839, allocations: 3.938 kB / 0.5267 GB, free: 13.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.151e-05/0.684, allocations: 0 / 0.5267 GB, free: 13.86 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.008036/0.692, allocations: 1.984 MB / 0.5286 GB, free: 11.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/0.6921, allocations: 8.031 kB / 0.5286 GB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000564/0.6927, allocations: 168.3 kB / 0.5288 GB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007327/0.7, allocations: 0.5996 MB / 0.5294 GB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002555/0.7027, allocations: 0.7672 MB / 0.5301 GB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003656/0.7031, allocations: 208.8 kB / 0.5303 GB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003894/0.7035, allocations: 96 kB / 0.5304 GB, free: 9.914 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007047/0.7106, allocations: 1.849 MB / 0.5322 GB, free: 7.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.119e-05/0.7107, allocations: 4 kB / 0.5322 GB, free: 7.926 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002262/0.7109, allocations: 47.98 kB / 0.5323 GB, free: 7.879 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.703e-05/0.711, allocations: 45.94 kB / 0.5323 GB, free: 7.832 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007607/0.7186, allocations: 1.682 MB / 0.5339 GB, free: 6.148 MB / 378.7 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.01709/0.7358, allocations: 8.454 MB / 0.5422 GB, free: 13.07 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004758/0.7406, allocations: 0.9461 MB / 0.5431 GB, free: 12.12 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001362/0.742, allocations: 386.3 kB / 0.5435 GB, free: 11.74 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5259/1.268, allocations: 57.98 MB / 0.6001 GB, free: 123.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.6e-05/1.268, allocations: 45.38 kB / 0.6002 GB, free: 123.2 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009055/1.269, allocations: 96.7 kB / 0.6002 GB, free: 123.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=69): time 5.38e-06/1.269, allocations: 0 / 0.6002 GB, free: 123.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=77): time 0.01594/1.285, allocations: 3.342 MB / 0.6035 GB, free: 122.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.787e-05/1.285, allocations: 120.8 kB / 0.6036 GB, free: 122.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/1.286, allocations: 0.784 MB / 0.6044 GB, free: 122.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001954/1.287, allocations: 39.7 kB / 0.6044 GB, free: 122.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005309/1.287, allocations: 0.5972 MB / 0.605 GB, free: 122 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003867/1.288, allocations: 279.3 kB / 0.6053 GB, free: 121.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/1.288, allocations: 27.31 kB / 0.6053 GB, free: 121.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001916/1.288, allocations: 409.7 kB / 0.6057 GB, free: 121.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001528/1.289, allocations: 422.6 kB / 0.6061 GB, free: 121.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001866/1.291, allocations: 1.038 MB / 0.6071 GB, free: 120.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001888/1.293, allocations: 0.5755 MB / 0.6077 GB, free: 120.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.819e-05/1.293, allocations: 6.781 kB / 0.6077 GB, free: 120.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.005524/1.299, allocations: 1.74 MB / 0.6094 GB, free: 119.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.091e-05/1.299, allocations: 21.14 kB / 0.6094 GB, free: 119.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.074e-05/1.299, allocations: 25.88 kB / 0.6094 GB, free: 119.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004442/1.304, allocations: 0.6087 MB / 0.61 GB, free: 119.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001524/1.305, allocations: 256.2 kB / 0.6103 GB, free: 119.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003211/1.308, allocations: 1.811 MB / 0.612 GB, free: 118.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001942/1.31, allocations: 121.1 kB / 0.6121 GB, free: 118.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002501/1.311, allocations: 81.02 kB / 0.6122 GB, free: 118.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 16 (sink2.medium.phase,mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,simpleGenericOrifice1.state_b.phase,simpleGenericOrifice1.state_a.phase,simpleGenericOrifice2.state_b.phase,simpleGenericOrifice2.state_a.phase,mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 139 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,3 27} Notification: Performance of prepare postOptimizeDAE: time 0.0008114/1.311, allocations: 348.8 kB / 0.6126 GB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002958/1.312, allocations: 99.55 kB / 0.6126 GB, free: 118 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00843/1.32, allocations: 4.415 MB / 0.617 GB, free: 116 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.436e-05/1.32, allocations: 60.42 kB / 0.617 GB, free: 116 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/1.32, allocations: 4 kB / 0.617 GB, free: 116 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.227e-05/1.32, allocations: 3.375 kB / 0.617 GB, free: 116 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01224/1.333, allocations: 6.171 MB / 0.6231 GB, free: 113.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.596e-05/1.333, allocations: 1.375 kB / 0.6231 GB, free: 113.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/1.334, allocations: 152.6 kB / 0.6232 GB, free: 113.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003305/1.337, allocations: 0.6707 MB / 0.6239 GB, free: 112.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001771/1.337, allocations: 22.5 kB / 0.6239 GB, free: 112.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002367/1.34, allocations: 1.801 MB / 0.6256 GB, free: 111.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/1.34, allocations: 1.094 kB / 0.6256 GB, free: 111.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008779/1.349, allocations: 3.87 MB / 0.6294 GB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009924/1.35, allocations: 405.1 kB / 0.6298 GB, free: 109.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002702/1.35, allocations: 21.42 kB / 0.6298 GB, free: 109.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001261/1.351, allocations: 84.38 kB / 0.6299 GB, free: 109.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002426/1.352, allocations: 70.42 kB / 0.63 GB, free: 109.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/1.352, allocations: 31.31 kB / 0.63 GB, free: 109.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001209/1.353, allocations: 0.5656 MB / 0.6306 GB, free: 109.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.91e-07/1.353, allocations: 0 / 0.6306 GB, free: 109.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006295/1.359, allocations: 1.427 MB / 0.6319 GB, free: 109 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (mixingVolume1.medium.p,mixingVolume1.medium.h,mixingVolume2.medium.h) * Number of discrete variables: 34 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse24.phase,$cse24.region,mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,sink2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 10,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01624/1.376, allocations: 5.661 MB / 0.6375 GB, free: 106.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004312/1.38, allocations: 1.643 MB / 0.6391 GB, free: 105.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.283e-06/1.38, allocations: 0 / 0.6391 GB, free: 105.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002601/1.383, allocations: 1.195 MB / 0.6402 GB, free: 104.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004023/1.387, allocations: 436.8 kB / 0.6407 GB, free: 103.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1822/1.569, allocations: 80.7 MB / 0.7195 GB, free: 24.58 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009756/1.57, allocations: 1.418 MB / 0.7209 GB, free: 23.12 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00209/1.572, allocations: 0.5526 MB / 0.7214 GB, free: 22.58 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001162/1.573, allocations: 0.6399 MB / 0.722 GB, free: 21.94 MB / 426.7 MB Notification: Performance of SimCode: time 2.063e-06/1.573, allocations: 0 / 0.722 GB, free: 21.94 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4707/2.044, allocations: 71.04 MB / 0.7914 GB, free: 99.54 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002962/2.044, allocations: 294.8 kB / 0.7917 GB, free: 99.17 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.513/9.557, allocations: 0 / 0.7917 GB, free: 99.17 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.mat does not exist to compare? outputFormat=mat