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.001158/0.001158, allocations: 196.8 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.55/1.55, allocations: 225.4 MB / 240.1 MB, free: 15.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009105/0.0009105, allocations: 92.03 kB / 292.1 MB, free: 5.879 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.912e-05/3.913e-05, allocations: 8 kB / 350.6 MB, free: 2.461 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1357, allocations: 51.48 MB / 402.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.272/9.408, allocations: 3.33 GB / 3.723 GB, free: 30.83 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003413/9.408, allocations: 67.72 kB / 3.723 GB, free: 30.8 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.445/9.853, allocations: 48.84 MB / 3.771 GB, free: 127.8 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.653e-06/9.853, allocations: 0 / 3.771 GB, free: 127.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.524e-05/9.853, allocations: 3.312 kB / 3.771 GB, free: 127.8 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.00168/9.855, allocations: 0.6318 MB / 3.771 GB, free: 127.4 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/9.855, allocations: 9.906 kB / 3.771 GB, free: 127.4 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.467e-05/9.855, allocations: 52.47 kB / 3.771 GB, free: 127.3 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001251/9.855, allocations: 18.81 kB / 3.771 GB, free: 127.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/9.856, allocations: 208 kB / 3.772 GB, free: 127.1 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/9.856, allocations: 18.48 kB / 3.772 GB, free: 127.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.867e-05/9.856, allocations: 18.34 kB / 3.772 GB, free: 127.1 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004323/9.856, allocations: 246.9 kB / 3.772 GB, free: 127.1 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/9.856, allocations: 0 / 3.772 GB, free: 127.1 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.016e-05/9.856, allocations: 5.688 kB / 3.772 GB, free: 127.1 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.355e-05/9.856, allocations: 8.562 kB / 3.772 GB, free: 127.1 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003605/9.857, allocations: 226.8 kB / 3.772 GB, free: 127.1 MB / 458.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.001267/9.858, allocations: 0.6856 MB / 3.773 GB, free: 126.7 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004999/9.858, allocations: 202.9 kB / 3.773 GB, free: 126.6 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001981/9.859, allocations: 126.2 kB / 3.773 GB, free: 126.6 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002932/9.859, allocations: 358.4 kB / 3.773 GB, free: 126.2 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/9.859, allocations: 37.56 kB / 3.773 GB, free: 126.2 MB / 458.7 MB Notification: Performance of pre-optimization done (n=29): time 1.392e-06/9.859, allocations: 0 / 3.773 GB, free: 126.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=36): time 0.00152/9.86, allocations: 0.5057 MB / 3.774 GB, free: 126.1 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/9.86, allocations: 88.38 kB / 3.774 GB, free: 126 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.907e-05/9.861, allocations: 105.6 kB / 3.774 GB, free: 125.9 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/9.861, allocations: 36.8 kB / 3.774 GB, free: 125.9 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.771e-05/9.861, allocations: 103 kB / 3.774 GB, free: 125.8 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.418e-05/9.861, allocations: 129.9 kB / 3.774 GB, free: 125.7 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.121e-05/9.861, allocations: 3.812 kB / 3.774 GB, free: 125.7 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.897e-05/9.861, allocations: 336.9 kB / 3.775 GB, free: 125.4 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/9.861, allocations: 106.6 kB / 3.775 GB, free: 125.4 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/9.861, allocations: 183.2 kB / 3.775 GB, free: 125.4 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002287/9.861, allocations: 128.9 kB / 3.775 GB, free: 125.3 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/9.862, allocations: 0 / 3.775 GB, free: 125.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005769/9.862, allocations: 363.2 kB / 3.775 GB, free: 125.3 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/9.862, allocations: 10.78 kB / 3.775 GB, free: 125.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/9.862, allocations: 3.219 kB / 3.775 GB, free: 125.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/9.862, allocations: 4.078 kB / 3.775 GB, free: 125.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004625/9.863, allocations: 87.89 kB / 3.776 GB, free: 125.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/9.863, allocations: 3.781 kB / 3.776 GB, free: 125.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002981/9.863, allocations: 35.2 kB / 3.776 GB, free: 125.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.834e-05/9.863, allocations: 13.64 kB / 3.776 GB, free: 125.3 MB / 458.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.0001031/9.863, allocations: 132.7 kB / 3.776 GB, free: 125.2 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.106e-05/9.863, allocations: 18.34 kB / 3.776 GB, free: 125.2 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004131/9.864, allocations: 172.3 kB / 3.776 GB, free: 125.1 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/9.864, allocations: 3.281 kB / 3.776 GB, free: 125.1 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/9.864, allocations: 3.312 kB / 3.776 GB, free: 125.1 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/9.864, allocations: 5.969 kB / 3.776 GB, free: 125.1 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/9.865, allocations: 0.7118 MB / 3.777 GB, free: 124.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/9.865, allocations: 0 / 3.777 GB, free: 124.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004188/9.865, allocations: 81.53 kB / 3.777 GB, free: 124.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/9.865, allocations: 3.469 kB / 3.777 GB, free: 124.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.25e-05/9.865, allocations: 15.77 kB / 3.777 GB, free: 124.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/9.865, allocations: 3.781 kB / 3.777 GB, free: 124.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/9.865, allocations: 1.078 kB / 3.777 GB, free: 124.8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008585/9.866, allocations: 0.7019 MB / 3.777 GB, free: 124.4 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/9.866, allocations: 119.4 kB / 3.778 GB, free: 124.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.913e-05/9.866, allocations: 11.06 kB / 3.778 GB, free: 124.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000333/9.867, allocations: 27.77 kB / 3.778 GB, free: 124.3 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/9.867, allocations: 17.42 kB / 3.778 GB, free: 124.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-05/9.867, allocations: 23.89 kB / 3.778 GB, free: 124.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.049e-05/9.867, allocations: 93.42 kB / 3.778 GB, free: 124.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/9.867, allocations: 0 / 3.778 GB, free: 124.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007959/9.868, allocations: 200.5 kB / 3.778 GB, free: 124.2 MB / 458.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.002017/9.87, allocations: 2.223 MB / 3.78 GB, free: 122.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004941/9.87, allocations: 286.8 kB / 3.78 GB, free: 122.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/9.87, allocations: 0 / 3.78 GB, free: 122.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002105/9.87, allocations: 154.4 kB / 3.78 GB, free: 122.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006221/9.871, allocations: 97.52 kB / 3.781 GB, free: 122.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/9.873, allocations: 0.5774 MB / 3.781 GB, free: 122.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/9.873, allocations: 0.7421 MB / 3.782 GB, free: 121.7 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004225/9.873, allocations: 80.2 kB / 3.782 GB, free: 121.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001733/9.873, allocations: 59.98 kB / 3.782 GB, free: 121.7 MB / 458.7 MB Notification: Performance of SimCode: time 5.11e-07/9.873, allocations: 0 / 3.782 GB, free: 121.7 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07455/9.948, allocations: 17.77 MB / 3.799 GB, free: 120.5 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000271/9.948, allocations: 134.4 kB / 3.799 GB, free: 120.3 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.454/12.4, allocations: 0 / 3.799 GB, free: 120.3 MB / 458.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