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.001177/0.001177, allocations: 94 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001571/0.001572, allocations: 200.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 227.7 MB / 246.8 MB, free: 9.539 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.186/0.186, allocations: 46.18 MB / 345.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002585/0.0002585, allocations: 8 kB / 419.6 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.111, allocations: 63.56 MB / 483.2 MB, free: 4.031 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.2453/0.3564, allocations: 57.29 MB / 0.5278 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03073/0.3871, allocations: 31.53 MB / 0.5586 GB, free: 8.148 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001431/0.3886, allocations: 34.88 kB / 0.5586 GB, free: 8.129 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001707/0.3903, allocations: 0.5925 MB / 0.5592 GB, free: 7.633 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01409/0.4044, allocations: 4.755 MB / 0.5638 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009397/0.4138, allocations: 3.355 MB / 0.5671 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004122/0.418, allocations: 4.193 MB / 0.5712 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001171/0.4192, allocations: 0.7147 MB / 0.5719 GB, free: 14.01 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01206/0.4312, allocations: 6.147 MB / 0.5779 GB, free: 7.777 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01336/0.4446, allocations: 7.462 MB / 0.5852 GB, free: 208 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003784/0.445, allocations: 64 kB / 0.5853 GB, free: 144 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01615/0.4612, allocations: 8.265 MB / 0.5933 GB, free: 7.867 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000661/0.4619, allocations: 346.8 kB / 0.5937 GB, free: 7.527 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001206/0.4631, allocations: 0.6588 MB / 0.5943 GB, free: 6.859 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01443/0.4775, allocations: 6.232 MB / 0.6004 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4776, allocations: 4 kB / 0.6004 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.4776, allocations: 3.938 kB / 0.6004 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.079e-05/0.4777, allocations: 4 kB / 0.6004 GB, free: 0.6016 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: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.005522/0.4832, allocations: 2.015 MB / 0.6024 GB, free: 14.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.4833, allocations: 8.031 kB / 0.6024 GB, free: 14.53 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004116/0.4837, allocations: 160.5 kB / 0.6025 GB, free: 14.36 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004852/0.4885, allocations: 0.6473 MB / 0.6032 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001623/0.4902, allocations: 0.772 MB / 0.6039 GB, free: 12.9 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002477/0.4905, allocations: 209.5 kB / 0.6041 GB, free: 12.67 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002828/0.4908, allocations: 99.94 kB / 0.6042 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004351/0.4951, allocations: 1.861 MB / 0.606 GB, free: 10.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.472e-05/0.4952, allocations: 7.938 kB / 0.606 GB, free: 10.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00015/0.4953, allocations: 44 kB / 0.6061 GB, free: 10.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.608e-05/0.4954, allocations: 45.94 kB / 0.6061 GB, free: 10.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004152/0.4996, allocations: 1.694 MB / 0.6078 GB, free: 8.785 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.009499/0.5091, allocations: 8.598 MB / 0.6162 GB, free: 15.57 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002977/0.5121, allocations: 1.03 MB / 0.6172 GB, free: 14.53 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008465/0.5129, allocations: 438.3 kB / 0.6176 GB, free: 14.1 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04582/0.5588, allocations: 27.84 MB / 0.6448 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.188e-05/0.5589, allocations: 43.11 kB / 0.6448 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006607/0.5595, allocations: 103 kB / 0.6449 GB, free: 13.87 MB / 494.1 MB Notification: Performance of pre-optimization done (n=70): time 3.627e-06/0.5596, allocations: 3.938 kB / 0.6449 GB, free: 13.87 MB / 494.1 MB Notification: Performance of matching and sorting (n=78): time 0.01043/0.57, allocations: 3.583 MB / 0.6484 GB, free: 10.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.362e-05/0.5701, allocations: 111.5 kB / 0.6485 GB, free: 10.07 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.5713, allocations: 0.8488 MB / 0.6494 GB, free: 9.211 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.958e-05/0.5713, allocations: 45.7 kB / 0.6494 GB, free: 9.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003949/0.5717, allocations: 0.5679 MB / 0.65 GB, free: 8.582 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002221/0.572, allocations: 284.1 kB / 0.6502 GB, free: 8.301 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/0.5721, allocations: 113.6 kB / 0.6503 GB, free: 8.184 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.5723, allocations: 402.7 kB / 0.6507 GB, free: 7.781 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009395/0.5733, allocations: 454.3 kB / 0.6512 GB, free: 7.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001306/0.5746, allocations: 1.009 MB / 0.6521 GB, free: 6.055 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002379/0.577, allocations: 1.529 MB / 0.6536 GB, free: 4.262 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.337e-05/0.577, allocations: 8 kB / 0.6536 GB, free: 4.254 MB / 494.1 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003525/0.5805, allocations: 1.767 MB / 0.6554 GB, free: 2.473 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.254e-05/0.5806, allocations: 12 kB / 0.6554 GB, free: 2.461 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.721e-05/0.5806, allocations: 20.09 kB / 0.6554 GB, free: 2.441 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002759/0.5834, allocations: 0.6261 MB / 0.656 GB, free: 1.809 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007819/0.5842, allocations: 255.6 kB / 0.6563 GB, free: 1.559 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002298/0.5865, allocations: 1.846 MB / 0.6581 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.5877, allocations: 135.8 kB / 0.6582 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/0.5878, allocations: 75.98 kB / 0.6583 GB, free: 15.45 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.0005138/0.5883, allocations: 335.5 kB / 0.6586 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002057/0.5885, allocations: 102.8 kB / 0.6587 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005649/0.5942, allocations: 4.52 MB / 0.6631 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.146e-05/0.5943, allocations: 63.89 kB / 0.6632 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.5943, allocations: 0 / 0.6632 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.5943, allocations: 3.984 kB / 0.6632 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007149/0.6014, allocations: 6.305 MB / 0.6693 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.6015, allocations: 0 / 0.6693 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006331/0.6021, allocations: 167.8 kB / 0.6695 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001803/0.6039, allocations: 0.6828 MB / 0.6701 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.887e-05/0.604, allocations: 27.98 kB / 0.6702 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001474/0.6055, allocations: 1.795 MB / 0.6719 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.6055, allocations: 0 / 0.6719 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005058/0.6106, allocations: 3.994 MB / 0.6758 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006473/0.6112, allocations: 421.9 kB / 0.6762 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002134/0.6114, allocations: 19.94 kB / 0.6762 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008305/0.6123, allocations: 95.77 kB / 0.6763 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/0.6124, allocations: 76.89 kB / 0.6764 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.011e-05/0.6125, allocations: 35.98 kB / 0.6764 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008758/0.6134, allocations: 0.6588 MB / 0.6771 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6134, allocations: 0 / 0.6771 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003836/0.6173, allocations: 1.448 MB / 0.6785 GB, free: 10.43 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.01066/0.6279, allocations: 5.808 MB / 0.6842 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002944/0.6309, allocations: 1.695 MB / 0.6858 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.6309, allocations: 0 / 0.6858 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001672/0.6326, allocations: 1.231 MB / 0.687 GB, free: 1.641 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002763/0.6354, allocations: 0.5049 MB / 0.6875 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02023/0.6556, allocations: 13.91 MB / 0.7011 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009647/0.6566, allocations: 1.383 MB / 0.7025 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00139/0.658, allocations: 0.6012 MB / 0.703 GB, free: 396 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1889/0.8469, allocations: 0.6447 MB / 0.7037 GB, free: 188.6 MB / 0.5294 GB Notification: Performance of SimCode: time 9.52e-07/0.847, allocations: 0.5938 kB / 0.7037 GB, free: 188.6 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1005/0.9475, allocations: 73.58 MB / 0.7755 GB, free: 134.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001902/0.9478, allocations: 311.8 kB / 0.7758 GB, free: 134.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.127/6.075, allocations: 0 / 0.7758 GB, free: 134.1 MB / 0.5294 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