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.001196/0.001196, allocations: 106.8 kB / 17.32 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001291/0.001291, allocations: 205.8 kB / 18.26 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2031/0.2031, allocations: 46.1 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001569, allocations: 79.8 kB / 417.2 MB, free: 19.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1215, allocations: 62.44 MB / 479.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.3053/0.4268, allocations: 57.55 MB / 0.5246 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04102/0.4679, allocations: 30.88 MB / 0.5547 GB, free: 7.281 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002774/0.4707, allocations: 39.31 kB / 0.5548 GB, free: 7.262 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002726/0.4736, allocations: 0.6049 MB / 0.5553 GB, free: 6.754 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01868/0.4923, allocations: 5.121 MB / 0.5603 GB, free: 3.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01151/0.5038, allocations: 3.552 MB / 0.5638 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004215/0.508, allocations: 3.061 MB / 0.5668 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00158/0.5096, allocations: 0.8172 MB / 0.5676 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01436/0.524, allocations: 6.323 MB / 0.5738 GB, free: 7.629 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01522/0.5393, allocations: 7.489 MB / 0.5811 GB, free: 28 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005491/0.5399, allocations: 112 kB / 0.5812 GB, free: 15.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.017/0.5569, allocations: 8.289 MB / 0.5893 GB, free: 7.621 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007542/0.5577, allocations: 414.8 kB / 0.5897 GB, free: 7.215 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001402/0.5591, allocations: 0.6845 MB / 0.5904 GB, free: 6.527 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01547/0.5746, allocations: 6.33 MB / 0.5965 GB, free: 188 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.5746, allocations: 0 / 0.5965 GB, free: 188 kB / 430.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.5746, allocations: 0 / 0.5965 GB, free: 188 kB / 430.1 MB Notification: Performance of Transformations before backend: time 2.629e-05/0.5747, allocations: 0 / 0.5965 GB, free: 188 kB / 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.009033/0.5837, allocations: 2.254 MB / 0.5987 GB, free: 13.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.924e-05/0.5838, allocations: 12.03 kB / 0.5987 GB, free: 13.87 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003273/0.5841, allocations: 164.5 kB / 0.5989 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008032/0.5922, allocations: 0.6208 MB / 0.5995 GB, free: 13.08 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002824/0.5951, allocations: 0.7799 MB / 0.6003 GB, free: 12.26 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004681/0.5956, allocations: 205.5 kB / 0.6005 GB, free: 12.03 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005427/0.5962, allocations: 103.9 kB / 0.6006 GB, free: 11.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008179/0.6044, allocations: 1.822 MB / 0.6023 GB, free: 9.973 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.827e-05/0.6045, allocations: 11.84 kB / 0.6024 GB, free: 9.961 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003119/0.6048, allocations: 44 kB / 0.6024 GB, free: 9.918 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001121/0.605, allocations: 45.98 kB / 0.6024 GB, free: 9.875 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008142/0.6131, allocations: 1.643 MB / 0.604 GB, free: 8.227 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.01782/0.631, allocations: 8.563 MB / 0.6124 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00562/0.6366, allocations: 0.9947 MB / 0.6134 GB, free: 14.05 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001636/0.6383, allocations: 414.3 kB / 0.6138 GB, free: 13.64 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06068/0.699, allocations: 27.5 MB / 0.6406 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.344e-05/0.6991, allocations: 39.12 kB / 0.6407 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006975/0.6998, allocations: 102.9 kB / 0.6408 GB, free: 13.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=70): time 3.477e-06/0.6998, allocations: 0 / 0.6408 GB, free: 13.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=78): time 0.01063/0.7105, allocations: 3.458 MB / 0.6441 GB, free: 10.21 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/0.7105, allocations: 111.5 kB / 0.6443 GB, free: 10.08 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.7117, allocations: 0.8565 MB / 0.6451 GB, free: 9.215 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.864e-05/0.7117, allocations: 41.64 kB / 0.6451 GB, free: 9.168 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003795/0.7121, allocations: 0.564 MB / 0.6457 GB, free: 8.594 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002185/0.7124, allocations: 284 kB / 0.646 GB, free: 8.312 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003513/0.7127, allocations: 266.6 kB / 0.6462 GB, free: 8.047 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.7129, allocations: 406.7 kB / 0.6466 GB, free: 7.641 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008978/0.7138, allocations: 438.3 kB / 0.647 GB, free: 7.211 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/0.7151, allocations: 0.9931 MB / 0.648 GB, free: 5.945 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002406/0.7176, allocations: 1.494 MB / 0.6494 GB, free: 4.188 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.451e-05/0.7176, allocations: 11.94 kB / 0.6495 GB, free: 4.176 MB / 494.1 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003377/0.721, allocations: 1.727 MB / 0.6511 GB, free: 2.434 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.721, allocations: 16.94 kB / 0.6512 GB, free: 2.418 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.463e-05/0.721, allocations: 16 kB / 0.6512 GB, free: 2.402 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002647/0.7237, allocations: 0.6027 MB / 0.6518 GB, free: 1.793 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000719/0.7244, allocations: 247.6 kB / 0.652 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002227/0.7267, allocations: 1.811 MB / 0.6538 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/0.7279, allocations: 119.9 kB / 0.6539 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/0.728, allocations: 79.98 kB / 0.654 GB, free: 15.49 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.0005745/0.7286, allocations: 331.5 kB / 0.6543 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002836/0.7289, allocations: 106.7 kB / 0.6544 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005996/0.7349, allocations: 4.471 MB / 0.6587 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.167e-05/0.735, allocations: 55.91 kB / 0.6588 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.735, allocations: 0 / 0.6588 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/0.735, allocations: 3.984 kB / 0.6588 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008299/0.7433, allocations: 6.262 MB / 0.6649 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.7434, allocations: 0 / 0.6649 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000614/0.744, allocations: 159.8 kB / 0.6651 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001599/0.7456, allocations: 0.5343 MB / 0.6656 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.792e-05/0.7457, allocations: 20 kB / 0.6656 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00176/0.7475, allocations: 1.799 MB / 0.6674 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.7475, allocations: 4 kB / 0.6674 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00533/0.7528, allocations: 3.939 MB / 0.6712 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007178/0.7536, allocations: 362.2 kB / 0.6716 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002564/0.7538, allocations: 31.75 kB / 0.6716 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008462/0.7547, allocations: 91.77 kB / 0.6717 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/0.7549, allocations: 64.91 kB / 0.6717 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-05/0.7549, allocations: 39.97 kB / 0.6718 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009642/0.7559, allocations: 0.6588 MB / 0.6724 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7559, allocations: 0 / 0.6724 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004661/0.7606, allocations: 1.452 MB / 0.6738 GB, free: 10.84 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.01244/0.773, allocations: 5.777 MB / 0.6795 GB, free: 5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004983/0.7781, allocations: 1.784 MB / 0.6812 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.7781, allocations: 0 / 0.6812 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001878/0.78, allocations: 1.216 MB / 0.6824 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002958/0.7829, allocations: 0.5429 MB / 0.6829 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02527/0.8082, allocations: 13.7 MB / 0.6963 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001129/0.8094, allocations: 1.387 MB / 0.6977 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001436/0.8109, allocations: 0.5948 MB / 0.6983 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007504/0.8116, allocations: 0.6516 MB / 0.6989 GB, free: 288 kB / 0.5294 GB Notification: Performance of SimCode: time 8.01e-07/0.8116, allocations: 0 / 0.6989 GB, free: 288 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.334/1.146, allocations: 75.17 MB / 0.7723 GB, free: 161.8 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001757/1.146, allocations: 301.8 kB / 0.7726 GB, free: 161.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.705/6.851, allocations: 4.062 kB / 0.7726 GB, free: 161.5 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