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.001114/0.001114, allocations: 181.2 kB / 16.38 MB, free: 5.762 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.356/1.356, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001186, allocations: 86.88 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003047/0.0003048, allocations: 4 kB / 351.2 MB, free: 15.22 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2715, allocations: 50.4 MB / 401.6 MB, free: 32.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.929/7.201, allocations: 3.337 GB / 3.729 GB, free: 101.9 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002978/7.201, allocations: 73.38 kB / 3.729 GB, free: 101.8 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1051/7.306, allocations: 49.18 MB / 3.777 GB, free: 52.11 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.655e-06/7.306, allocations: 0 / 3.777 GB, free: 52.11 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.746e-05/7.306, allocations: 4 kB / 3.777 GB, free: 52.11 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.001825/7.308, allocations: 0.6315 MB / 3.778 GB, free: 51.43 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/7.308, allocations: 16.03 kB / 3.778 GB, free: 51.41 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.884e-05/7.308, allocations: 54.5 kB / 3.778 GB, free: 51.35 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001515/7.308, allocations: 19.81 kB / 3.778 GB, free: 51.33 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/7.309, allocations: 206.9 kB / 3.778 GB, free: 51.09 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/7.309, allocations: 12.33 kB / 3.778 GB, free: 51.07 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.464e-05/7.309, allocations: 19.98 kB / 3.778 GB, free: 51.05 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005356/7.309, allocations: 257.4 kB / 3.778 GB, free: 50.79 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/7.309, allocations: 0 / 3.778 GB, free: 50.79 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.276e-05/7.309, allocations: 12 kB / 3.778 GB, free: 50.78 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.176e-05/7.309, allocations: 15.83 kB / 3.778 GB, free: 50.77 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005622/7.31, allocations: 259.8 kB / 3.779 GB, free: 50.51 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.00129/7.311, allocations: 0.6869 MB / 3.779 GB, free: 49.75 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005575/7.312, allocations: 225.1 kB / 3.779 GB, free: 49.52 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002788/7.312, allocations: 356.4 kB / 3.78 GB, free: 49.09 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.858e-05/7.312, allocations: 30.81 kB / 3.78 GB, free: 49.05 MB / 442.7 MB Notification: Performance of pre-optimization done (n=29): time 1.843e-06/7.312, allocations: 0 / 3.78 GB, free: 49.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=36): time 0.002225/7.314, allocations: 0.6905 MB / 3.78 GB, free: 48.36 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/7.314, allocations: 85.28 kB / 3.781 GB, free: 48.26 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.101e-05/7.314, allocations: 105.2 kB / 3.781 GB, free: 48.15 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/7.314, allocations: 37.7 kB / 3.781 GB, free: 48.11 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.116e-05/7.314, allocations: 100.8 kB / 3.781 GB, free: 48 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.479e-05/7.315, allocations: 130.1 kB / 3.781 GB, free: 47.88 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-05/7.315, allocations: 12 kB / 3.781 GB, free: 47.86 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.564e-05/7.315, allocations: 330.8 kB / 3.781 GB, free: 47.53 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000311/7.315, allocations: 131.9 kB / 3.781 GB, free: 47.4 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003337/7.315, allocations: 203.8 kB / 3.782 GB, free: 47.18 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000338/7.316, allocations: 157.7 kB / 3.782 GB, free: 47.02 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/7.316, allocations: 0 / 3.782 GB, free: 47.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008232/7.317, allocations: 411.8 kB / 3.782 GB, free: 46.62 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/7.317, allocations: 4 kB / 3.782 GB, free: 46.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/7.317, allocations: 4 kB / 3.782 GB, free: 46.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/7.317, allocations: 4 kB / 3.782 GB, free: 46.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004913/7.317, allocations: 91.83 kB / 3.782 GB, free: 46.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/7.317, allocations: 4 kB / 3.782 GB, free: 46.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003491/7.317, allocations: 32.03 kB / 3.782 GB, free: 46.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.046e-05/7.318, allocations: 23.92 kB / 3.782 GB, free: 46.46 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 () * Number of clocked 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.0001264/7.318, allocations: 144.6 kB / 3.782 GB, free: 46.31 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.394e-05/7.318, allocations: 11.91 kB / 3.782 GB, free: 46.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003603/7.318, allocations: 182.3 kB / 3.783 GB, free: 46.11 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/7.318, allocations: 8 kB / 3.783 GB, free: 46.11 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/7.318, allocations: 3.953 kB / 3.783 GB, free: 46.1 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/7.318, allocations: 11.92 kB / 3.783 GB, free: 46.09 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/7.32, allocations: 0.7475 MB / 3.783 GB, free: 45.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/7.32, allocations: 4 kB / 3.783 GB, free: 45.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004166/7.32, allocations: 75.88 kB / 3.783 GB, free: 45.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.433e-06/7.32, allocations: 4.156 kB / 3.783 GB, free: 45.19 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.783e-05/7.32, allocations: 19.98 kB / 3.783 GB, free: 45.17 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.668e-06/7.32, allocations: 4.375 kB / 3.783 GB, free: 45.17 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/7.32, allocations: 0 / 3.783 GB, free: 45.17 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/7.321, allocations: 0.7794 MB / 3.784 GB, free: 44.32 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/7.321, allocations: 120.9 kB / 3.784 GB, free: 44.18 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.381e-05/7.321, allocations: 15.92 kB / 3.784 GB, free: 44.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000368/7.322, allocations: 20.05 kB / 3.784 GB, free: 44.14 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/7.322, allocations: 31.86 kB / 3.784 GB, free: 44.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.102e-05/7.322, allocations: 19.98 kB / 3.784 GB, free: 44.09 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.214e-05/7.322, allocations: 91.27 kB / 3.784 GB, free: 44 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/7.322, allocations: 0 / 3.784 GB, free: 44 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007909/7.323, allocations: 183.9 kB / 3.785 GB, free: 43.82 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 () * Number of clocked 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.002405/7.325, allocations: 2.27 MB / 3.787 GB, free: 41.49 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007636/7.326, allocations: 333.4 kB / 3.787 GB, free: 41.17 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/7.326, allocations: 0 / 3.787 GB, free: 41.17 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003395/7.326, allocations: 184.5 kB / 3.787 GB, free: 40.99 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000539/7.327, allocations: 96.02 kB / 3.787 GB, free: 40.89 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003062/7.33, allocations: 2.797 MB / 3.79 GB, free: 38 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/7.33, allocations: 0.7413 MB / 3.791 GB, free: 37.23 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004262/7.331, allocations: 73.89 kB / 3.791 GB, free: 37.16 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/7.331, allocations: 67.39 kB / 3.791 GB, free: 37.1 MB / 442.7 MB Notification: Performance of SimCode: time 1.062e-06/7.331, allocations: 4 kB / 3.791 GB, free: 37.09 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02967/7.36, allocations: 15.89 MB / 3.807 GB, free: 21.35 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001509/7.361, allocations: 167 kB / 3.807 GB, free: 21.11 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.286/9.647, allocations: 4 kB / 3.807 GB, free: 21.1 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