Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,fileNamePrefix="ModelicaTest_trunk_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.001309/0.001309, allocations: 109.2 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001229/0.001228, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 227.4 MB / 246.3 MB, free: 9.039 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2417/0.2417, allocations: 46.12 MB / 343.6 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 76.72 kB / 416.9 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1157, allocations: 62.44 MB / 479.4 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.3112/0.4269, allocations: 58.39 MB / 0.5252 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03738/0.4643, allocations: 31.99 MB / 0.5564 GB, free: 6.426 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002453/0.4668, allocations: 37.38 kB / 0.5564 GB, free: 6.406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00246/0.4693, allocations: 0.5945 MB / 0.557 GB, free: 5.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01868/0.4881, allocations: 4.747 MB / 0.5617 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01222/0.5003, allocations: 3.356 MB / 0.5649 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005719/0.506, allocations: 4.193 MB / 0.569 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001959/0.508, allocations: 0.7154 MB / 0.5697 GB, free: 11.96 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01639/0.5244, allocations: 6.155 MB / 0.5757 GB, free: 5.723 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01712/0.5416, allocations: 7.473 MB / 0.583 GB, free: 14.14 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004893/0.5421, allocations: 67.94 kB / 0.5831 GB, free: 14.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01898/0.5611, allocations: 8.261 MB / 0.5912 GB, free: 5.801 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008501/0.562, allocations: 362.8 kB / 0.5915 GB, free: 5.445 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001585/0.5636, allocations: 0.6337 MB / 0.5921 GB, free: 4.809 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01865/0.5822, allocations: 6.276 MB / 0.5983 GB, free: 14.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/0.5823, allocations: 0 / 0.5983 GB, free: 14.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 5.711e-06/0.5823, allocations: 0 / 0.5983 GB, free: 14.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.394e-05/0.5824, allocations: 7.844 kB / 0.5983 GB, free: 14.51 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.009071/0.5915, allocations: 2.25 MB / 0.6005 GB, free: 12.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.464e-05/0.5916, allocations: 8.031 kB / 0.6005 GB, free: 12.2 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004822/0.5921, allocations: 160.5 kB / 0.6006 GB, free: 12.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00533/0.5974, allocations: 0.6278 MB / 0.6012 GB, free: 11.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001717/0.5992, allocations: 0.7682 MB / 0.602 GB, free: 10.6 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002804/0.5995, allocations: 217.5 kB / 0.6022 GB, free: 10.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002679/0.5997, allocations: 103.9 kB / 0.6023 GB, free: 10.26 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004601/0.6043, allocations: 1.818 MB / 0.6041 GB, free: 8.309 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.153e-05/0.6044, allocations: 4 kB / 0.6041 GB, free: 8.305 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001354/0.6045, allocations: 47.98 kB / 0.6041 GB, free: 8.258 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.037e-05/0.6046, allocations: 49.92 kB / 0.6042 GB, free: 8.207 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004044/0.6087, allocations: 1.643 MB / 0.6058 GB, free: 6.562 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.009931/0.6186, allocations: 8.563 MB / 0.6141 GB, free: 13.38 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00305/0.6217, allocations: 0.9936 MB / 0.6151 GB, free: 12.38 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000838/0.6225, allocations: 426.3 kB / 0.6155 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04519/0.6677, allocations: 27.49 MB / 0.6424 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.826e-05/0.6678, allocations: 47.12 kB / 0.6424 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008777/0.6687, allocations: 106.9 kB / 0.6425 GB, free: 12.07 MB / 494.1 MB Notification: Performance of pre-optimization done (n=70): time 2.775e-06/0.6687, allocations: 0 / 0.6425 GB, free: 12.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=78): time 0.0104/0.6791, allocations: 3.462 MB / 0.6459 GB, free: 8.523 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.809e-05/0.6793, allocations: 111.5 kB / 0.646 GB, free: 8.391 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/0.6804, allocations: 0.8564 MB / 0.6468 GB, free: 7.527 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.572e-05/0.6804, allocations: 37.7 kB / 0.6469 GB, free: 7.484 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004192/0.6809, allocations: 0.5601 MB / 0.6474 GB, free: 6.914 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000215/0.6811, allocations: 288 kB / 0.6477 GB, free: 6.629 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003407/0.6814, allocations: 266.6 kB / 0.6479 GB, free: 6.363 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.6816, allocations: 410.7 kB / 0.6483 GB, free: 5.953 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008748/0.6825, allocations: 434.3 kB / 0.6488 GB, free: 5.527 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001291/0.6838, allocations: 0.997 MB / 0.6497 GB, free: 4.258 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002294/0.6861, allocations: 1.49 MB / 0.6512 GB, free: 2.504 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/0.6861, allocations: 8 kB / 0.6512 GB, free: 2.496 MB / 494.1 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003407/0.6895, allocations: 1.736 MB / 0.6529 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.074e-05/0.6896, allocations: 12 kB / 0.6529 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.999e-05/0.6896, allocations: 20 kB / 0.6529 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002641/0.6923, allocations: 0.595 MB / 0.6535 GB, free: 116 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007148/0.693, allocations: 247.6 kB / 0.6537 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002212/0.6952, allocations: 1.823 MB / 0.6555 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.6963, allocations: 119.9 kB / 0.6556 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.6964, allocations: 75.98 kB / 0.6557 GB, free: 13.8 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.0005389/0.697, allocations: 339.5 kB / 0.656 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002199/0.6972, allocations: 106.7 kB / 0.6561 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005635/0.7028, allocations: 4.466 MB / 0.6605 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.935e-05/0.7029, allocations: 59.91 kB / 0.6605 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.7029, allocations: 0 / 0.6605 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.7029, allocations: 3.984 kB / 0.6605 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007448/0.7104, allocations: 6.262 MB / 0.6667 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.7104, allocations: 0 / 0.6667 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005766/0.711, allocations: 155.8 kB / 0.6668 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001716/0.7127, allocations: 0.6548 MB / 0.6674 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.223e-05/0.7128, allocations: 27.98 kB / 0.6675 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001617/0.7144, allocations: 1.784 MB / 0.6692 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.7144, allocations: 48 / 0.6692 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005151/0.7196, allocations: 3.955 MB / 0.6731 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006133/0.7202, allocations: 358.2 kB / 0.6734 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002298/0.7205, allocations: 35.75 kB / 0.6735 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008068/0.7213, allocations: 79.78 kB / 0.6735 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/0.7215, allocations: 68.89 kB / 0.6736 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-05/0.7215, allocations: 39.98 kB / 0.6736 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009658/0.7225, allocations: 0.6627 MB / 0.6743 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.9e-07/0.7225, allocations: 0 / 0.6743 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004227/0.7267, allocations: 1.448 MB / 0.6757 GB, free: 9.031 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.01225/0.739, allocations: 5.768 MB / 0.6813 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003611/0.7427, allocations: 1.656 MB / 0.6829 GB, free: 1.543 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.7427, allocations: 8 kB / 0.683 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001832/0.7445, allocations: 1.2 MB / 0.6841 GB, free: 344 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002818/0.7474, allocations: 0.513 MB / 0.6846 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02411/0.7715, allocations: 13.69 MB / 0.698 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001213/0.7727, allocations: 1.387 MB / 0.6994 GB, free: 15.89 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001517/0.7743, allocations: 0.593 MB / 0.6999 GB, free: 15.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008264/0.7751, allocations: 0.6477 MB / 0.7006 GB, free: 14.65 MB / 0.545 GB Notification: Performance of SimCode: time 8.32e-07/0.7751, allocations: 4 kB / 0.7006 GB, free: 14.65 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3257/1.101, allocations: 73.95 MB / 0.7728 GB, free: 161.5 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001603/1.101, allocations: 301.9 kB / 0.7731 GB, free: 161.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.365/6.466, allocations: 9.688 kB / 0.7731 GB, free: 161.2 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.mat does not exist to compare? outputFormat=mat