Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002009/0.002009, allocations: 196.5 kB / 14.16 MB, free: 1.156 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.719/1.719, allocations: 225.4 MB / 240.1 MB, free: 15.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009598/0.0009599, allocations: 91.5 kB / 292.1 MB, free: 5.938 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.942e-05/3.945e-05, allocations: 0 / 350.6 MB, free: 2.457 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1259, allocations: 51.49 MB / 402.1 MB, free: 14.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.548/1.674, allocations: 0.5375 GB / 0.9302 GB, free: 8.051 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/1.674, allocations: 71.97 kB / 0.9302 GB, free: 7.98 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.923/3.598, allocations: 471.6 MB / 1.391 GB, free: 93.66 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.254e-06/3.598, allocations: 0 / 1.391 GB, free: 93.66 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.174e-05/3.598, allocations: 3.875 kB / 1.391 GB, free: 93.66 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001841/3.6, allocations: 0.7172 MB / 1.392 GB, free: 93.16 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.645e-05/3.6, allocations: 11.66 kB / 1.392 GB, free: 93.16 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001301/3.6, allocations: 66.45 kB / 1.392 GB, free: 93.12 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006075/3.6, allocations: 55.8 kB / 1.392 GB, free: 93.11 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004893/3.601, allocations: 280.5 kB / 1.392 GB, free: 92.89 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/3.601, allocations: 25.2 kB / 1.392 GB, free: 92.89 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.528e-05/3.601, allocations: 26.8 kB / 1.392 GB, free: 92.89 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005974/3.602, allocations: 330 kB / 1.392 GB, free: 92.69 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/3.602, allocations: 0 / 1.392 GB, free: 92.69 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.583e-05/3.602, allocations: 11.94 kB / 1.392 GB, free: 92.68 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/3.602, allocations: 7.844 kB / 1.392 GB, free: 92.68 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003732/3.602, allocations: 207 kB / 1.393 GB, free: 92.62 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01038/3.612, allocations: 5.527 MB / 1.398 GB, free: 88.66 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002588/3.613, allocations: 173.1 kB / 1.398 GB, free: 88.49 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/3.613, allocations: 87.53 kB / 1.398 GB, free: 88.41 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007307/3.62, allocations: 3.5 MB / 1.402 GB, free: 85.28 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/3.62, allocations: 30.94 kB / 1.402 GB, free: 85.24 MB / 458.7 MB Notification: Performance of pre-optimization done (n=21): time 2.935e-06/3.62, allocations: 0 / 1.402 GB, free: 85.24 MB / 458.7 MB Notification: Performance of matching and sorting (n=26): time 0.005327/3.626, allocations: 1.268 MB / 1.403 GB, free: 84.12 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/3.626, allocations: 51.41 kB / 1.403 GB, free: 84.05 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002723/3.626, allocations: 238.2 kB / 1.403 GB, free: 83.83 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/3.626, allocations: 37.59 kB / 1.403 GB, free: 83.79 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/3.626, allocations: 179.2 kB / 1.403 GB, free: 83.62 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.113e-05/3.626, allocations: 93.75 kB / 1.403 GB, free: 83.54 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.382e-05/3.626, allocations: 8 kB / 1.403 GB, free: 83.53 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/3.626, allocations: 337 kB / 1.404 GB, free: 83.2 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/3.626, allocations: 88 kB / 1.404 GB, free: 83.11 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/3.627, allocations: 179.6 kB / 1.404 GB, free: 82.9 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/3.627, allocations: 110.8 kB / 1.404 GB, free: 82.8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/3.627, allocations: 0 / 1.404 GB, free: 82.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006042/3.627, allocations: 390.8 kB / 1.404 GB, free: 82.44 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/3.627, allocations: 10.73 kB / 1.404 GB, free: 82.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/3.628, allocations: 4 kB / 1.404 GB, free: 82.43 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004064/3.632, allocations: 464 kB / 1.405 GB, free: 82.09 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/3.632, allocations: 70.81 kB / 1.405 GB, free: 82.03 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001138/3.633, allocations: 1.865 MB / 1.407 GB, free: 80.04 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002213/3.633, allocations: 27.78 kB / 1.407 GB, free: 80.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/3.633, allocations: 12 kB / 1.407 GB, free: 80 MB / 458.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 9.213e-05/3.633, allocations: 136.9 kB / 1.407 GB, free: 79.86 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.227e-05/3.633, allocations: 23.72 kB / 1.407 GB, free: 79.84 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006618/3.634, allocations: 485.8 kB / 1.407 GB, free: 79.41 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.854e-06/3.634, allocations: 7.75 kB / 1.407 GB, free: 79.4 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/3.634, allocations: 1.688 kB / 1.407 GB, free: 79.4 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005269/3.635, allocations: 0.7244 MB / 1.408 GB, free: 78.62 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/3.636, allocations: 0.938 MB / 1.409 GB, free: 77.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/3.636, allocations: 3.875 kB / 1.409 GB, free: 77.73 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001692/3.636, allocations: 47.53 kB / 1.409 GB, free: 77.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001401/3.637, allocations: 295.9 kB / 1.409 GB, free: 77.49 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/3.637, allocations: 8 kB / 1.409 GB, free: 77.48 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003515/3.638, allocations: 0.6453 MB / 1.41 GB, free: 76.83 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/3.638, allocations: 0 / 1.41 GB, free: 76.83 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007667/3.638, allocations: 0.7353 MB / 1.411 GB, free: 76.11 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.215e-05/3.639, allocations: 100.7 kB / 1.411 GB, free: 75.99 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.631e-05/3.639, allocations: 8 kB / 1.411 GB, free: 75.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/3.639, allocations: 27.58 kB / 1.411 GB, free: 75.96 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/3.639, allocations: 15.89 kB / 1.411 GB, free: 75.95 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/3.639, allocations: 11.75 kB / 1.411 GB, free: 75.94 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001518/3.639, allocations: 178.9 kB / 1.411 GB, free: 75.77 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/3.639, allocations: 4.062 kB / 1.411 GB, free: 75.77 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0009783/3.64, allocations: 207.6 kB / 1.411 GB, free: 75.57 MB / 458.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.001928/3.642, allocations: 1.698 MB / 1.413 GB, free: 73.94 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006789/3.643, allocations: 439 kB / 1.413 GB, free: 73.52 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/3.643, allocations: 0 / 1.413 GB, free: 73.52 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005047/3.643, allocations: 235 kB / 1.414 GB, free: 73.31 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000846/3.644, allocations: 157.4 kB / 1.414 GB, free: 73.21 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/3.645, allocations: 0.6941 MB / 1.414 GB, free: 72.56 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/3.645, allocations: 0.7892 MB / 1.415 GB, free: 71.79 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001962/3.646, allocations: 52.41 kB / 1.415 GB, free: 71.75 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/3.646, allocations: 103 kB / 1.415 GB, free: 71.66 MB / 458.7 MB Notification: Performance of SimCode: time 2.41e-07/3.646, allocations: 0 / 1.415 GB, free: 71.66 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02748/3.673, allocations: 14.92 MB / 1.43 GB, free: 58.39 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001564/3.673, allocations: 172.5 kB / 1.43 GB, free: 58.17 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.824/6.498, allocations: 0 / 1.43 GB, free: 58.17 MB / 458.7 MB (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat does not exist to compare? outputFormat=mat