Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00151/0.001511, allocations: 181.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.044/2.044, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001151/0.001151, allocations: 90.64 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.232e-05/3.273e-05, allocations: 4 kB / 321.6 MB, free: 17.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09899/0.09907, allocations: 47.57 MB / 369.2 MB, free: 2.121 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.023/2.122, allocations: 0.6385 GB / 0.999 GB, free: 17.99 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003166/2.123, allocations: 81.75 kB / 0.9991 GB, free: 17.95 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2/4.122, allocations: 471.3 MB / 1.459 GB, free: 68.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.613e-06/4.122, allocations: 1.75 kB / 1.459 GB, free: 68.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.455e-05/4.123, allocations: 8 kB / 1.459 GB, free: 68.5 MB / 426.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.001624/4.124, allocations: 0.717 MB / 1.46 GB, free: 67.74 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/4.124, allocations: 12.03 kB / 1.46 GB, free: 67.73 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.519e-05/4.124, allocations: 62.53 kB / 1.46 GB, free: 67.66 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005874/4.125, allocations: 51.61 kB / 1.46 GB, free: 67.61 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004422/4.125, allocations: 282.5 kB / 1.46 GB, free: 67.29 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/4.125, allocations: 20.56 kB / 1.46 GB, free: 67.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.896e-05/4.125, allocations: 31.94 kB / 1.46 GB, free: 67.24 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006583/4.126, allocations: 326.6 kB / 1.461 GB, free: 66.88 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/4.126, allocations: 6.953 kB / 1.461 GB, free: 66.88 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.697e-05/4.126, allocations: 12 kB / 1.461 GB, free: 66.86 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/4.126, allocations: 12 kB / 1.461 GB, free: 66.85 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00046/4.127, allocations: 202 kB / 1.461 GB, free: 66.66 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01633/4.143, allocations: 5.526 MB / 1.466 GB, free: 60.63 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000413/4.144, allocations: 175.2 kB / 1.467 GB, free: 60.45 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/4.144, allocations: 81.23 kB / 1.467 GB, free: 60.37 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01352/4.157, allocations: 3.493 MB / 1.47 GB, free: 56.58 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.311e-05/4.157, allocations: 38.73 kB / 1.47 GB, free: 56.53 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 3.626e-06/4.157, allocations: 0 / 1.47 GB, free: 56.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.008136/4.166, allocations: 1.263 MB / 1.471 GB, free: 55.22 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/4.166, allocations: 60.66 kB / 1.471 GB, free: 55.15 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003665/4.166, allocations: 230.8 kB / 1.472 GB, free: 54.92 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.681e-05/4.166, allocations: 33.7 kB / 1.472 GB, free: 54.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/4.166, allocations: 234.4 kB / 1.472 GB, free: 54.65 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.859e-05/4.166, allocations: 98.64 kB / 1.472 GB, free: 54.55 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.256e-05/4.166, allocations: 4 kB / 1.472 GB, free: 54.55 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.07e-05/4.166, allocations: 330.8 kB / 1.472 GB, free: 54.22 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002309/4.167, allocations: 88 kB / 1.472 GB, free: 54.13 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002833/4.167, allocations: 186.6 kB / 1.473 GB, free: 53.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002926/4.167, allocations: 128.5 kB / 1.473 GB, free: 53.79 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/4.167, allocations: 0 / 1.473 GB, free: 53.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009818/4.168, allocations: 373.3 kB / 1.473 GB, free: 53.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/4.168, allocations: 12.78 kB / 1.473 GB, free: 53.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/4.168, allocations: 4 kB / 1.473 GB, free: 53.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007545/4.176, allocations: 457.2 kB / 1.473 GB, free: 52.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005224/4.176, allocations: 71.86 kB / 1.474 GB, free: 52.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00163/4.178, allocations: 1.867 MB / 1.475 GB, free: 50.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004703/4.179, allocations: 32.02 kB / 1.475 GB, free: 50.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.73e-05/4.179, allocations: 23.45 kB / 1.475 GB, free: 50.8 MB / 426.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.0001271/4.179, allocations: 117.5 kB / 1.475 GB, free: 50.68 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.671e-05/4.179, allocations: 31.67 kB / 1.476 GB, free: 50.64 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/4.18, allocations: 496.7 kB / 1.476 GB, free: 50.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/4.18, allocations: 6.25 kB / 1.476 GB, free: 50.14 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/4.18, allocations: 0 / 1.476 GB, free: 50.14 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007702/4.181, allocations: 0.7216 MB / 1.477 GB, free: 49.33 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001703/4.182, allocations: 0.9377 MB / 1.478 GB, free: 48.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/4.182, allocations: 4.031 kB / 1.478 GB, free: 48.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003458/4.183, allocations: 39.98 kB / 1.478 GB, free: 48.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00254/4.185, allocations: 304.3 kB / 1.478 GB, free: 47.99 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.774e-05/4.185, allocations: 8 kB / 1.478 GB, free: 47.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005687/4.186, allocations: 0.6343 MB / 1.479 GB, free: 47.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/4.186, allocations: 0 / 1.479 GB, free: 47.32 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/4.187, allocations: 0.7295 MB / 1.479 GB, free: 46.55 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/4.187, allocations: 104.7 kB / 1.479 GB, free: 46.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.737e-05/4.188, allocations: 11.98 kB / 1.479 GB, free: 46.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003463/4.188, allocations: 16.06 kB / 1.479 GB, free: 46.41 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.598e-05/4.188, allocations: 19.97 kB / 1.479 GB, free: 46.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.198e-05/4.188, allocations: 8 kB / 1.479 GB, free: 46.38 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002452/4.188, allocations: 183.1 kB / 1.48 GB, free: 46.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-07/4.188, allocations: 0 / 1.48 GB, free: 46.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001169/4.189, allocations: 207.8 kB / 1.48 GB, free: 46 MB / 426.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.003136/4.193, allocations: 1.695 MB / 1.481 GB, free: 44.28 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001117/4.194, allocations: 451.4 kB / 1.482 GB, free: 43.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/4.194, allocations: 3.938 kB / 1.482 GB, free: 43.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000848/4.195, allocations: 236.6 kB / 1.482 GB, free: 43.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/4.196, allocations: 160.8 kB / 1.482 GB, free: 43.44 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/4.198, allocations: 0.7134 MB / 1.483 GB, free: 42.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/4.199, allocations: 0.7879 MB / 1.484 GB, free: 41.88 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002074/4.199, allocations: 111.4 kB / 1.484 GB, free: 41.77 MB / 426.7 MB Notification: Performance of SimCode: time 1.683e-06/4.199, allocations: 0 / 1.484 GB, free: 41.77 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.1/7.299, allocations: 10.62 MB / 1.494 GB, free: 31.18 MB / 426.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_DryAir1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat does not exist to compare? outputFormat=mat