Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.MoistAir.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.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001642/0.001642, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.581/1.581, allocations: 225.6 MB / 234.8 MB, free: 3.215 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001071/0.001071, allocations: 103.4 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.749e-05/2.753e-05, allocations: 4 kB / 343.8 MB, free: 8.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1297, allocations: 51.48 MB / 395.3 MB, free: 4.652 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.27/10.4, allocations: 3.33 GB / 3.716 GB, free: 110.6 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003269/10.4, allocations: 65.75 kB / 3.716 GB, free: 110.6 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1256/10.52, allocations: 48.14 MB / 3.763 GB, free: 86.28 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.665e-06/10.52, allocations: 0 / 3.763 GB, free: 86.28 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.11e-05/10.52, allocations: 4 kB / 3.763 GB, free: 86.28 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002185/10.52, allocations: 0.6304 MB / 3.763 GB, free: 85.6 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.314e-05/10.52, allocations: 11.97 kB / 3.763 GB, free: 85.59 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002626/10.52, allocations: 23.8 kB / 3.763 GB, free: 85.57 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000348/10.53, allocations: 214.8 kB / 3.764 GB, free: 85.32 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/10.53, allocations: 4 kB / 3.764 GB, free: 85.31 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.673e-05/10.53, allocations: 15.95 kB / 3.764 GB, free: 85.3 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004183/10.53, allocations: 204.5 kB / 3.764 GB, free: 85.1 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003615/10.53, allocations: 217.2 kB / 3.764 GB, free: 84.88 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/10.53, allocations: 0 / 3.764 GB, free: 84.88 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/10.53, allocations: 0 / 3.764 GB, free: 84.88 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.547e-05/10.53, allocations: 8 kB / 3.764 GB, free: 84.87 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001488/10.53, allocations: 0.6289 MB / 3.765 GB, free: 84.18 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004817/10.53, allocations: 197.4 kB / 3.765 GB, free: 83.96 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001653/10.53, allocations: 109.9 kB / 3.765 GB, free: 83.85 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003621/10.53, allocations: 360.3 kB / 3.765 GB, free: 83.43 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/10.53, allocations: 39.2 kB / 3.765 GB, free: 83.38 MB / 442.7 MB Notification: Performance of pre-optimization done (n=29): time 4.96e-06/10.53, allocations: 3.984 kB / 3.765 GB, free: 83.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=36): time 0.001615/10.53, allocations: 499.5 kB / 3.766 GB, free: 82.88 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/10.53, allocations: 89.22 kB / 3.766 GB, free: 82.78 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/10.53, allocations: 110.9 kB / 3.766 GB, free: 82.66 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/10.53, allocations: 25.7 kB / 3.766 GB, free: 82.63 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.73e-05/10.53, allocations: 104.6 kB / 3.766 GB, free: 82.52 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.258e-05/10.53, allocations: 118.2 kB / 3.766 GB, free: 82.41 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.117e-05/10.53, allocations: 0 / 3.766 GB, free: 82.41 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001023/10.53, allocations: 330.8 kB / 3.766 GB, free: 82.07 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/10.53, allocations: 104 kB / 3.767 GB, free: 81.97 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/10.53, allocations: 170.8 kB / 3.767 GB, free: 81.78 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004041/10.53, allocations: 140.8 kB / 3.767 GB, free: 81.64 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/10.53, allocations: 0 / 3.767 GB, free: 81.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005906/10.53, allocations: 352 kB / 3.767 GB, free: 81.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/10.53, allocations: 11.95 kB / 3.767 GB, free: 81.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/10.53, allocations: 4.219 kB / 3.767 GB, free: 81.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/10.53, allocations: 4 kB / 3.767 GB, free: 81.28 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004639/10.53, allocations: 87.88 kB / 3.767 GB, free: 81.19 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/10.53, allocations: 11.92 kB / 3.767 GB, free: 81.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003368/10.53, allocations: 23.83 kB / 3.767 GB, free: 81.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.781e-05/10.53, allocations: 15.98 kB / 3.767 GB, free: 81.14 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001093/10.53, allocations: 108.9 kB / 3.767 GB, free: 81.03 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005262/10.53, allocations: 317.1 kB / 3.768 GB, free: 80.71 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.388e-05/10.53, allocations: 27.75 kB / 3.768 GB, free: 80.69 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004275/10.53, allocations: 170.3 kB / 3.768 GB, free: 80.52 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/10.53, allocations: 4 kB / 3.768 GB, free: 80.52 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/10.53, allocations: 0 / 3.768 GB, free: 80.52 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/10.53, allocations: 7.984 kB / 3.768 GB, free: 80.51 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/10.54, allocations: 0.6468 MB / 3.769 GB, free: 79.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/10.54, allocations: 4 kB / 3.769 GB, free: 79.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004154/10.54, allocations: 79.88 kB / 3.769 GB, free: 79.72 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/10.54, allocations: 5.938 kB / 3.769 GB, free: 79.72 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.139e-05/10.54, allocations: 8 kB / 3.769 GB, free: 79.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/10.54, allocations: 15.88 kB / 3.769 GB, free: 79.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.493e-06/10.54, allocations: 4 kB / 3.769 GB, free: 79.69 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007867/10.54, allocations: 0.6811 MB / 3.769 GB, free: 78.94 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/10.54, allocations: 116.9 kB / 3.769 GB, free: 78.81 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.29e-05/10.54, allocations: 8.047 kB / 3.769 GB, free: 78.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003402/10.54, allocations: 19.94 kB / 3.77 GB, free: 78.78 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.759e-05/10.54, allocations: 27.91 kB / 3.77 GB, free: 78.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.022e-05/10.54, allocations: 15.98 kB / 3.77 GB, free: 78.74 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.286e-05/10.54, allocations: 93.25 kB / 3.77 GB, free: 78.65 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/10.54, allocations: 0 / 3.77 GB, free: 78.65 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008389/10.54, allocations: 179.8 kB / 3.77 GB, free: 78.47 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002403/10.54, allocations: 2.298 MB / 3.772 GB, free: 76.12 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004938/10.54, allocations: 279.8 kB / 3.772 GB, free: 75.84 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/10.54, allocations: 0 / 3.772 GB, free: 75.84 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001814/10.54, allocations: 147.8 kB / 3.772 GB, free: 75.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006289/10.54, allocations: 81.25 kB / 3.773 GB, free: 75.62 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/10.54, allocations: 0.5391 MB / 3.773 GB, free: 75.03 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/10.54, allocations: 0.7452 MB / 3.774 GB, free: 74.26 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004214/10.54, allocations: 70.03 kB / 3.774 GB, free: 74.19 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/10.54, allocations: 63.41 kB / 3.774 GB, free: 74.13 MB / 442.7 MB Notification: Performance of SimCode: time 4.91e-07/10.54, allocations: 0 / 3.774 GB, free: 74.13 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0378/10.58, allocations: 11.25 MB / 3.785 GB, free: 62.94 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001867/10.58, allocations: 120 kB / 3.785 GB, free: 62.75 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.198/12.78, allocations: 0 / 3.785 GB, free: 62.75 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.MoistAir_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_trunk_Modelica_Media_Examples_MoistAir.fmu > Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.MoistAir_res.mat does not exist to compare? outputFormat=mat