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.001064/0.001064, allocations: 105.1 kB / 16.4 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009839/0.0009839, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.466/1.466, allocations: 222.9 MB / 241 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8012/0.8012, allocations: 126.1 MB / 417.3 MB, free: 12.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 62.52 kB / 0.5731 GB, free: 27.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1721, allocations: 78.7 MB / 0.6499 GB, free: 4.117 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.6371/0.8093, allocations: 148.3 MB / 0.7947 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.000189/0.8095, allocations: 53.06 kB / 0.7947 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.139e-05/0.8096, allocations: 3.938 kB / 0.7948 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001449/0.8097, allocations: 5.5 kB / 0.7948 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 9.596e-05/0.8099, allocations: 11.19 kB / 0.7948 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.8109, allocations: 214.1 kB / 0.795 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001311/0.811, allocations: 38.23 kB / 0.795 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 7.279e-05/0.8111, allocations: 2.75 kB / 0.795 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.522e-05/0.8112, allocations: 22.47 kB / 0.795 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.257e-05/0.8113, allocations: 8.875 kB / 0.795 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.8113, allocations: 3.156 kB / 0.795 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006217/0.8119, allocations: 200.2 kB / 0.7952 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 6.208e-05/0.812, allocations: 9.734 kB / 0.7952 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.555e-05/0.812, allocations: 14.23 kB / 0.7953 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003749/0.8124, allocations: 109.3 kB / 0.7954 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.8124, allocations: 0 / 0.7954 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.196e-06/0.8125, allocations: 1.094 kB / 0.7954 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.8125, allocations: 0 / 0.7954 GB, free: 12.81 MB / 0.5919 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.0005348/0.813, allocations: 348.3 kB / 0.7957 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.8131, allocations: 13.59 kB / 0.7957 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004165/0.8135, allocations: 22.56 kB / 0.7957 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.8136, allocations: 166.5 kB / 0.7959 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.346e-05/0.8137, allocations: 33.11 kB / 0.7959 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.8137, allocations: 1.406 kB / 0.7959 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.8139, allocations: 52.05 kB / 0.796 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.8139, allocations: 0 / 0.796 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.814, allocations: 1.031 kB / 0.796 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.837e-05/0.814, allocations: 1.156 kB / 0.796 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.194e-05/0.8141, allocations: 22.17 kB / 0.796 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004592/0.8145, allocations: 267.3 kB / 0.7963 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 7.163e-05/0.8146, allocations: 23.11 kB / 0.7963 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.533e-05/0.8147, allocations: 12.36 kB / 0.7963 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002015/0.8149, allocations: 98.92 kB / 0.7964 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.8149, allocations: 31.59 kB / 0.7964 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.753e-06/0.8149, allocations: 1.281 kB / 0.7964 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0003244/0.8153, allocations: 50.47 kB / 0.7965 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.8153, allocations: 56.62 kB / 0.7965 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.106e-05/0.8154, allocations: 105 kB / 0.7966 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.8154, allocations: 26.8 kB / 0.7966 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.512e-05/0.8155, allocations: 94.84 kB / 0.7967 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.074e-05/0.8155, allocations: 8.453 kB / 0.7967 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.833e-05/0.8156, allocations: 16.56 kB / 0.7968 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.8157, allocations: 314.4 kB / 0.7971 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.162e-05/0.8157, allocations: 3.438 kB / 0.7971 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.059e-05/0.8158, allocations: 28.2 kB / 0.7971 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.904e-05/0.8159, allocations: 33.97 kB / 0.7971 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.8159, allocations: 0 / 0.7971 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001032/0.816, allocations: 55.42 kB / 0.7972 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.816, allocations: 6.75 kB / 0.7972 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.816, allocations: 0.9375 kB / 0.7972 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.816, allocations: 1.188 kB / 0.7972 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.553e-05/0.8161, allocations: 8.562 kB / 0.7972 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.874e-06/0.8161, allocations: 3.938 kB / 0.7972 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.956e-05/0.8162, allocations: 10.2 kB / 0.7972 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.8162, allocations: 3.125 kB / 0.7972 GB, free: 10.96 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001044/0.8163, allocations: 119.4 kB / 0.7973 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.911e-05/0.8163, allocations: 7.766 kB / 0.7973 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.766e-05/0.8164, allocations: 7.594 kB / 0.7973 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.8164, allocations: 1.219 kB / 0.7973 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.8164, allocations: 0 / 0.7973 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.8164, allocations: 3.938 kB / 0.7973 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003528/0.8168, allocations: 355.3 kB / 0.7977 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.8168, allocations: 3.938 kB / 0.7977 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.035e-05/0.8168, allocations: 4.25 kB / 0.7977 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.8168, allocations: 13.62 kB / 0.7977 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.8168, allocations: 1.219 kB / 0.7977 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.8168, allocations: 0 / 0.7977 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.8168, allocations: 1.125 kB / 0.7977 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.804e-05/0.8169, allocations: 66.83 kB / 0.7978 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.221e-05/0.817, allocations: 82.41 kB / 0.7978 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.817, allocations: 12.44 kB / 0.7979 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.02e-05/0.8171, allocations: 5.281 kB / 0.7979 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.368e-05/0.8171, allocations: 0.9688 kB / 0.7979 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.8171, allocations: 5.062 kB / 0.7979 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.71e-05/0.8172, allocations: 81.34 kB / 0.7979 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8172, allocations: 0 / 0.7979 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000218/0.8174, allocations: 6.594 kB / 0.7979 GB, free: 10.19 MB / 0.5919 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 (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.0001568/0.8176, allocations: 111.1 kB / 0.7981 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 9.461e-05/0.8177, allocations: 11.89 kB / 0.7981 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.8177, allocations: 0 / 0.7981 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.4e-05/0.8177, allocations: 11.25 kB / 0.7981 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.818, allocations: 10.62 kB / 0.7981 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000321/0.8183, allocations: 123.9 kB / 0.7982 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.8186, allocations: 0.6814 MB / 0.7989 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.249e-05/0.8187, allocations: 9.188 kB / 0.7989 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.35e-05/0.8187, allocations: 8.656 kB / 0.7989 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of SimCode: time 2.4e-07/0.8187, allocations: 0 / 0.7989 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of Templates: time 0.003214/0.822, allocations: 0.5798 MB / 0.7994 GB, free: 9.195 MB / 0.5919 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)