Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.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.ReferenceAir.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_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.001561/0.001561, allocations: 197.2 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.546/1.546, allocations: 225.4 MB / 240.1 MB, free: 15.06 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009547/0.000955, allocations: 87.8 kB / 292.1 MB, free: 5.988 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.335e-05/4.414e-05, allocations: 0 / 350.6 MB, free: 2.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1504, allocations: 51.49 MB / 402.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.48/17.63, allocations: 6.206 GB / 6.598 GB, free: 102.2 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/17.63, allocations: 79.94 kB / 6.599 GB, free: 102.1 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8622/18.5, allocations: 201.7 MB / 6.796 GB, free: 76.68 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.704e-06/18.5, allocations: 0 / 6.796 GB, free: 76.68 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.49e-05/18.5, allocations: 6.75 kB / 6.796 GB, free: 76.68 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.008279/18.51, allocations: 1.446 MB / 6.797 GB, free: 75.75 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.09e-05/18.51, allocations: 18.27 kB / 6.797 GB, free: 75.74 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001166/18.51, allocations: 50.33 kB / 6.797 GB, free: 75.7 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000217/18.51, allocations: 22.83 kB / 6.797 GB, free: 75.7 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003374/18.51, allocations: 216.3 kB / 6.797 GB, free: 75.49 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/18.51, allocations: 11.3 kB / 6.797 GB, free: 75.49 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.742e-05/18.51, allocations: 17.06 kB / 6.797 GB, free: 75.49 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007818/18.51, allocations: 263.5 kB / 6.798 GB, free: 75.42 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/18.51, allocations: 3.969 kB / 6.798 GB, free: 75.42 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.978e-05/18.51, allocations: 11.94 kB / 6.798 GB, free: 75.41 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.061e-05/18.51, allocations: 11.58 kB / 6.798 GB, free: 75.4 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006314/18.51, allocations: 268.2 kB / 6.798 GB, free: 75.33 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.001608/18.51, allocations: 0.7155 MB / 6.798 GB, free: 74.82 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006257/18.51, allocations: 234.8 kB / 6.799 GB, free: 74.7 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/18.51, allocations: 112.4 kB / 6.799 GB, free: 74.65 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01497/18.53, allocations: 12.47 MB / 6.811 GB, free: 60.77 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.725e-05/18.53, allocations: 38.98 kB / 6.811 GB, free: 60.72 MB / 458.7 MB Notification: Performance of pre-optimization done (n=29): time 3.156e-06/18.53, allocations: 0 / 6.811 GB, free: 60.72 MB / 458.7 MB Notification: Performance of matching and sorting (n=36): time 0.002361/18.53, allocations: 0.5233 MB / 6.812 GB, free: 60.26 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/18.53, allocations: 81.3 kB / 6.812 GB, free: 60.16 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/18.53, allocations: 121.8 kB / 6.812 GB, free: 60.05 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.833e-05/18.53, allocations: 33.7 kB / 6.812 GB, free: 60.01 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.874e-05/18.53, allocations: 107.7 kB / 6.812 GB, free: 59.9 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/18.53, allocations: 119.1 kB / 6.812 GB, free: 59.8 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.208e-05/18.53, allocations: 12 kB / 6.812 GB, free: 59.79 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/18.53, allocations: 329.7 kB / 6.812 GB, free: 59.46 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002699/18.53, allocations: 110.7 kB / 6.812 GB, free: 59.36 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003317/18.53, allocations: 186.9 kB / 6.813 GB, free: 59.16 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/18.53, allocations: 129.3 kB / 6.813 GB, free: 59.05 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/18.53, allocations: 0 / 6.813 GB, free: 59.05 MB / 458.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007917/18.53, allocations: 377.4 kB / 6.813 GB, free: 58.72 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/18.53, allocations: 8 kB / 6.813 GB, free: 58.71 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/18.53, allocations: 0 / 6.813 GB, free: 58.71 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.134e-05/18.53, allocations: 7.953 kB / 6.813 GB, free: 58.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004682/18.53, allocations: 93.38 kB / 6.813 GB, free: 58.63 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.752e-05/18.53, allocations: 11.92 kB / 6.813 GB, free: 58.62 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003435/18.53, allocations: 31.39 kB / 6.813 GB, free: 58.59 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.945e-05/18.53, allocations: 19.94 kB / 6.813 GB, free: 58.57 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.0001188/18.53, allocations: 120.9 kB / 6.813 GB, free: 58.45 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/18.53, allocations: 23.8 kB / 6.813 GB, free: 58.43 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005236/18.53, allocations: 192.5 kB / 6.814 GB, free: 58.25 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/18.53, allocations: 7.953 kB / 6.814 GB, free: 58.25 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/18.53, allocations: 7.875 kB / 6.814 GB, free: 58.24 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/18.53, allocations: 11.8 kB / 6.814 GB, free: 58.23 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/18.53, allocations: 0.7084 MB / 6.814 GB, free: 57.56 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/18.53, allocations: 4 kB / 6.814 GB, free: 57.56 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003915/18.53, allocations: 78.56 kB / 6.814 GB, free: 57.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.468e-06/18.53, allocations: 8.156 kB / 6.814 GB, free: 57.49 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.59e-05/18.53, allocations: 15.75 kB / 6.814 GB, free: 57.48 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/18.53, allocations: 0 / 6.814 GB, free: 57.48 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/18.53, allocations: 7.938 kB / 6.814 GB, free: 57.47 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/18.53, allocations: 0.7102 MB / 6.815 GB, free: 56.73 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/18.53, allocations: 124 kB / 6.815 GB, free: 56.6 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.583e-05/18.53, allocations: 15.91 kB / 6.815 GB, free: 56.59 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000344/18.54, allocations: 19.84 kB / 6.815 GB, free: 56.57 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/18.54, allocations: 31.2 kB / 6.815 GB, free: 56.55 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.934e-05/18.54, allocations: 19.61 kB / 6.815 GB, free: 56.54 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.998e-05/18.54, allocations: 94.84 kB / 6.815 GB, free: 56.45 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/18.54, allocations: 0 / 6.815 GB, free: 56.45 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005799/18.54, allocations: 1.136 MB / 6.816 GB, free: 55.34 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.01123/18.55, allocations: 3.193 MB / 6.82 GB, free: 52.45 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0007274/18.55, allocations: 297 kB / 6.82 GB, free: 52.18 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/18.55, allocations: 4 kB / 6.82 GB, free: 52.17 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003122/18.55, allocations: 158 kB / 6.82 GB, free: 52.03 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000674/18.55, allocations: 91.25 kB / 6.82 GB, free: 51.96 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0285/18.58, allocations: 12.93 MB / 6.833 GB, free: 41.32 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/18.58, allocations: 0.7374 MB / 6.833 GB, free: 40.56 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004519/18.58, allocations: 89.95 kB / 6.834 GB, free: 40.48 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/18.58, allocations: 71.39 kB / 6.834 GB, free: 40.41 MB / 458.7 MB Notification: Performance of SimCode: time 1.693e-06/18.58, allocations: 0 / 6.834 GB, free: 40.41 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06866/18.65, allocations: 36.58 MB / 6.869 GB, free: 3.926 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002197/18.65, allocations: 181.1 kB / 6.87 GB, free: 3.703 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.203/21.86, allocations: 0 / 6.87 GB, free: 3.703 MB / 458.7 MB (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat does not exist to compare? outputFormat=mat