Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001899/0.001899, allocations: 174.8 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 221.3 MB / 235.5 MB, free: 2.934 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009591/0.0009591, allocations: 90.81 kB / 286.5 MB, free: 228 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.877e-05/2.879e-05, allocations: 4 kB / 343.9 MB, free: 4.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1196, allocations: 50.41 MB / 394.3 MB, free: 1.773 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.42/10.54, allocations: 3.337 GB / 3.722 GB, free: 81.18 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/10.54, allocations: 68.03 kB / 3.722 GB, free: 81.15 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1063/10.64, allocations: 49.07 MB / 3.77 GB, free: 38.09 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.514e-06/10.64, allocations: 0 / 3.77 GB, free: 38.09 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.811e-05/10.64, allocations: 4 kB / 3.77 GB, free: 38.09 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.001866/10.65, allocations: 0.6314 MB / 3.77 GB, free: 37.41 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.958e-05/10.65, allocations: 12.03 kB / 3.77 GB, free: 37.4 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.54e-05/10.65, allocations: 50.5 kB / 3.771 GB, free: 37.34 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/10.65, allocations: 23.81 kB / 3.771 GB, free: 37.32 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/10.65, allocations: 202.9 kB / 3.771 GB, free: 37.08 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/10.65, allocations: 12.33 kB / 3.771 GB, free: 37.07 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.963e-05/10.65, allocations: 19.98 kB / 3.771 GB, free: 37.05 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004179/10.65, allocations: 241.4 kB / 3.771 GB, free: 36.8 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/10.65, allocations: 0 / 3.771 GB, free: 36.8 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.38e-05/10.65, allocations: 12 kB / 3.771 GB, free: 36.79 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.42e-05/10.65, allocations: 11.94 kB / 3.771 GB, free: 36.78 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003657/10.65, allocations: 231.8 kB / 3.771 GB, free: 36.55 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.001295/10.65, allocations: 0.6761 MB / 3.772 GB, free: 35.8 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004688/10.65, allocations: 209.4 kB / 3.772 GB, free: 35.58 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/10.65, allocations: 114 kB / 3.772 GB, free: 35.46 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003317/10.65, allocations: 368.3 kB / 3.773 GB, free: 35.03 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/10.65, allocations: 34.56 kB / 3.773 GB, free: 34.99 MB / 442.7 MB Notification: Performance of pre-optimization done (n=29): time 1.623e-06/10.65, allocations: 3.938 kB / 3.773 GB, free: 34.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=36): time 0.001463/10.65, allocations: 0.5038 MB / 3.773 GB, free: 34.47 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/10.65, allocations: 81.3 kB / 3.773 GB, free: 34.38 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.052e-05/10.65, allocations: 109.2 kB / 3.773 GB, free: 34.26 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/10.65, allocations: 33.7 kB / 3.773 GB, free: 34.22 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.203e-05/10.65, allocations: 108.6 kB / 3.773 GB, free: 34.11 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.168e-05/10.65, allocations: 126.2 kB / 3.774 GB, free: 33.99 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.055e-05/10.65, allocations: 4 kB / 3.774 GB, free: 33.98 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.49e-05/10.65, allocations: 326.8 kB / 3.774 GB, free: 33.66 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/10.65, allocations: 115.9 kB / 3.774 GB, free: 33.54 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/10.65, allocations: 179.8 kB / 3.774 GB, free: 33.34 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/10.65, allocations: 128.9 kB / 3.774 GB, free: 33.21 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/10.65, allocations: 4 kB / 3.774 GB, free: 33.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005148/10.65, allocations: 356.8 kB / 3.775 GB, free: 32.86 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/10.65, allocations: 4 kB / 3.775 GB, free: 32.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.577e-06/10.65, allocations: 4.219 kB / 3.775 GB, free: 32.85 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/10.65, allocations: 11.95 kB / 3.775 GB, free: 32.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004561/10.65, allocations: 91.86 kB / 3.775 GB, free: 32.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/10.65, allocations: 11.92 kB / 3.775 GB, free: 32.74 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003112/10.65, allocations: 35.81 kB / 3.775 GB, free: 32.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.764e-05/10.65, allocations: 12 kB / 3.775 GB, free: 32.69 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.0001064/10.65, allocations: 131.7 kB / 3.775 GB, free: 32.56 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.203e-05/10.65, allocations: 19.81 kB / 3.775 GB, free: 32.54 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003597/10.66, allocations: 171.7 kB / 3.775 GB, free: 32.37 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/10.66, allocations: 7.953 kB / 3.775 GB, free: 32.36 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/10.66, allocations: 4 kB / 3.775 GB, free: 32.36 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/10.66, allocations: 3.984 kB / 3.775 GB, free: 32.35 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/10.66, allocations: 0.7104 MB / 3.776 GB, free: 31.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/10.66, allocations: 7.938 kB / 3.776 GB, free: 31.56 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003966/10.66, allocations: 79.88 kB / 3.776 GB, free: 31.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/10.66, allocations: 4.375 kB / 3.776 GB, free: 31.48 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.029e-05/10.66, allocations: 8.156 kB / 3.776 GB, free: 31.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/10.66, allocations: 8 kB / 3.776 GB, free: 31.46 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/10.66, allocations: 3.938 kB / 3.776 GB, free: 31.46 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007721/10.66, allocations: 0.7093 MB / 3.777 GB, free: 30.68 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/10.66, allocations: 112.9 kB / 3.777 GB, free: 30.55 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.265e-05/10.66, allocations: 11.98 kB / 3.777 GB, free: 30.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003366/10.66, allocations: 24.05 kB / 3.777 GB, free: 30.52 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/10.66, allocations: 31.86 kB / 3.777 GB, free: 30.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-05/10.66, allocations: 15.98 kB / 3.777 GB, free: 30.47 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.209e-05/10.66, allocations: 91.28 kB / 3.777 GB, free: 30.38 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.41e-07/10.66, allocations: 0 / 3.777 GB, free: 30.38 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008907/10.66, allocations: 191.8 kB / 3.777 GB, free: 30.19 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.001924/10.66, allocations: 2.195 MB / 3.779 GB, free: 27.93 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004989/10.66, allocations: 293.1 kB / 3.779 GB, free: 27.65 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/10.66, allocations: 4 kB / 3.779 GB, free: 27.64 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001957/10.66, allocations: 154.7 kB / 3.78 GB, free: 27.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005773/10.66, allocations: 93.69 kB / 3.78 GB, free: 27.41 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/10.66, allocations: 0.5561 MB / 3.78 GB, free: 26.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/10.66, allocations: 0.7451 MB / 3.781 GB, free: 26.03 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003854/10.66, allocations: 81.94 kB / 3.781 GB, free: 25.95 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/10.66, allocations: 63.41 kB / 3.781 GB, free: 25.89 MB / 442.7 MB Notification: Performance of SimCode: time 4.21e-07/10.66, allocations: 0 / 3.781 GB, free: 25.89 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03086/10.7, allocations: 17.61 MB / 3.798 GB, free: 8.391 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001892/10.7, allocations: 137.2 kB / 3.798 GB, free: 8.164 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.367/13.06, allocations: 4.062 kB / 3.798 GB, free: 8.16 MB / 442.7 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.MoistAir_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_4_0_0_Modelica_Media_Examples_MoistAir.fmu > Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Examples.MoistAir_res.mat does not exist to compare? outputFormat=mat