Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.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.DryAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1",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.001415/0.001415, allocations: 175.4 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.613/1.613, allocations: 221.3 MB / 235.5 MB, free: 2.887 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.001011/0.001011, allocations: 95.78 kB / 286.5 MB, free: 176 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.968e-05/3.982e-05, allocations: 4 kB / 343.9 MB, free: 4.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1333, allocations: 50.41 MB / 394.3 MB, free: 1.75 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.899/2.032, allocations: 0.5367 GB / 0.9218 GB, free: 107.9 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002998/2.033, allocations: 78.14 kB / 0.9218 GB, free: 107.8 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.812/3.845, allocations: 471.6 MB / 1.382 GB, free: 102.3 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.064e-06/3.845, allocations: 0.875 kB / 1.382 GB, free: 102.3 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.163e-05/3.845, allocations: 11.08 kB / 1.382 GB, free: 102.3 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.002155/3.847, allocations: 0.7165 MB / 1.383 GB, free: 101.8 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.067e-05/3.847, allocations: 8.594 kB / 1.383 GB, free: 101.8 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.028e-05/3.848, allocations: 62.19 kB / 1.383 GB, free: 101.8 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005427/3.848, allocations: 54.73 kB / 1.383 GB, free: 101.8 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005157/3.849, allocations: 289.2 kB / 1.383 GB, free: 101.5 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.332e-05/3.849, allocations: 18.12 kB / 1.383 GB, free: 101.5 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.63e-05/3.849, allocations: 33.27 kB / 1.384 GB, free: 101.5 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007353/3.85, allocations: 325.2 kB / 1.384 GB, free: 101.4 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/3.85, allocations: 1 kB / 1.384 GB, free: 101.4 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.105e-05/3.85, allocations: 16.31 kB / 1.384 GB, free: 101.4 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.271e-05/3.85, allocations: 7.812 kB / 1.384 GB, free: 101.4 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00046/3.85, allocations: 208.7 kB / 1.384 GB, free: 101.4 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01265/3.863, allocations: 5.506 MB / 1.389 GB, free: 98.26 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003681/3.863, allocations: 173.2 kB / 1.39 GB, free: 98.23 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/3.863, allocations: 93.23 kB / 1.39 GB, free: 98.23 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009477/3.873, allocations: 3.493 MB / 1.393 GB, free: 96.71 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.112e-05/3.873, allocations: 31.78 kB / 1.393 GB, free: 96.67 MB / 442.7 MB Notification: Performance of pre-optimization done (n=21): time 5.731e-06/3.873, allocations: 1.156 kB / 1.393 GB, free: 96.67 MB / 442.7 MB Notification: Performance of matching and sorting (n=26): time 0.006301/3.879, allocations: 1.271 MB / 1.394 GB, free: 96.34 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/3.879, allocations: 54.16 kB / 1.394 GB, free: 96.27 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004429/3.88, allocations: 230.2 kB / 1.395 GB, free: 96.17 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.376e-05/3.88, allocations: 32.7 kB / 1.395 GB, free: 96.14 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/3.88, allocations: 186.4 kB / 1.395 GB, free: 96.01 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.392e-05/3.88, allocations: 96.36 kB / 1.395 GB, free: 95.95 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.913e-05/3.88, allocations: 6.812 kB / 1.395 GB, free: 95.95 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/3.88, allocations: 337.4 kB / 1.395 GB, free: 95.64 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/3.881, allocations: 90.47 kB / 1.395 GB, free: 95.63 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/3.881, allocations: 178.3 kB / 1.396 GB, free: 95.53 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002706/3.881, allocations: 121.3 kB / 1.396 GB, free: 95.53 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/3.881, allocations: 5.078 kB / 1.396 GB, free: 95.53 MB / 442.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009105/3.882, allocations: 386.1 kB / 1.396 GB, free: 95.46 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/3.882, allocations: 6.641 kB / 1.396 GB, free: 95.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/3.882, allocations: 3.375 kB / 1.396 GB, free: 95.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004617/3.887, allocations: 459.9 kB / 1.396 GB, free: 95.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000376/3.887, allocations: 72.58 kB / 1.397 GB, free: 95.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00188/3.889, allocations: 1.873 MB / 1.398 GB, free: 93.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004801/3.89, allocations: 21.52 kB / 1.398 GB, free: 93.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.212e-05/3.89, allocations: 16.02 kB / 1.398 GB, free: 93.68 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001839/3.89, allocations: 128.2 kB / 1.399 GB, free: 93.57 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/3.89, allocations: 30.97 kB / 1.399 GB, free: 93.55 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001199/3.891, allocations: 0.4923 MB / 1.399 GB, free: 93.47 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/3.891, allocations: 3.062 kB / 1.399 GB, free: 93.47 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/3.891, allocations: 0 / 1.399 GB, free: 93.47 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008352/3.892, allocations: 0.7109 MB / 1.4 GB, free: 93.01 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001947/3.894, allocations: 0.9404 MB / 1.401 GB, free: 92.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/3.894, allocations: 1.375 kB / 1.401 GB, free: 92.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/3.894, allocations: 44.98 kB / 1.401 GB, free: 92.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001782/3.896, allocations: 298.5 kB / 1.401 GB, free: 92.67 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-05/3.896, allocations: 12.14 kB / 1.401 GB, free: 92.67 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005592/3.897, allocations: 0.6371 MB / 1.402 GB, free: 92.15 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/3.897, allocations: 5.672 kB / 1.402 GB, free: 92.15 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/3.898, allocations: 0.7247 MB / 1.402 GB, free: 91.96 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002197/3.898, allocations: 99.38 kB / 1.402 GB, free: 91.85 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.042e-05/3.898, allocations: 14.73 kB / 1.402 GB, free: 91.85 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002832/3.899, allocations: 24.98 kB / 1.402 GB, free: 91.84 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.229e-05/3.899, allocations: 18.69 kB / 1.402 GB, free: 91.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-05/3.899, allocations: 12.62 kB / 1.402 GB, free: 91.84 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002928/3.899, allocations: 179.5 kB / 1.403 GB, free: 91.76 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.7e-07/3.899, allocations: 2.469 kB / 1.403 GB, free: 91.76 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001499/3.901, allocations: 205.4 kB / 1.403 GB, free: 91.74 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003667/3.904, allocations: 1.707 MB / 1.405 GB, free: 90.91 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001202/3.906, allocations: 438.2 kB / 1.405 GB, free: 90.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/3.906, allocations: 3.188 kB / 1.405 GB, free: 90.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008348/3.906, allocations: 232.8 kB / 1.405 GB, free: 90.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/3.908, allocations: 161.7 kB / 1.405 GB, free: 90.79 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002875/3.91, allocations: 0.6958 MB / 1.406 GB, free: 90.55 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005652/3.911, allocations: 0.7831 MB / 1.407 GB, free: 89.85 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004021/3.911, allocations: 50.05 kB / 1.407 GB, free: 89.84 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002206/3.912, allocations: 105.6 kB / 1.407 GB, free: 89.83 MB / 442.7 MB Notification: Performance of SimCode: time 1.382e-06/3.912, allocations: 0 / 1.407 GB, free: 89.83 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04625/3.958, allocations: 14.93 MB / 1.421 GB, free: 88.94 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000235/3.958, allocations: 175.4 kB / 1.422 GB, free: 88.72 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.954/6.912, allocations: 6.375 kB / 1.422 GB, free: 88.71 MB / 442.7 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat does not exist to compare? outputFormat=mat