Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 119.9 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 225.6 MB / 248.5 MB, free: 3.598 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8941/0.8941, allocations: 129.2 MB / 432.5 MB, free: 13.2 MB / 350.1 MB " [Timeout remaining time 179] 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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 63.91 kB / 0.5987 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4516/0.4536, allocations: 83.45 MB / 0.6802 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004078/0.4576, allocations: 3.309 MB / 0.6834 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 8.916e-05/0.4577, allocations: 51.95 kB / 0.6835 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.542e-05/0.4578, allocations: 0 / 0.6835 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.535e-05/0.4579, allocations: 5.203 kB / 0.6835 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.294e-05/0.4579, allocations: 5.812 kB / 0.6835 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004927/0.4584, allocations: 196.6 kB / 0.6837 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.347e-05/0.4585, allocations: 33.27 kB / 0.6837 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.23e-05/0.4585, allocations: 1.031 kB / 0.6837 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.639e-05/0.4586, allocations: 17.66 kB / 0.6837 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.838e-05/0.4587, allocations: 18.27 kB / 0.6837 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.4587, allocations: 1.094 kB / 0.6837 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003389/0.459, allocations: 185.6 kB / 0.6839 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.188e-05/0.459, allocations: 3.188 kB / 0.6839 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.589e-05/0.4591, allocations: 16.81 kB / 0.6839 GB, free: 3 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002579/0.4593, allocations: 133 kB / 0.684 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4593, allocations: 0 / 0.684 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4593, allocations: 0 / 0.684 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.4593, allocations: 0 / 0.684 GB, free: 2.938 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003587/0.4597, allocations: 351.2 kB / 0.6844 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.4597, allocations: 10.25 kB / 0.6844 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.614e-05/0.4598, allocations: 34.75 kB / 0.6844 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.344e-05/0.4598, allocations: 2.469 kB / 0.6844 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.726e-05/0.4599, allocations: 169.5 kB / 0.6846 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.574e-05/0.4599, allocations: 27.52 kB / 0.6846 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.46, allocations: 13.19 kB / 0.6846 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.4601, allocations: 42.69 kB / 0.6847 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.4601, allocations: 1.188 kB / 0.6847 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.4601, allocations: 0 / 0.6847 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/0.4601, allocations: 1.156 kB / 0.6847 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.433e-05/0.4602, allocations: 24.83 kB / 0.6847 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00051/0.4607, allocations: 0.5852 MB / 0.6853 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.536e-05/0.4607, allocations: 19.83 kB / 0.6853 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.232e-05/0.4607, allocations: 6.109 kB / 0.6853 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001486/0.4609, allocations: 342.2 kB / 0.6856 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.4609, allocations: 35.75 kB / 0.6856 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.4609, allocations: 0 / 0.6856 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001463/0.461, allocations: 36 kB / 0.6857 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.241e-05/0.4611, allocations: 56.59 kB / 0.6857 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.737e-05/0.4611, allocations: 107.8 kB / 0.6858 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.4611, allocations: 25.7 kB / 0.6859 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.978e-05/0.4612, allocations: 89.41 kB / 0.6859 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.102e-06/0.4612, allocations: 1.438 kB / 0.6859 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.77e-05/0.4612, allocations: 17.5 kB / 0.686 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.506e-05/0.4612, allocations: 322.8 kB / 0.6863 GB, free: 404 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.311e-05/0.4612, allocations: 2.75 kB / 0.6863 GB, free: 404 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.058e-05/0.4613, allocations: 14.25 kB / 0.6863 GB, free: 388 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.989e-05/0.4613, allocations: 20.12 kB / 0.6863 GB, free: 368 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4613, allocations: 0 / 0.6863 GB, free: 368 kB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.592e-05/0.4614, allocations: 58.28 kB / 0.6864 GB, free: 316 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.4614, allocations: 8.375 kB / 0.6864 GB, free: 316 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.4614, allocations: 0 / 0.6864 GB, free: 316 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.4614, allocations: 1.562 kB / 0.6864 GB, free: 316 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.535e-05/0.4614, allocations: 8.047 kB / 0.6864 GB, free: 312 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.4615, allocations: 1.094 kB / 0.6864 GB, free: 312 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.936e-05/0.4615, allocations: 5.016 kB / 0.6864 GB, free: 308 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.4615, allocations: 1.125 kB / 0.6864 GB, free: 308 kB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.732e-05/0.4615, allocations: 120 kB / 0.6865 GB, free: 180 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.336e-05/0.4616, allocations: 1.125 kB / 0.6865 GB, free: 180 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.744e-05/0.4617, allocations: 123.3 kB / 0.6866 GB, free: 56 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.933e-05/0.4617, allocations: 177.5 kB / 0.6868 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.836e-05/0.4618, allocations: 180.2 kB / 0.687 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.438e-05/0.4619, allocations: 181.6 kB / 0.6871 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002849/0.4622, allocations: 420.6 kB / 0.6875 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.692e-05/0.4622, allocations: 101 kB / 0.6876 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.316e-05/0.4623, allocations: 106.2 kB / 0.6877 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.993e-05/0.4624, allocations: 181.6 kB / 0.6879 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.881e-05/0.4624, allocations: 181.4 kB / 0.6881 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.841e-05/0.4625, allocations: 189.4 kB / 0.6883 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.861e-05/0.4626, allocations: 181.3 kB / 0.6884 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.4628, allocations: 312.5 kB / 0.6887 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.173e-05/0.4629, allocations: 183.3 kB / 0.6889 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.463, allocations: 185.6 kB / 0.6891 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.4631, allocations: 107.7 kB / 0.6892 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.474e-05/0.4632, allocations: 185.8 kB / 0.6894 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.487e-05/0.4633, allocations: 101 kB / 0.6895 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.169e-05/0.4633, allocations: 88.3 kB / 0.6895 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.4633, allocations: 0 / 0.6895 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003277/0.4636, allocations: 35.5 kB / 0.6896 GB, free: 12.88 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006107/0.4643, allocations: 0.8806 MB / 0.6904 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.255e-05/0.4643, allocations: 5.75 kB / 0.6904 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4643, allocations: 0.9375 kB / 0.6904 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.4643, allocations: 0 / 0.6904 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004723/0.4648, allocations: 462.9 kB / 0.6909 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.466, allocations: 1.327 MB / 0.6922 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.4663, allocations: 0.6756 MB / 0.6928 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.73e-05/0.4663, allocations: 4.375 kB / 0.6928 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.759e-05/0.4664, allocations: 9.812 kB / 0.6929 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of SimCode: time 6.91e-07/0.4664, allocations: 4 kB / 0.6929 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02452/0.4909, allocations: 2.154 MB / 0.695 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.371/8.862, allocations: 4.688 kB / 0.695 GB, free: 8.379 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.287913867738098] Failed to read output from testmodel.py, exit status != 0: 8.932088774163276 8.951868717 8.488658741 Calling exit ...