Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.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.DryAir2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir2",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.001134/0.001135, allocations: 177.1 kB / 13.64 MB, free: 1.676 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.493/1.493, allocations: 221.3 MB / 235.5 MB, free: 2.879 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.0009746/0.0009744, allocations: 93.8 kB / 286.5 MB, free: 164 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.375e-05/3.378e-05, allocations: 0 / 343.9 MB, free: 4.195 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1298, allocations: 50.41 MB / 394.3 MB, free: 1.742 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.858/1.988, allocations: 0.5366 GB / 0.9217 GB, free: 127.7 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/1.988, allocations: 74.95 kB / 0.9218 GB, free: 127.7 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.604/2.592, allocations: 147.2 MB / 1.066 GB, free: 93.04 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.336e-06/2.592, allocations: 0 / 1.066 GB, free: 93.04 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.961e-05/2.592, allocations: 8.25 kB / 1.066 GB, free: 93.04 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.00226/2.594, allocations: 0.6727 MB / 1.066 GB, free: 92.64 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.408e-05/2.594, allocations: 9.562 kB / 1.066 GB, free: 92.64 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000213/2.595, allocations: 75.34 kB / 1.066 GB, free: 92.6 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008458/2.596, allocations: 75.59 kB / 1.066 GB, free: 92.58 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007489/2.596, allocations: 338.3 kB / 1.067 GB, free: 92.37 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.559e-05/2.596, allocations: 26.56 kB / 1.067 GB, free: 92.37 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/2.596, allocations: 42.56 kB / 1.067 GB, free: 92.37 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009894/2.597, allocations: 454.2 kB / 1.067 GB, free: 92.22 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.073e-05/2.598, allocations: 2 kB / 1.067 GB, free: 92.22 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.128e-05/2.598, allocations: 27.05 kB / 1.067 GB, free: 92.21 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.186e-05/2.598, allocations: 14.03 kB / 1.067 GB, free: 92.21 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006605/2.598, allocations: 291.1 kB / 1.068 GB, free: 92.21 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01443/2.613, allocations: 6.333 MB / 1.074 GB, free: 88.42 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005819/2.613, allocations: 279.7 kB / 1.074 GB, free: 88.39 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002278/2.614, allocations: 144.2 kB / 1.074 GB, free: 88.39 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009057/2.623, allocations: 3.487 MB / 1.077 GB, free: 86.84 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.683e-05/2.623, allocations: 38.81 kB / 1.078 GB, free: 86.8 MB / 442.7 MB Notification: Performance of pre-optimization done (n=35): time 6.403e-06/2.623, allocations: 0 / 1.078 GB, free: 86.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=45): time 0.01073/2.634, allocations: 2.277 MB / 1.08 GB, free: 86.38 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/2.634, allocations: 55.34 kB / 1.08 GB, free: 86.32 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000399/2.634, allocations: 269.6 kB / 1.08 GB, free: 86.21 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.428e-05/2.634, allocations: 36.67 kB / 1.08 GB, free: 86.18 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/2.634, allocations: 226 kB / 1.08 GB, free: 86.03 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/2.634, allocations: 158.8 kB / 1.08 GB, free: 85.93 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.244e-05/2.634, allocations: 11.75 kB / 1.08 GB, free: 85.93 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/2.635, allocations: 349.3 kB / 1.081 GB, free: 85.62 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002588/2.635, allocations: 148.7 kB / 1.081 GB, free: 85.61 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003159/2.635, allocations: 265.6 kB / 1.081 GB, free: 85.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000328/2.636, allocations: 198.8 kB / 1.081 GB, free: 85.47 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/2.636, allocations: 0 / 1.081 GB, free: 85.47 MB / 442.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001087/2.637, allocations: 0.5754 MB / 1.082 GB, free: 85.39 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/2.637, allocations: 6.719 kB / 1.082 GB, free: 85.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/2.637, allocations: 7.203 kB / 1.082 GB, free: 85.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008324/2.645, allocations: 0.8719 MB / 1.083 GB, free: 85.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004617/2.646, allocations: 109.2 kB / 1.083 GB, free: 85.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001926/2.647, allocations: 2.461 MB / 1.085 GB, free: 83.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005689/2.648, allocations: 36.8 kB / 1.085 GB, free: 83.03 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-05/2.648, allocations: 26.75 kB / 1.085 GB, free: 83.03 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 1,2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001846/2.648, allocations: 132.9 kB / 1.086 GB, free: 82.91 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/2.648, allocations: 38.75 kB / 1.086 GB, free: 82.9 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001471/2.65, allocations: 0.8486 MB / 1.086 GB, free: 82.79 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/2.65, allocations: 13.48 kB / 1.086 GB, free: 82.79 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/2.65, allocations: 0 / 1.086 GB, free: 82.79 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001163/2.651, allocations: 0.9628 MB / 1.087 GB, free: 82.39 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002772/2.654, allocations: 1.477 MB / 1.089 GB, free: 82.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/2.654, allocations: 0 / 1.089 GB, free: 82.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003413/2.654, allocations: 81.59 kB / 1.089 GB, free: 82.03 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003184/2.658, allocations: 0.5866 MB / 1.089 GB, free: 81.99 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.773e-05/2.658, allocations: 10.12 kB / 1.089 GB, free: 81.99 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008767/2.658, allocations: 1.274 MB / 1.091 GB, free: 80.95 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/2.658, allocations: 3.953 kB / 1.091 GB, free: 80.95 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001568/2.66, allocations: 1.218 MB / 1.092 GB, free: 80.73 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002412/2.66, allocations: 118.1 kB / 1.092 GB, free: 80.62 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.57e-05/2.66, allocations: 15.17 kB / 1.092 GB, free: 80.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003575/2.661, allocations: 20.28 kB / 1.092 GB, free: 80.61 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.178e-05/2.661, allocations: 30.39 kB / 1.092 GB, free: 80.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.132e-05/2.661, allocations: 22.2 kB / 1.092 GB, free: 80.61 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002599/2.661, allocations: 207 kB / 1.092 GB, free: 80.52 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.834e-06/2.661, allocations: 1.781 kB / 1.092 GB, free: 80.52 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001342/2.663, allocations: 245.5 kB / 1.093 GB, free: 80.5 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003443/2.666, allocations: 2.171 MB / 1.095 GB, free: 79.62 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00135/2.667, allocations: 0.6831 MB / 1.095 GB, free: 79.49 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/2.667, allocations: 0 / 1.095 GB, free: 79.49 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001051/2.668, allocations: 436.1 kB / 1.096 GB, free: 79.48 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/2.67, allocations: 229.5 kB / 1.096 GB, free: 79.47 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002469/2.672, allocations: 1.116 MB / 1.097 GB, free: 79.03 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/2.673, allocations: 0.8413 MB / 1.098 GB, free: 78.33 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003804/2.673, allocations: 71.03 kB / 1.098 GB, free: 78.31 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000229/2.673, allocations: 167.1 kB / 1.098 GB, free: 78.3 MB / 442.7 MB Notification: Performance of SimCode: time 1.092e-06/2.673, allocations: 0 / 1.098 GB, free: 78.3 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04192/2.715, allocations: 17.75 MB / 1.115 GB, free: 77.29 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001902/2.715, allocations: 172.7 kB / 1.116 GB, free: 77.07 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.239/5.954, allocations: 0 / 1.116 GB, free: 77.07 MB / 442.7 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir2.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat does not exist to compare? outputFormat=mat