Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.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) 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(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir",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.001631/0.001631, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.695/1.695, allocations: 221.3 MB / 235.5 MB, free: 2.926 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000912/0.0009123, allocations: 91.81 kB / 286.5 MB, free: 184 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.866e-05/3.869e-05, allocations: 0 / 343.9 MB, free: 4.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.147, allocations: 50.41 MB / 394.3 MB, free: 1.766 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.68/17.83, allocations: 6.205 GB / 6.59 GB, free: 9.113 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002416/17.83, allocations: 80.61 kB / 6.59 GB, free: 9.035 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.219/19.05, allocations: 202 MB / 6.787 GB, free: 74.47 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.705e-06/19.05, allocations: 3.656 kB / 6.787 GB, free: 74.47 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.387e-05/19.05, allocations: 3.25 kB / 6.787 GB, free: 74.47 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.008253/19.05, allocations: 1.447 MB / 6.789 GB, free: 73.78 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.597e-05/19.05, allocations: 10.12 kB / 6.789 GB, free: 73.78 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.556e-05/19.06, allocations: 50.14 kB / 6.789 GB, free: 73.74 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001649/19.06, allocations: 15.19 kB / 6.789 GB, free: 73.73 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/19.06, allocations: 228.6 kB / 6.789 GB, free: 73.53 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/19.06, allocations: 9.734 kB / 6.789 GB, free: 73.53 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.486e-05/19.06, allocations: 16.19 kB / 6.789 GB, free: 73.53 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007338/19.06, allocations: 270.3 kB / 6.789 GB, free: 73.48 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/19.06, allocations: 0 / 6.789 GB, free: 73.48 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.442e-05/19.06, allocations: 5.875 kB / 6.789 GB, free: 73.48 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.798e-05/19.06, allocations: 10.56 kB / 6.789 GB, free: 73.48 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006556/19.06, allocations: 273.5 kB / 6.79 GB, free: 73.48 MB / 458.7 MB Warning: The model contains alias variables with conflicting start and/or 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.001524/19.06, allocations: 0.716 MB / 6.79 GB, free: 73.09 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006319/19.06, allocations: 230.6 kB / 6.791 GB, free: 73.05 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002109/19.06, allocations: 113.5 kB / 6.791 GB, free: 73.03 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0135/19.07, allocations: 12.48 MB / 6.803 GB, free: 60.27 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.599e-05/19.07, allocations: 33.31 kB / 6.803 GB, free: 60.23 MB / 458.7 MB Notification: Performance of pre-optimization done (n=29): time 3.957e-06/19.07, allocations: 0 / 6.803 GB, free: 60.23 MB / 458.7 MB Notification: Performance of matching and sorting (n=36): time 0.002356/19.08, allocations: 0.5132 MB / 6.803 GB, free: 60.17 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/19.08, allocations: 86.08 kB / 6.803 GB, free: 60.07 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/19.08, allocations: 116 kB / 6.804 GB, free: 59.98 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.438e-05/19.08, allocations: 34.14 kB / 6.804 GB, free: 59.95 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.645e-05/19.08, allocations: 109.2 kB / 6.804 GB, free: 59.86 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/19.08, allocations: 129.4 kB / 6.804 GB, free: 59.79 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.351e-05/19.08, allocations: 5.781 kB / 6.804 GB, free: 59.79 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.93e-05/19.08, allocations: 336 kB / 6.804 GB, free: 59.47 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002348/19.08, allocations: 112.8 kB / 6.804 GB, free: 59.47 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000323/19.08, allocations: 182.8 kB / 6.804 GB, free: 59.4 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003176/19.08, allocations: 135 kB / 6.805 GB, free: 59.39 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/19.08, allocations: 0 / 6.805 GB, free: 59.39 MB / 458.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008886/19.08, allocations: 371.1 kB / 6.805 GB, free: 59.35 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/19.08, allocations: 6.375 kB / 6.805 GB, free: 59.35 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/19.08, allocations: 1.156 kB / 6.805 GB, free: 59.35 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.91e-05/19.08, allocations: 10.3 kB / 6.805 GB, free: 59.35 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005265/19.08, allocations: 88.12 kB / 6.805 GB, free: 59.35 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.701e-05/19.08, allocations: 8.609 kB / 6.805 GB, free: 59.35 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003298/19.08, allocations: 27.98 kB / 6.805 GB, free: 59.35 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-05/19.08, allocations: 20.69 kB / 6.805 GB, free: 59.35 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001049/19.08, allocations: 128.7 kB / 6.805 GB, free: 59.24 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/19.08, allocations: 22.28 kB / 6.805 GB, free: 59.23 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005641/19.08, allocations: 193.7 kB / 6.805 GB, free: 59.2 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/19.08, allocations: 4.125 kB / 6.805 GB, free: 59.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/19.08, allocations: 1.5 kB / 6.805 GB, free: 59.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/19.08, allocations: 0 / 6.805 GB, free: 59.2 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001273/19.08, allocations: 0.7292 MB / 6.806 GB, free: 58.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/19.08, allocations: 4.375 kB / 6.806 GB, free: 58.84 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004345/19.08, allocations: 84.23 kB / 6.806 GB, free: 58.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/19.08, allocations: 2.594 kB / 6.806 GB, free: 58.84 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.129e-05/19.08, allocations: 8.688 kB / 6.806 GB, free: 58.84 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/19.08, allocations: 5.906 kB / 6.806 GB, free: 58.84 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/19.08, allocations: 2.438 kB / 6.806 GB, free: 58.84 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/19.08, allocations: 0.7164 MB / 6.807 GB, free: 58.48 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/19.08, allocations: 135.1 kB / 6.807 GB, free: 58.38 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.46e-05/19.08, allocations: 6.5 kB / 6.807 GB, free: 58.38 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003359/19.08, allocations: 27.08 kB / 6.807 GB, free: 58.38 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.111e-05/19.08, allocations: 26.59 kB / 6.807 GB, free: 58.38 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.524e-05/19.08, allocations: 16 kB / 6.807 GB, free: 58.38 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.38e-05/19.08, allocations: 99.17 kB / 6.807 GB, free: 58.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/19.08, allocations: 0 / 6.807 GB, free: 58.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00662/19.09, allocations: 1.117 MB / 6.808 GB, free: 58.17 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01331/19.1, allocations: 3.184 MB / 6.811 GB, free: 56.74 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0008849/19.1, allocations: 300.2 kB / 6.812 GB, free: 56.73 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/19.1, allocations: 0 / 6.812 GB, free: 56.73 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002921/19.1, allocations: 159.3 kB / 6.812 GB, free: 56.73 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007854/19.11, allocations: 94.19 kB / 6.812 GB, free: 56.73 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0285/19.13, allocations: 12.85 MB / 6.825 GB, free: 55.18 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/19.13, allocations: 0.7435 MB / 6.825 GB, free: 54.48 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00049/19.13, allocations: 87.36 kB / 6.825 GB, free: 54.47 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001931/19.14, allocations: 74.83 kB / 6.825 GB, free: 54.46 MB / 458.7 MB Notification: Performance of SimCode: time 1.513e-06/19.14, allocations: 0 / 6.825 GB, free: 54.46 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0686/19.2, allocations: 36.39 MB / 6.861 GB, free: 53.62 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001669/19.2, allocations: 189.5 kB / 6.861 GB, free: 53.4 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.004/22.21, allocations: 0 / 6.861 GB, free: 53.4 MB / 458.7 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat does not exist to compare? outputFormat=mat