Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006829/0.0006829, allocations: 92.7 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007268/0.0007269, allocations: 173.9 kB / 16.58 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.177/1.177, allocations: 223.3 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6146/0.6146, allocations: 113.7 MB / 405.4 MB, free: 4.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002776/0.0002778, allocations: 12.22 kB / 493.1 MB, free: 8.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1154, allocations: 77.11 MB / 0.5569 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.3384/0.4538, allocations: 134.5 MB / 0.6882 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000102/0.454, allocations: 46.41 kB / 0.6882 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.894e-05/0.454, allocations: 8 kB / 0.6882 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.767e-05/0.4541, allocations: 3.984 kB / 0.6882 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.314e-05/0.4542, allocations: 10.42 kB / 0.6882 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000509/0.4547, allocations: 151.2 kB / 0.6884 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.329e-05/0.4548, allocations: 43.83 kB / 0.6884 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 2.936e-05/0.4548, allocations: 4 kB / 0.6884 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.413e-05/0.4548, allocations: 15.98 kB / 0.6885 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.672e-05/0.4549, allocations: 15.92 kB / 0.6885 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.4549, allocations: 4 kB / 0.6885 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002713/0.4552, allocations: 94.98 kB / 0.6886 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.202e-05/0.4552, allocations: 11.97 kB / 0.6886 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.389e-05/0.4553, allocations: 33.64 kB / 0.6886 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.4554, allocations: 54.19 kB / 0.6887 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.4554, allocations: 0 / 0.6887 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.213e-06/0.4554, allocations: 0 / 0.6887 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.166e-06/0.4554, allocations: 4 kB / 0.6887 GB, free: 4.027 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003411/0.4558, allocations: 335.4 kB / 0.689 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.4558, allocations: 8.031 kB / 0.689 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.166e-05/0.4559, allocations: 34.56 kB / 0.689 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002661/0.4561, allocations: 20.75 kB / 0.689 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.43e-05/0.4562, allocations: 167.1 kB / 0.6892 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.563e-05/0.4563, allocations: 29.66 kB / 0.6892 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-06/0.4563, allocations: 4 kB / 0.6892 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.4564, allocations: 45.69 kB / 0.6893 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.4564, allocations: 0 / 0.6893 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.4565, allocations: 7.938 kB / 0.6893 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.4565, allocations: 3.938 kB / 0.6893 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.928e-05/0.4565, allocations: 19.98 kB / 0.6893 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002953/0.4568, allocations: 264.8 kB / 0.6896 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.296e-05/0.4569, allocations: 26.58 kB / 0.6896 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.835e-05/0.4569, allocations: 8.922 kB / 0.6896 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000135/0.4571, allocations: 93.09 kB / 0.6897 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.4571, allocations: 38.5 kB / 0.6897 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.4571, allocations: 0 / 0.6897 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001971/0.4573, allocations: 50.25 kB / 0.6898 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.4573, allocations: 59.39 kB / 0.6898 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.911e-05/0.4574, allocations: 93.86 kB / 0.6899 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.4574, allocations: 25.7 kB / 0.6899 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.328e-05/0.4575, allocations: 95.98 kB / 0.69 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.333e-06/0.4575, allocations: 7.891 kB / 0.69 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-06/0.4575, allocations: 3.938 kB / 0.69 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.4576, allocations: 322.9 kB / 0.6903 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.334e-05/0.4576, allocations: 4 kB / 0.6904 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.512e-05/0.4577, allocations: 26.5 kB / 0.6904 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.086e-05/0.4577, allocations: 8 kB / 0.6904 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.4577, allocations: 0 / 0.6904 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.984e-05/0.4578, allocations: 53.62 kB / 0.6904 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.4578, allocations: 12.09 kB / 0.6904 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.4578, allocations: 0 / 0.6904 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.946e-06/0.4578, allocations: 0 / 0.6904 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.884e-05/0.4579, allocations: 9.312 kB / 0.6905 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.4579, allocations: 0 / 0.6905 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.312e-05/0.4579, allocations: 0 / 0.6905 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.4579, allocations: 4 kB / 0.6905 GB, free: 1.926 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 6.104e-05/0.458, allocations: 110.5 kB / 0.6906 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.458, allocations: 15.89 kB / 0.6906 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.846e-05/0.458, allocations: 7.406 kB / 0.6906 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.458, allocations: 0 / 0.6906 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.458, allocations: 3.984 kB / 0.6906 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.4581, allocations: 0 / 0.6906 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002515/0.4583, allocations: 371.5 kB / 0.6909 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-06/0.4583, allocations: 0 / 0.6909 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.426e-05/0.4584, allocations: 4.875 kB / 0.691 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.4584, allocations: 64 / 0.691 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-06/0.4584, allocations: 7.938 kB / 0.691 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4584, allocations: 0 / 0.691 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4584, allocations: 0 / 0.691 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.54e-05/0.4585, allocations: 73.94 kB / 0.691 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.509e-05/0.4585, allocations: 77.11 kB / 0.6911 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.4585, allocations: 7.938 kB / 0.6911 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.861e-05/0.4586, allocations: 4.031 kB / 0.6911 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.309e-05/0.4586, allocations: 8 kB / 0.6911 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.4586, allocations: 3.984 kB / 0.6911 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.369e-05/0.4587, allocations: 79.28 kB / 0.6912 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4587, allocations: 0 / 0.6912 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001778/0.4588, allocations: 8 kB / 0.6912 GB, free: 1.047 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (2): * Single equations (assignments): 2 * 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.0003935/0.4592, allocations: 0.6138 MB / 0.6918 GB, free: 412 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.386e-05/0.4593, allocations: 15.94 kB / 0.6918 GB, free: 396 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4593, allocations: 0 / 0.6918 GB, free: 396 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.108e-05/0.4593, allocations: 12.16 kB / 0.6918 GB, free: 384 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001819/0.4595, allocations: 16.05 kB / 0.6918 GB, free: 368 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003432/0.4599, allocations: 155.6 kB / 0.692 GB, free: 164 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/0.4601, allocations: 0.677 MB / 0.6927 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.389e-05/0.4602, allocations: 11.98 kB / 0.6927 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.487e-05/0.4602, allocations: 7.438 kB / 0.6927 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of SimCode: time 2.204e-06/0.4602, allocations: 0 / 0.6927 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01035/0.4706, allocations: 1.227 MB / 0.6939 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/0.4708, allocations: 188.6 kB / 0.6941 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.389/1.86, allocations: 0 / 0.6941 GB, free: 14.12 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: