Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.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.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir",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.001062/0.001063, allocations: 172.2 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.586/1.586, allocations: 205.2 MB / 219.8 MB, free: 14.26 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.0008611/0.0008612, allocations: 81.94 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.93e-05/2.933e-05, allocations: 4 kB / 322.5 MB, free: 17.26 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09428/0.09433, allocations: 47.56 MB / 370.1 MB, free: 1.633 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.1/15.2, allocations: 6.679 GB / 7.041 GB, free: 96.69 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/15.2, allocations: 78.44 kB / 7.041 GB, free: 96.69 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7109/15.91, allocations: 192.6 MB / 7.229 GB, free: 69.03 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.653e-06/15.91, allocations: 0 / 7.229 GB, free: 69.03 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.225e-05/15.91, allocations: 0 / 7.229 GB, free: 69.03 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.006776/15.91, allocations: 1.464 MB / 7.23 GB, free: 68.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/15.91, allocations: 7.875 kB / 7.23 GB, free: 68.18 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.671e-05/15.91, allocations: 53.19 kB / 7.23 GB, free: 68.14 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/15.92, allocations: 19.38 kB / 7.23 GB, free: 68.13 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/15.92, allocations: 215.2 kB / 7.231 GB, free: 67.92 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/15.92, allocations: 17.77 kB / 7.231 GB, free: 67.92 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.566e-05/15.92, allocations: 13.38 kB / 7.231 GB, free: 67.92 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005325/15.92, allocations: 273.3 kB / 7.231 GB, free: 67.87 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/15.92, allocations: 3.906 kB / 7.231 GB, free: 67.86 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.798e-05/15.92, allocations: 7.031 kB / 7.231 GB, free: 67.86 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.055e-05/15.92, allocations: 11.2 kB / 7.231 GB, free: 67.86 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004598/15.92, allocations: 268.8 kB / 7.231 GB, free: 67.86 MB / 426.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.001186/15.92, allocations: 0.7177 MB / 7.232 GB, free: 67.46 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005313/15.92, allocations: 240.5 kB / 7.232 GB, free: 67.41 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/15.92, allocations: 119.8 kB / 7.232 GB, free: 67.39 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01078/15.93, allocations: 12.46 MB / 7.244 GB, free: 54.63 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/15.93, allocations: 37.59 kB / 7.244 GB, free: 54.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 3.075e-06/15.93, allocations: 0 / 7.244 GB, free: 54.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=36): time 0.001885/15.93, allocations: 0.5232 MB / 7.245 GB, free: 54.51 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/15.93, allocations: 81.08 kB / 7.245 GB, free: 54.42 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.139e-05/15.93, allocations: 116.7 kB / 7.245 GB, free: 54.33 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/15.93, allocations: 29.2 kB / 7.245 GB, free: 54.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.132e-05/15.93, allocations: 109.9 kB / 7.245 GB, free: 54.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.798e-05/15.93, allocations: 128.9 kB / 7.245 GB, free: 54.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.114e-05/15.93, allocations: 11.38 kB / 7.245 GB, free: 54.12 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.088e-05/15.93, allocations: 324.5 kB / 7.246 GB, free: 53.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/15.93, allocations: 110.8 kB / 7.246 GB, free: 53.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002486/15.93, allocations: 188.5 kB / 7.246 GB, free: 53.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002411/15.93, allocations: 128.8 kB / 7.246 GB, free: 53.73 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/15.93, allocations: 0 / 7.246 GB, free: 53.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006738/15.93, allocations: 366.9 kB / 7.246 GB, free: 53.67 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/15.93, allocations: 5.5 kB / 7.246 GB, free: 53.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/15.93, allocations: 3.406 kB / 7.246 GB, free: 53.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/15.93, allocations: 7.547 kB / 7.246 GB, free: 53.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004375/15.93, allocations: 94.25 kB / 7.247 GB, free: 53.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/15.93, allocations: 15.08 kB / 7.247 GB, free: 53.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002933/15.93, allocations: 24.66 kB / 7.247 GB, free: 53.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.465e-05/15.93, allocations: 20.73 kB / 7.247 GB, free: 53.65 MB / 426.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.0001259/15.93, allocations: 122.5 kB / 7.247 GB, free: 53.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/15.93, allocations: 26.22 kB / 7.247 GB, free: 53.53 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004881/15.93, allocations: 191.2 kB / 7.247 GB, free: 53.49 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/15.93, allocations: 7.766 kB / 7.247 GB, free: 53.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/15.93, allocations: 7.359 kB / 7.247 GB, free: 53.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/15.93, allocations: 7.594 kB / 7.247 GB, free: 53.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/15.94, allocations: 0.7077 MB / 7.248 GB, free: 53.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/15.94, allocations: 6.906 kB / 7.248 GB, free: 53.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003884/15.94, allocations: 78.78 kB / 7.248 GB, free: 53.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.353e-06/15.94, allocations: 5.438 kB / 7.248 GB, free: 53.12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.085e-05/15.94, allocations: 18.02 kB / 7.248 GB, free: 53.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.648e-06/15.94, allocations: 2.531 kB / 7.248 GB, free: 53.12 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/15.94, allocations: 7.375 kB / 7.248 GB, free: 53.12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008896/15.94, allocations: 0.7045 MB / 7.248 GB, free: 52.76 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/15.94, allocations: 127.4 kB / 7.249 GB, free: 52.65 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.959e-05/15.94, allocations: 17.31 kB / 7.249 GB, free: 52.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003166/15.94, allocations: 22.06 kB / 7.249 GB, free: 52.65 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.548e-05/15.94, allocations: 31.83 kB / 7.249 GB, free: 52.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/15.94, allocations: 20.81 kB / 7.249 GB, free: 52.64 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.572e-05/15.94, allocations: 97.31 kB / 7.249 GB, free: 52.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/15.94, allocations: 0 / 7.249 GB, free: 52.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005434/15.94, allocations: 1.105 MB / 7.25 GB, free: 52.37 MB / 426.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.008958/15.95, allocations: 3.203 MB / 7.253 GB, free: 50.85 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007009/15.95, allocations: 295.6 kB / 7.253 GB, free: 50.83 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/15.95, allocations: 0 / 7.253 GB, free: 50.83 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000264/15.95, allocations: 158.1 kB / 7.253 GB, free: 50.82 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006419/15.95, allocations: 92.19 kB / 7.253 GB, free: 50.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0247/15.98, allocations: 12.53 MB / 7.266 GB, free: 49.13 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000208/15.98, allocations: 0.7419 MB / 7.266 GB, free: 48.43 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004692/15.98, allocations: 85.67 kB / 7.266 GB, free: 48.42 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/15.98, allocations: 75.31 kB / 7.267 GB, free: 48.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.122e-06/15.98, allocations: 0 / 7.267 GB, free: 48.4 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06655/16.05, allocations: 38.12 MB / 7.304 GB, free: 33.96 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001603/16.05, allocations: 186.8 kB / 7.304 GB, free: 33.73 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.897/18.94, allocations: 0 / 7.304 GB, free: 33.73 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat does not exist to compare? outputFormat=mat