Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.MoistAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1",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.001401/0.001401, allocations: 180.6 kB / 16.39 MB, free: 5.762 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.401/1.401, allocations: 223.2 MB / 240.3 MB, free: 11.89 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.00115/0.00115, allocations: 100 kB / 291.5 MB, free: 10.89 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003004/0.0003003, allocations: 8 kB / 351.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2892, allocations: 50.41 MB / 401.6 MB, free: 32.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.04/13.33, allocations: 6.123 GB / 6.515 GB, free: 150.3 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002938/13.33, allocations: 80.64 kB / 6.515 GB, free: 150.3 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.89/16.22, allocations: 0.8131 GB / 7.328 GB, free: 36.57 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.064e-06/16.22, allocations: 0 / 7.328 GB, free: 36.57 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.397e-05/16.22, allocations: 19.98 kB / 7.328 GB, free: 36.55 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.01288/16.23, allocations: 2.77 MB / 7.331 GB, free: 33.73 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/16.23, allocations: 8.031 kB / 7.331 GB, free: 33.72 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001471/16.23, allocations: 86.52 kB / 7.331 GB, free: 33.62 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003121/16.23, allocations: 63.47 kB / 7.331 GB, free: 33.56 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005037/16.23, allocations: 346.7 kB / 7.332 GB, free: 33.18 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/16.23, allocations: 40.94 kB / 7.332 GB, free: 33.14 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.88e-05/16.23, allocations: 48 kB / 7.332 GB, free: 33.1 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/16.24, allocations: 0.5686 MB / 7.332 GB, free: 32.52 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/16.24, allocations: 3.906 kB / 7.332 GB, free: 32.52 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.379e-05/16.24, allocations: 16 kB / 7.332 GB, free: 32.5 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/16.24, allocations: 15.95 kB / 7.332 GB, free: 32.49 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/16.24, allocations: 0.7222 MB / 7.333 GB, free: 31.77 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01197/16.25, allocations: 11.63 MB / 7.344 GB, free: 18.06 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/16.25, allocations: 0.5282 MB / 7.345 GB, free: 17.53 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0198/16.27, allocations: 20.92 MB / 7.365 GB, free: 8.461 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.819e-05/16.27, allocations: 43 kB / 7.365 GB, free: 8.41 MB / 490.7 MB Notification: Performance of pre-optimization done (n=50): time 2.775e-06/16.27, allocations: 4 kB / 7.365 GB, free: 8.406 MB / 490.7 MB Notification: Performance of matching and sorting (n=55): time 0.006838/16.28, allocations: 2.163 MB / 7.367 GB, free: 6.16 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/16.28, allocations: 55.97 kB / 7.367 GB, free: 6.094 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003679/16.28, allocations: 290.1 kB / 7.368 GB, free: 5.801 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.175e-05/16.28, allocations: 41.7 kB / 7.368 GB, free: 5.754 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/16.28, allocations: 196.4 kB / 7.368 GB, free: 5.559 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/16.28, allocations: 189.2 kB / 7.368 GB, free: 5.371 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/16.28, allocations: 12 kB / 7.368 GB, free: 5.359 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/16.28, allocations: 354.7 kB / 7.368 GB, free: 5.004 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003581/16.28, allocations: 236.9 kB / 7.369 GB, free: 4.773 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006314/16.28, allocations: 339.2 kB / 7.369 GB, free: 4.406 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005974/16.28, allocations: 276.7 kB / 7.369 GB, free: 4.133 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/16.28, allocations: 0 / 7.369 GB, free: 4.133 MB / 490.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001714/16.28, allocations: 0.7361 MB / 7.37 GB, free: 3.383 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/16.28, allocations: 11.98 kB / 7.37 GB, free: 3.371 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/16.28, allocations: 0 / 7.37 GB, free: 3.371 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004953/16.28, allocations: 106.8 kB / 7.37 GB, free: 3.258 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005118/16.28, allocations: 127.8 kB / 7.37 GB, free: 3.133 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3673/16.65, allocations: 3.28 MB / 7.373 GB, free: 60.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007519/16.65, allocations: 38.36 kB / 7.373 GB, free: 60.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002039/16.65, allocations: 38.84 kB / 7.374 GB, free: 60.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000577/16.65, allocations: 192 kB / 7.374 GB, free: 60.69 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005585/16.65, allocations: 47.81 kB / 7.374 GB, free: 60.69 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002437/16.65, allocations: 0.8386 MB / 7.375 GB, free: 60.59 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/16.65, allocations: 5.562 kB / 7.375 GB, free: 60.59 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/16.65, allocations: 1.203 kB / 7.375 GB, free: 60.59 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001235/16.66, allocations: 0.7749 MB / 7.375 GB, free: 60.23 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002462/16.66, allocations: 1.328 MB / 7.377 GB, free: 59.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/16.66, allocations: 0 / 7.377 GB, free: 59.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000468/16.66, allocations: 104.2 kB / 7.377 GB, free: 59.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009285/16.66, allocations: 156.9 kB / 7.377 GB, free: 59.89 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.372e-05/16.66, allocations: 20.25 kB / 7.377 GB, free: 59.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003118/16.66, allocations: 0.6469 MB / 7.378 GB, free: 59.31 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/16.66, allocations: 2.906 kB / 7.378 GB, free: 59.31 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001691/16.66, allocations: 0.9501 MB / 7.378 GB, free: 59.11 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001991/16.66, allocations: 125.1 kB / 7.379 GB, free: 58.99 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.653e-05/16.66, allocations: 14.12 kB / 7.379 GB, free: 58.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004884/16.66, allocations: 35.62 kB / 7.379 GB, free: 58.99 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.793e-05/16.66, allocations: 35.25 kB / 7.379 GB, free: 58.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.501e-05/16.66, allocations: 37.86 kB / 7.379 GB, free: 58.99 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002863/16.66, allocations: 253.7 kB / 7.379 GB, free: 58.91 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/16.66, allocations: 0 / 7.379 GB, free: 58.91 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009111/16.67, allocations: 1.956 MB / 7.381 GB, free: 58.91 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01828/16.69, allocations: 4.468 MB / 7.385 GB, free: 57.97 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002168/16.69, allocations: 0.8159 MB / 7.386 GB, free: 57.73 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/16.69, allocations: 3.25 kB / 7.386 GB, free: 57.73 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007056/16.69, allocations: 304.8 kB / 7.386 GB, free: 57.72 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/16.69, allocations: 262.1 kB / 7.387 GB, free: 57.71 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01258/16.71, allocations: 5.484 MB / 7.392 GB, free: 55.19 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005049/16.71, allocations: 0.8458 MB / 7.393 GB, free: 54.49 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007329/16.71, allocations: 147.2 kB / 7.393 GB, free: 54.48 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000299/16.71, allocations: 156.7 kB / 7.393 GB, free: 54.47 MB / 490.7 MB Notification: Performance of SimCode: time 1.914e-06/16.71, allocations: 0 / 7.393 GB, free: 54.47 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.128/16.84, allocations: 66.8 MB / 7.458 GB, free: 52.35 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001829/16.84, allocations: 245.3 kB / 7.459 GB, free: 52.07 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.521/21.36, allocations: 0 / 7.459 GB, free: 52.07 MB / 490.7 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat does not exist to compare? outputFormat=mat