Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.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.ReferenceAir.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_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.001857/0.001857, allocations: 177.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 221.5 MB / 230.3 MB, free: 7.602 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.0009387/0.0009388, allocations: 94.03 kB / 281.2 MB, free: 5.348 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.524e-05/2.524e-05, allocations: 4 kB / 337.1 MB, free: 9.957 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1424, allocations: 50.43 MB / 387.6 MB, free: 7.492 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.26/17.41, allocations: 6.204 GB / 6.583 GB, free: 16.64 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/17.41, allocations: 82.06 kB / 6.583 GB, free: 16.6 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.218/18.63, allocations: 199.4 MB / 6.778 GB, free: 61.88 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.322e-06/18.63, allocations: 1.594 kB / 6.778 GB, free: 61.88 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.461e-05/18.63, allocations: 2.938 kB / 6.778 GB, free: 61.88 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.008132/18.63, allocations: 1.448 MB / 6.779 GB, free: 61.23 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.756e-05/18.63, allocations: 10.19 kB / 6.779 GB, free: 61.23 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001657/18.63, allocations: 23.16 kB / 6.779 GB, free: 61.22 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/18.63, allocations: 222 kB / 6.779 GB, free: 61.02 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/18.63, allocations: 4.781 kB / 6.779 GB, free: 61.02 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.973e-05/18.63, allocations: 8.906 kB / 6.779 GB, free: 61.02 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004622/18.63, allocations: 247.7 kB / 6.779 GB, free: 61.02 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004057/18.64, allocations: 226 kB / 6.78 GB, free: 60.97 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/18.64, allocations: 4.562 kB / 6.78 GB, free: 60.97 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.012e-05/18.64, allocations: 0.9688 kB / 6.78 GB, free: 60.97 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.491e-05/18.64, allocations: 5.625 kB / 6.78 GB, free: 60.97 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.001405/18.64, allocations: 0.6669 MB / 6.78 GB, free: 60.62 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004874/18.64, allocations: 214.8 kB / 6.781 GB, free: 60.57 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/18.64, allocations: 106.9 kB / 6.781 GB, free: 60.56 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01469/18.65, allocations: 12.48 MB / 6.793 GB, free: 47.79 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.845e-05/18.65, allocations: 42.14 kB / 6.793 GB, free: 47.75 MB / 442.7 MB Notification: Performance of pre-optimization done (n=29): time 3.527e-06/18.65, allocations: 0 / 6.793 GB, free: 47.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=36): time 0.002259/18.65, allocations: 499.8 kB / 6.793 GB, free: 47.69 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/18.65, allocations: 81.73 kB / 6.793 GB, free: 47.6 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/18.65, allocations: 115.7 kB / 6.794 GB, free: 47.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/18.65, allocations: 26.73 kB / 6.794 GB, free: 47.47 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.388e-05/18.65, allocations: 112.5 kB / 6.794 GB, free: 47.38 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/18.65, allocations: 119.5 kB / 6.794 GB, free: 47.32 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.092e-05/18.65, allocations: 0 / 6.794 GB, free: 47.32 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.773e-05/18.65, allocations: 331.9 kB / 6.794 GB, free: 47 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/18.66, allocations: 108.6 kB / 6.794 GB, free: 47 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002299/18.66, allocations: 177.8 kB / 6.794 GB, free: 46.93 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003956/18.66, allocations: 154.5 kB / 6.795 GB, free: 46.92 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/18.66, allocations: 0 / 6.795 GB, free: 46.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007322/18.66, allocations: 367 kB / 6.795 GB, free: 46.88 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/18.66, allocations: 4.578 kB / 6.795 GB, free: 46.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/18.66, allocations: 2.344 kB / 6.795 GB, free: 46.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/18.66, allocations: 6.75 kB / 6.795 GB, free: 46.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004768/18.66, allocations: 88.22 kB / 6.795 GB, free: 46.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/18.66, allocations: 7.562 kB / 6.795 GB, free: 46.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003319/18.66, allocations: 22.77 kB / 6.795 GB, free: 46.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.405e-05/18.66, allocations: 16.42 kB / 6.795 GB, free: 46.88 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.0001138/18.66, allocations: 113.2 kB / 6.795 GB, free: 46.77 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007675/18.66, allocations: 327.3 kB / 6.795 GB, free: 46.72 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/18.66, allocations: 22.25 kB / 6.795 GB, free: 46.71 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005304/18.66, allocations: 204.7 kB / 6.796 GB, free: 46.68 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/18.66, allocations: 7.562 kB / 6.796 GB, free: 46.68 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/18.66, allocations: 0.5625 kB / 6.796 GB, free: 46.68 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/18.66, allocations: 6.016 kB / 6.796 GB, free: 46.68 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/18.66, allocations: 0.6552 MB / 6.796 GB, free: 46.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/18.66, allocations: 5.828 kB / 6.796 GB, free: 46.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004436/18.66, allocations: 78.67 kB / 6.796 GB, free: 46.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/18.66, allocations: 9.469 kB / 6.796 GB, free: 46.36 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.25e-05/18.66, allocations: 10.34 kB / 6.796 GB, free: 46.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.067e-06/18.66, allocations: 8.406 kB / 6.796 GB, free: 46.36 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/18.66, allocations: 1.906 kB / 6.796 GB, free: 46.36 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/18.66, allocations: 0.7105 MB / 6.797 GB, free: 45.99 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/18.66, allocations: 131.4 kB / 6.797 GB, free: 45.89 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.356e-05/18.66, allocations: 5.156 kB / 6.797 GB, free: 45.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003315/18.66, allocations: 14.92 kB / 6.797 GB, free: 45.89 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.747e-05/18.66, allocations: 29.31 kB / 6.797 GB, free: 45.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.183e-05/18.66, allocations: 19.02 kB / 6.797 GB, free: 45.89 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.101e-05/18.66, allocations: 96.03 kB / 6.797 GB, free: 45.81 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.8e-07/18.66, allocations: 0 / 6.797 GB, free: 45.81 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005815/18.67, allocations: 1.099 MB / 6.798 GB, free: 45.68 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.01108/18.68, allocations: 3.198 MB / 6.802 GB, free: 44.25 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007371/18.68, allocations: 279 kB / 6.802 GB, free: 44.25 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/18.68, allocations: 7.844 kB / 6.802 GB, free: 44.25 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002502/18.68, allocations: 147.5 kB / 6.802 GB, free: 44.25 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008882/18.68, allocations: 86.06 kB / 6.802 GB, free: 44.25 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03006/18.71, allocations: 12.65 MB / 6.814 GB, free: 43.04 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001938/18.71, allocations: 0.7424 MB / 6.815 GB, free: 42.34 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004687/18.71, allocations: 91.97 kB / 6.815 GB, free: 42.32 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001919/18.71, allocations: 71.28 kB / 6.815 GB, free: 42.32 MB / 442.7 MB Notification: Performance of SimCode: time 1.052e-06/18.71, allocations: 3.938 kB / 6.815 GB, free: 42.32 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06917/18.78, allocations: 32.51 MB / 6.847 GB, free: 41.73 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001777/18.78, allocations: 166.7 kB / 6.847 GB, free: 41.54 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.866/21.65, allocations: 2.062 kB / 6.847 GB, free: 41.54 MB / 442.7 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1)