Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00196/0.001961, allocations: 177.3 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 223.2 MB / 241 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008997/0.0008996, allocations: 103.7 kB / 292.1 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4032/0.4032, allocations: 44.21 MB / 387.5 MB, free: 38.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004781/0.0004783, allocations: 8 kB / 460 MB, free: 1.445 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3952/0.3957, allocations: 61.9 MB / 0.5096 GB, free: 37.43 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.318/7.714, allocations: 2.77 GB / 3.28 GB, free: 7.922 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003569/7.714, allocations: 89.86 kB / 3.28 GB, free: 7.875 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.608/9.322, allocations: 361.7 MB / 3.633 GB, free: 62.07 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.104e-06/9.322, allocations: 0 / 3.633 GB, free: 62.07 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.708e-05/9.322, allocations: 15.31 kB / 3.633 GB, free: 62.06 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.009799/9.332, allocations: 1.724 MB / 3.635 GB, free: 61.04 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.13e-05/9.332, allocations: 7.781 kB / 3.635 GB, free: 61.04 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005058/9.333, allocations: 108 kB / 3.635 GB, free: 60.96 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003959/9.337, allocations: 444.8 kB / 3.635 GB, free: 60.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00184/9.338, allocations: 0.5629 MB / 3.636 GB, free: 60.54 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001757/9.339, allocations: 113.8 kB / 3.636 GB, free: 60.45 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000258/9.339, allocations: 56.83 kB / 3.636 GB, free: 60.43 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003407/9.342, allocations: 1.156 MB / 3.637 GB, free: 59.96 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/9.342, allocations: 0 / 3.637 GB, free: 59.96 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001473/9.343, allocations: 31.66 kB / 3.637 GB, free: 59.95 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.431e-05/9.343, allocations: 38.12 kB / 3.637 GB, free: 59.94 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003023/9.346, allocations: 1.077 MB / 3.638 GB, free: 59.66 MB / 0.5261 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.008999/9.355, allocations: 5.003 MB / 3.643 GB, free: 55.99 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002848/9.358, allocations: 0.9561 MB / 3.644 GB, free: 55.72 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04565/9.403, allocations: 24.07 MB / 3.667 GB, free: 31.93 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.327e-05/9.403, allocations: 46.94 kB / 3.667 GB, free: 31.87 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=47): time 3.076e-06/9.403, allocations: 0 / 3.667 GB, free: 31.87 MB / 0.5261 GB Notification: Performance of matching and sorting (n=47): time 0.006466/9.41, allocations: 2.045 MB / 3.669 GB, free: 29.78 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/9.41, allocations: 111.2 kB / 3.67 GB, free: 29.64 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006949/9.411, allocations: 0.5215 MB / 3.67 GB, free: 29.12 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.224e-05/9.411, allocations: 33.7 kB / 3.67 GB, free: 29.08 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002039/9.411, allocations: 318.5 kB / 3.67 GB, free: 28.77 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/9.411, allocations: 164.3 kB / 3.671 GB, free: 28.61 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.011e-05/9.411, allocations: 16 kB / 3.671 GB, free: 28.59 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001275/9.411, allocations: 378.7 kB / 3.671 GB, free: 28.21 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006161/9.412, allocations: 329.1 kB / 3.671 GB, free: 27.89 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007421/9.413, allocations: 490.2 kB / 3.672 GB, free: 27.35 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006524/9.413, allocations: 364.6 kB / 3.672 GB, free: 26.99 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/9.413, allocations: 0 / 3.672 GB, free: 26.99 MB / 0.5261 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001974/9.415, allocations: 1.067 MB / 3.673 GB, free: 25.91 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.507e-05/9.415, allocations: 12.03 kB / 3.673 GB, free: 25.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/9.415, allocations: 4 kB / 3.673 GB, free: 25.89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/9.416, allocations: 443.6 kB / 3.674 GB, free: 25.47 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004306/9.417, allocations: 119.8 kB / 3.674 GB, free: 25.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001657/9.419, allocations: 1.637 MB / 3.675 GB, free: 23.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000728/9.419, allocations: 111.2 kB / 3.675 GB, free: 23.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.866e-05/9.419, allocations: 35.98 kB / 3.675 GB, free: 23.52 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 9 (Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase,Volume.regularFlow[2],Volume.regularFlow[1],Valve.state_b.phase,Valve.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0003295/9.42, allocations: 238.6 kB / 3.676 GB, free: 23.28 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/9.42, allocations: 67.16 kB / 3.676 GB, free: 23.21 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003578/9.423, allocations: 3.307 MB / 3.679 GB, free: 19.88 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.833e-05/9.423, allocations: 39.94 kB / 3.679 GB, free: 19.84 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/9.423, allocations: 0 / 3.679 GB, free: 19.84 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/9.423, allocations: 7.984 kB / 3.679 GB, free: 19.84 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/9.425, allocations: 1.566 MB / 3.681 GB, free: 18.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/9.425, allocations: 0 / 3.681 GB, free: 18.22 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000322/9.425, allocations: 99.86 kB / 3.681 GB, free: 18.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001241/9.427, allocations: 0.8885 MB / 3.681 GB, free: 17.24 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.296e-05/9.427, allocations: 12 kB / 3.681 GB, free: 17.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001859/9.428, allocations: 2.291 MB / 3.684 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/9.428, allocations: 4.031 kB / 3.684 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002578/9.431, allocations: 2.304 MB / 3.686 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004746/9.432, allocations: 350.7 kB / 3.686 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.575e-05/9.432, allocations: 8 kB / 3.686 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005445/9.432, allocations: 75.84 kB / 3.686 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/9.432, allocations: 68.45 kB / 3.686 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.898e-05/9.432, allocations: 23.98 kB / 3.686 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000527/9.433, allocations: 0.5068 MB / 3.687 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/9.433, allocations: 0 / 3.687 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005941/9.439, allocations: 1.209 MB / 3.688 GB, free: 10.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 27 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,3 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.01324/9.452, allocations: 4.14 MB / 3.692 GB, free: 6.336 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002499/9.455, allocations: 1.15 MB / 3.693 GB, free: 5.188 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/9.455, allocations: 320 / 3.693 GB, free: 5.188 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001232/9.456, allocations: 0.877 MB / 3.694 GB, free: 4.305 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001822/9.458, allocations: 352.5 kB / 3.695 GB, free: 3.969 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01567/9.473, allocations: 9.367 MB / 3.704 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009659/9.475, allocations: 1.173 MB / 3.705 GB, free: 9.246 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0009441/9.475, allocations: 360.7 kB / 3.705 GB, free: 8.895 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000504/9.476, allocations: 395.3 kB / 3.706 GB, free: 8.512 MB / 0.5417 GB Notification: Performance of SimCode: time 2.004e-06/9.476, allocations: 0 / 3.706 GB, free: 8.512 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4956/9.972, allocations: 54.84 MB / 3.759 GB, free: 82.43 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002241/9.972, allocations: 263.8 kB / 3.759 GB, free: 82.09 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.541/14.51, allocations: 0 / 3.759 GB, free: 82.09 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat does not exist to compare? outputFormat=mat