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.001583/0.001583, allocations: 103.5 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001816/0.001816, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 MB / 246.8 MB, free: 10.52 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.2377/0.2377, allocations: 46.11 MB / 344.2 MB, free: 11.53 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.002288/0.002288, allocations: 91.06 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1207, allocations: 62.44 MB / 480.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.2739/0.3947, allocations: 56.99 MB / 0.5246 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03537/0.4301, allocations: 30.74 MB / 0.5546 GB, free: 7.449 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001708/0.4319, allocations: 27.91 kB / 0.5547 GB, free: 7.438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002439/0.4343, allocations: 0.6747 MB / 0.5553 GB, free: 6.859 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01854/0.4529, allocations: 5.749 MB / 0.5609 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.013/0.4659, allocations: 3.881 MB / 0.5647 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004408/0.4703, allocations: 3.061 MB / 0.5677 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001816/0.4722, allocations: 0.8233 MB / 0.5685 GB, free: 13.21 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01674/0.489, allocations: 6.322 MB / 0.5747 GB, free: 6.801 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01792/0.5069, allocations: 7.454 MB / 0.582 GB, free: 15.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006548/0.5076, allocations: 116 kB / 0.5821 GB, free: 15.12 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02145/0.5291, allocations: 8.218 MB / 0.5901 GB, free: 6.895 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008741/0.53, allocations: 402.8 kB / 0.5905 GB, free: 6.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001636/0.5317, allocations: 0.6806 MB / 0.5911 GB, free: 5.816 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01671/0.5484, allocations: 6.303 MB / 0.5973 GB, free: 15.5 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.5485, allocations: 0 / 0.5973 GB, free: 15.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5485, allocations: 4 kB / 0.5973 GB, free: 15.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.408e-05/0.5486, allocations: 4 kB / 0.5973 GB, free: 15.49 MB / 446.1 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.007097/0.5557, allocations: 2.251 MB / 0.5995 GB, free: 13.19 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.5557, allocations: 12.03 kB / 0.5995 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003951/0.5561, allocations: 160.5 kB / 0.5997 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005158/0.5613, allocations: 0.6278 MB / 0.6003 GB, free: 12.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001747/0.5631, allocations: 0.7682 MB / 0.601 GB, free: 11.58 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002906/0.5634, allocations: 205.5 kB / 0.6012 GB, free: 11.35 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003141/0.5637, allocations: 107.9 kB / 0.6013 GB, free: 11.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004831/0.5686, allocations: 1.818 MB / 0.6031 GB, free: 9.293 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.83e-05/0.5687, allocations: 3.938 kB / 0.6031 GB, free: 9.289 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001833/0.5688, allocations: 51.98 kB / 0.6032 GB, free: 9.238 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-05/0.5689, allocations: 41.98 kB / 0.6032 GB, free: 9.199 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00448/0.5734, allocations: 1.639 MB / 0.6048 GB, free: 7.555 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.01216/0.5856, allocations: 8.606 MB / 0.6132 GB, free: 14.33 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00317/0.5888, allocations: 0.988 MB / 0.6142 GB, free: 13.34 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008987/0.5897, allocations: 426.3 kB / 0.6146 GB, free: 12.92 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04933/0.6391, allocations: 27.49 MB / 0.6414 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.102e-05/0.6392, allocations: 43.12 kB / 0.6415 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000733/0.6399, allocations: 90.95 kB / 0.6416 GB, free: 13.04 MB / 494.1 MB Notification: Performance of pre-optimization done (n=70): time 7.253e-06/0.64, allocations: 0 / 0.6416 GB, free: 13.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=78): time 0.01133/0.6513, allocations: 3.466 MB / 0.6449 GB, free: 9.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.353e-05/0.6514, allocations: 111.5 kB / 0.645 GB, free: 9.367 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.6527, allocations: 0.8527 MB / 0.6459 GB, free: 8.508 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.913e-05/0.6528, allocations: 37.7 kB / 0.6459 GB, free: 8.465 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004646/0.6533, allocations: 0.5678 MB / 0.6465 GB, free: 7.887 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002897/0.6536, allocations: 280.1 kB / 0.6467 GB, free: 7.609 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003968/0.654, allocations: 270.6 kB / 0.647 GB, free: 7.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002344/0.6542, allocations: 414.7 kB / 0.6474 GB, free: 6.926 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009741/0.6552, allocations: 430.3 kB / 0.6478 GB, free: 6.504 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001455/0.6567, allocations: 0.9931 MB / 0.6488 GB, free: 5.242 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002577/0.6593, allocations: 1.494 MB / 0.6502 GB, free: 3.48 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.127e-05/0.6593, allocations: 4 kB / 0.6502 GB, free: 3.477 MB / 494.1 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003992/0.6633, allocations: 1.732 MB / 0.6519 GB, free: 1.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.989e-05/0.6634, allocations: 12 kB / 0.6519 GB, free: 1.719 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.744e-05/0.6635, allocations: 20 kB / 0.652 GB, free: 1.699 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002783/0.6663, allocations: 0.5988 MB / 0.6525 GB, free: 1.094 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007754/0.6671, allocations: 251.5 kB / 0.6528 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002472/0.6695, allocations: 1.824 MB / 0.6546 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.6706, allocations: 72.03 kB / 0.6546 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001476/0.6708, allocations: 75.98 kB / 0.6547 GB, free: 14.83 MB / 0.4981 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.0006347/0.6715, allocations: 343.4 kB / 0.655 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003204/0.6718, allocations: 110.7 kB / 0.6551 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006175/0.678, allocations: 4.451 MB / 0.6595 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.304e-05/0.6781, allocations: 55.91 kB / 0.6595 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.6781, allocations: 4 kB / 0.6595 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.6781, allocations: 3.984 kB / 0.6595 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00832/0.6864, allocations: 6.266 MB / 0.6657 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.6865, allocations: 0 / 0.6657 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006069/0.6871, allocations: 151.8 kB / 0.6658 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001558/0.6886, allocations: 0.5376 MB / 0.6663 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.802e-05/0.6887, allocations: 27.98 kB / 0.6664 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00188/0.6906, allocations: 1.784 MB / 0.6681 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.6906, allocations: 0 / 0.6681 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005572/0.6962, allocations: 3.943 MB / 0.672 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006333/0.6969, allocations: 362.2 kB / 0.6723 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002495/0.6971, allocations: 31.83 kB / 0.6723 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006779/0.6978, allocations: 48.03 kB / 0.6724 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/0.698, allocations: 76.89 kB / 0.6724 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.57e-05/0.6981, allocations: 35.98 kB / 0.6725 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009867/0.6991, allocations: 0.6627 MB / 0.6731 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.41e-07/0.6991, allocations: 3.938 kB / 0.6731 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004206/0.7033, allocations: 1.452 MB / 0.6746 GB, free: 10.2 MB / 0.5137 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.01178/0.7151, allocations: 5.765 MB / 0.6802 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005265/0.7204, allocations: 1.784 MB / 0.6819 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.7204, allocations: 0 / 0.6819 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001963/0.7224, allocations: 1.216 MB / 0.6831 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002957/0.7254, allocations: 0.5556 MB / 0.6837 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02369/0.7491, allocations: 12.95 MB / 0.6963 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001398/0.7505, allocations: 1.391 MB / 0.6977 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001549/0.7521, allocations: 0.5867 MB / 0.6982 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008933/0.753, allocations: 0.6516 MB / 0.6989 GB, free: 412 kB / 0.5294 GB Notification: Performance of SimCode: time 1.423e-06/0.753, allocations: 0 / 0.6989 GB, free: 412 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3211/1.074, allocations: 75.53 MB / 0.7726 GB, free: 162.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.06/16.14, allocations: 8.359 kB / 0.7726 GB, free: 162.2 MB / 0.545 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 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)