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: translateModel(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007514/0.0007515, allocations: 94.03 kB / 15.7 MB, free: 448 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.0008794/0.0008796, allocations: 171.9 kB / 16.58 MB, free: 6.887 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.377/1.377, allocations: 223.3 MB / 240.6 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7095/0.7095, allocations: 115.5 MB / 407.2 MB, free: 2.812 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003413/0.0003415, allocations: 8 kB / 495.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1464, allocations: 77.52 MB / 0.5593 GB, free: 9.418 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4668/0.6132, allocations: 134.5 MB / 0.6906 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001222/0.6134, allocations: 42.39 kB / 0.6907 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.962e-05/0.6134, allocations: 4 kB / 0.6907 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.176e-05/0.6135, allocations: 4 kB / 0.6907 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.31e-05/0.6136, allocations: 11.91 kB / 0.6907 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006391/0.6143, allocations: 153.6 kB / 0.6908 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.067e-05/0.6143, allocations: 43.83 kB / 0.6909 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.499e-05/0.6144, allocations: 0 / 0.6909 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.775e-05/0.6145, allocations: 27.97 kB / 0.6909 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.846e-05/0.6145, allocations: 11.92 kB / 0.6909 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.6146, allocations: 4 kB / 0.6909 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000352/0.6149, allocations: 94.17 kB / 0.691 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.767e-05/0.615, allocations: 15.97 kB / 0.691 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.779e-05/0.615, allocations: 29.7 kB / 0.691 GB, free: 492 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.6152, allocations: 54.53 kB / 0.6911 GB, free: 440 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.6152, allocations: 0 / 0.6911 GB, free: 440 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6152, allocations: 0 / 0.6911 GB, free: 440 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.197e-06/0.6152, allocations: 0 / 0.6911 GB, free: 440 kB / 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.0003393/0.6155, allocations: 335.4 kB / 0.6914 GB, free: 56 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.6156, allocations: 8.031 kB / 0.6914 GB, free: 48 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003108/0.6159, allocations: 28.59 kB / 0.6914 GB, free: 20 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.616, allocations: 163 kB / 0.6916 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.435e-05/0.6161, allocations: 33.66 kB / 0.6916 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.6161, allocations: 0 / 0.6916 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.6162, allocations: 53.62 kB / 0.6917 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.6163, allocations: 0 / 0.6917 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.6163, allocations: 7.969 kB / 0.6917 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.866e-05/0.6163, allocations: 4 kB / 0.6917 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.138e-05/0.6164, allocations: 19.98 kB / 0.6917 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003254/0.6167, allocations: 252.9 kB / 0.6919 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.158e-05/0.6168, allocations: 26.61 kB / 0.692 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.24e-05/0.6168, allocations: 16.86 kB / 0.692 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001466/0.617, allocations: 93.03 kB / 0.6921 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.617, allocations: 34.56 kB / 0.6921 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.617, allocations: 0.6562 kB / 0.6921 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0002241/0.6172, allocations: 45.78 kB / 0.6922 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.6173, allocations: 55.44 kB / 0.6922 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.408e-05/0.6174, allocations: 105.8 kB / 0.6923 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.6174, allocations: 25.7 kB / 0.6923 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.194e-05/0.6174, allocations: 91.97 kB / 0.6924 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.708e-06/0.6174, allocations: 11.91 kB / 0.6924 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-06/0.6174, allocations: 3.938 kB / 0.6924 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.721e-05/0.6176, allocations: 314.8 kB / 0.6927 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.676e-05/0.6176, allocations: 11.92 kB / 0.6927 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.754e-05/0.6176, allocations: 26.58 kB / 0.6928 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.302e-05/0.6176, allocations: 4 kB / 0.6928 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.6176, allocations: 0 / 0.6928 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.845e-05/0.6177, allocations: 53.62 kB / 0.6928 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.6178, allocations: 8 kB / 0.6928 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.6178, allocations: 96 / 0.6928 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.6178, allocations: 4 kB / 0.6928 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.862e-05/0.6179, allocations: 12 kB / 0.6929 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.6179, allocations: 3.984 kB / 0.6929 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.558e-05/0.6179, allocations: 0 / 0.6929 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.6179, allocations: 4 kB / 0.6929 GB, free: 14.36 MB / 0.5137 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.937e-05/0.618, allocations: 113.7 kB / 0.693 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/0.618, allocations: 7.906 kB / 0.693 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.067e-05/0.618, allocations: 7.125 kB / 0.693 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.618, allocations: 4 kB / 0.693 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.6181, allocations: 0 / 0.693 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.6181, allocations: 0 / 0.693 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.6183, allocations: 359.5 kB / 0.6933 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.6183, allocations: 4 kB / 0.6933 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.042e-05/0.6184, allocations: 4.875 kB / 0.6933 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.6184, allocations: 4 kB / 0.6933 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.6184, allocations: 0 / 0.6933 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.6184, allocations: 4.062 kB / 0.6933 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.6184, allocations: 0 / 0.6933 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.56e-05/0.6185, allocations: 77.88 kB / 0.6934 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.178e-05/0.6185, allocations: 77.11 kB / 0.6935 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.6186, allocations: 2.938 kB / 0.6935 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.302e-05/0.6187, allocations: 7.984 kB / 0.6935 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.32e-05/0.6187, allocations: 11.97 kB / 0.6935 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.6187, allocations: 0 / 0.6935 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.105e-05/0.6187, allocations: 83.56 kB / 0.6936 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6187, allocations: 0 / 0.6936 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002027/0.6189, allocations: 4 kB / 0.6936 GB, free: 13.5 MB / 0.5137 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.0001247/0.6191, allocations: 103.4 kB / 0.6937 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.599e-05/0.6192, allocations: 16 kB / 0.6937 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6192, allocations: 0 / 0.6937 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.42e-05/0.6192, allocations: 7.938 kB / 0.6937 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.6194, allocations: 15.83 kB / 0.6937 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002741/0.6197, allocations: 134.2 kB / 0.6939 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.62, allocations: 0.6809 MB / 0.6945 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.48e-05/0.62, allocations: 7.984 kB / 0.6945 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.033e-05/0.6201, allocations: 7.438 kB / 0.6945 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.6201, allocations: 0 / 0.6945 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of Templates: time 0.002708/0.6228, allocations: 0.5321 MB / 0.6951 GB, free: 11.94 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.makefile (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 & ./IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)