Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001636/0.001637, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001905/0.001905, allocations: 201.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2172/0.2172, allocations: 46.12 MB / 344.4 MB, free: 11.44 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002348/0.002348, allocations: 83.86 kB / 480.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3276, allocations: 62.44 MB / 0.5306 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.06504/0.3927, allocations: 57.02 MB / 0.5863 GB, free: 8.414 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03915/0.4319, allocations: 30.75 MB / 0.6163 GB, free: 9.551 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001226/0.4332, allocations: 27.81 kB / 0.6163 GB, free: 9.523 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001989/0.4352, allocations: 0.6638 MB / 0.617 GB, free: 8.855 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0165/0.4517, allocations: 5.733 MB / 0.6226 GB, free: 3.117 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01132/0.4631, allocations: 3.895 MB / 0.6264 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004461/0.4676, allocations: 3.051 MB / 0.6294 GB, free: 12.16 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001835/0.4694, allocations: 0.813 MB / 0.6302 GB, free: 11.34 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01655/0.486, allocations: 6.338 MB / 0.6363 GB, free: 4.914 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01737/0.5034, allocations: 7.435 MB / 0.6436 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005119/0.504, allocations: 116 kB / 0.6437 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01967/0.5236, allocations: 8.393 MB / 0.6519 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008555/0.5245, allocations: 406.8 kB / 0.6523 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001301/0.5259, allocations: 0.6845 MB / 0.653 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0151/0.541, allocations: 6.332 MB / 0.6592 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.541, allocations: 8 kB / 0.6592 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.834e-06/0.541, allocations: 0 / 0.6592 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.512e-05/0.5411, allocations: 0 / 0.6592 GB, free: 13.41 MB / 0.5137 GB 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.005969/0.547, allocations: 2.313 MB / 0.6614 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.5471, allocations: 8.031 kB / 0.6614 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002136/0.5473, allocations: 168.5 kB / 0.6616 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004849/0.5522, allocations: 0.6285 MB / 0.6622 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00166/0.5539, allocations: 0.8117 MB / 0.663 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002215/0.5541, allocations: 217 kB / 0.6632 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001951/0.5543, allocations: 96 kB / 0.6633 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004363/0.5587, allocations: 1.818 MB / 0.6651 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.149e-05/0.5588, allocations: 11.94 kB / 0.6651 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001424/0.5589, allocations: 44 kB / 0.6651 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.319e-05/0.559, allocations: 45.98 kB / 0.6652 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004459/0.5635, allocations: 1.635 MB / 0.6668 GB, free: 5.352 MB / 0.5137 GB 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.0119/0.5754, allocations: 8.596 MB / 0.6752 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003194/0.5786, allocations: 0.9851 MB / 0.6761 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008978/0.5796, allocations: 418.3 kB / 0.6765 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04955/0.6291, allocations: 27.55 MB / 0.7034 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.225e-05/0.6292, allocations: 39.12 kB / 0.7035 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005852/0.6298, allocations: 91.28 kB / 0.7035 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 5.801e-06/0.6298, allocations: 4 kB / 0.7036 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=78): time 0.01075/0.6406, allocations: 3.48 MB / 0.7069 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.779e-05/0.6407, allocations: 115.4 kB / 0.7071 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.6419, allocations: 0.8529 MB / 0.7079 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.728e-05/0.642, allocations: 41.7 kB / 0.7079 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004745/0.6425, allocations: 0.5891 MB / 0.7085 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002735/0.6427, allocations: 289.6 kB / 0.7088 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004035/0.6431, allocations: 270.7 kB / 0.709 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002262/0.6434, allocations: 406.7 kB / 0.7094 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/0.6444, allocations: 430.3 kB / 0.7098 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001515/0.6459, allocations: 0.9931 MB / 0.7108 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00262/0.6486, allocations: 1.501 MB / 0.7123 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.655e-05/0.6486, allocations: 4 kB / 0.7123 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003703/0.6523, allocations: 1.729 MB / 0.714 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.369e-05/0.6524, allocations: 12 kB / 0.714 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-05/0.6524, allocations: 20.09 kB / 0.714 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002674/0.6551, allocations: 0.6027 MB / 0.7146 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007676/0.6559, allocations: 247.6 kB / 0.7148 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002471/0.6583, allocations: 1.832 MB / 0.7166 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009352/0.6593, allocations: 67.95 kB / 0.7167 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001417/0.6595, allocations: 80.05 kB / 0.7168 GB, free: 12.54 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 16 (sink2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume1.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 (131): * Single equations (assignments): 129 * 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 {(1,4), (3,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0005776/0.66, allocations: 339.5 kB / 0.7171 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002975/0.6603, allocations: 115.2 kB / 0.7172 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006173/0.6665, allocations: 4.447 MB / 0.7215 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.225e-05/0.6666, allocations: 63.89 kB / 0.7216 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.6666, allocations: 0 / 0.7216 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/0.6666, allocations: 3.984 kB / 0.7216 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00873/0.6754, allocations: 6.256 MB / 0.7277 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.6754, allocations: 7.984 kB / 0.7277 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006113/0.6761, allocations: 143.8 kB / 0.7278 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001639/0.6777, allocations: 0.5366 MB / 0.7284 GB, free: 488 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001122/0.6779, allocations: 31.92 kB / 0.7284 GB, free: 456 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2331/0.911, allocations: 1.787 MB / 0.7301 GB, free: 188.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.911, allocations: 0 / 0.7301 GB, free: 188.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005508/0.9166, allocations: 3.958 MB / 0.734 GB, free: 187.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005582/0.9172, allocations: 366.8 kB / 0.7344 GB, free: 187.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002043/0.9174, allocations: 35.28 kB / 0.7344 GB, free: 187.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005738/0.918, allocations: 41.86 kB / 0.7344 GB, free: 187.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/0.9181, allocations: 82.08 kB / 0.7345 GB, free: 187 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.585e-05/0.9182, allocations: 33.52 kB / 0.7345 GB, free: 187 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008396/0.9191, allocations: 0.666 MB / 0.7352 GB, free: 186.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9191, allocations: 0 / 0.7352 GB, free: 186.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00371/0.9228, allocations: 1.469 MB / 0.7366 GB, free: 186.7 MB / 0.5762 GB 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,$cse15.phase,$cse15.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse24.phase,$cse24.region,$cse26.phase,$cse26.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 (81): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * 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 {(4,10), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009911/0.9327, allocations: 5.774 MB / 0.7423 GB, free: 184.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002765/0.9355, allocations: 1.668 MB / 0.7439 GB, free: 183.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.9355, allocations: 3.938 kB / 0.7439 GB, free: 183.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001462/0.937, allocations: 1.209 MB / 0.7451 GB, free: 183.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002594/0.9396, allocations: 0.5582 MB / 0.7456 GB, free: 183 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01664/0.9563, allocations: 12.41 MB / 0.7577 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005784/0.9569, allocations: 1.383 MB / 0.7591 GB, free: 171 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00104/0.958, allocations: 0.5817 MB / 0.7597 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005379/0.9585, allocations: 0.6516 MB / 0.7603 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of SimCode: time 9.62e-07/0.9585, allocations: 0 / 0.7603 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1084/1.067, allocations: 75.93 MB / 0.8344 GB, free: 94.17 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.45/18.52, allocations: 27.33 kB / 0.8345 GB, free: 94.14 MB / 0.5762 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe 2>&1)