Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000817/0.0008173, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.006213/0.006213, allocations: 170.3 kB / 16.26 MB, free: 6.613 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.412/1.412, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.011/1.011, allocations: 143.2 MB / 434.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003577/0.0003578, allocations: 12 kB / 0.5164 GB, free: 11.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1772, allocations: 83.4 MB / 0.5978 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5009/0.6781, allocations: 143.7 MB / 0.7382 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001591/0.6783, allocations: 56.08 kB / 0.7382 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.582e-05/0.6783, allocations: 1.219 kB / 0.7382 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001242/0.6785, allocations: 5.125 kB / 0.7382 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.431e-05/0.6786, allocations: 14.55 kB / 0.7383 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004995/0.6791, allocations: 94.7 kB / 0.7384 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.6792, allocations: 58.83 kB / 0.7384 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.791e-05/0.6793, allocations: 6.016 kB / 0.7384 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.53e-05/0.6793, allocations: 10.75 kB / 0.7384 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.353e-05/0.6794, allocations: 18.91 kB / 0.7384 GB, free: 7 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.6794, allocations: 5.188 kB / 0.7384 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002784/0.6797, allocations: 85.19 kB / 0.7385 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.716e-05/0.6798, allocations: 10.42 kB / 0.7385 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.341e-05/0.6798, allocations: 36.66 kB / 0.7386 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001944/0.68, allocations: 70.31 kB / 0.7386 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.68, allocations: 0 / 0.7386 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.755e-06/0.68, allocations: 1.188 kB / 0.7386 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.6801, allocations: 0 / 0.7386 GB, free: 6.906 MB / 0.5606 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.0004329/0.6805, allocations: 331.6 kB / 0.739 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.6805, allocations: 13.78 kB / 0.739 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002699/0.6808, allocations: 18.98 kB / 0.739 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.681, allocations: 167.2 kB / 0.7391 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.854e-05/0.6811, allocations: 35.64 kB / 0.7392 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.6811, allocations: 1.281 kB / 0.7392 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.6812, allocations: 46.38 kB / 0.7392 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.6813, allocations: 0 / 0.7392 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.6813, allocations: 5.125 kB / 0.7392 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.376e-05/0.6813, allocations: 2.781 kB / 0.7392 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.401e-05/0.6814, allocations: 22.47 kB / 0.7393 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004839/0.6819, allocations: 260.8 kB / 0.7395 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.434e-05/0.682, allocations: 16.8 kB / 0.7395 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.48e-05/0.682, allocations: 10.39 kB / 0.7395 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.348e-06/0.682, allocations: 0 / 0.7395 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.682, allocations: 32.38 kB / 0.7396 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.6821, allocations: 1.188 kB / 0.7396 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001782/0.6822, allocations: 40.33 kB / 0.7396 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.6823, allocations: 56.02 kB / 0.7397 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.6824, allocations: 109.6 kB / 0.7398 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.6824, allocations: 25.83 kB / 0.7398 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.306e-05/0.6825, allocations: 95.22 kB / 0.7399 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.931e-06/0.6825, allocations: 1.156 kB / 0.7399 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.688e-05/0.6826, allocations: 11.39 kB / 0.7399 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.6827, allocations: 317.5 kB / 0.7402 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.75e-05/0.6827, allocations: 3.797 kB / 0.7402 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.349e-05/0.6828, allocations: 24.31 kB / 0.7402 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.289e-05/0.6828, allocations: 36.62 kB / 0.7403 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.6828, allocations: 0 / 0.7403 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.335e-05/0.6829, allocations: 60.64 kB / 0.7403 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.6829, allocations: 5.938 kB / 0.7403 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.683, allocations: 0.9375 kB / 0.7403 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.683, allocations: 1.438 kB / 0.7403 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.339e-05/0.683, allocations: 6.281 kB / 0.7403 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.6831, allocations: 9.641 kB / 0.7403 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.756e-05/0.6831, allocations: 2.25 kB / 0.7403 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.6831, allocations: 1.875 kB / 0.7403 GB, free: 5.125 MB / 0.5606 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 9.381e-05/0.6832, allocations: 113.4 kB / 0.7404 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.534e-05/0.6832, allocations: 5.094 kB / 0.7404 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.387e-05/0.6833, allocations: 9.547 kB / 0.7405 GB, free: 5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.6833, allocations: 3.984 kB / 0.7405 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.6833, allocations: 5.469 kB / 0.7405 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.6833, allocations: 4.5 kB / 0.7405 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000274/0.6836, allocations: 341.8 kB / 0.7408 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.6836, allocations: 0 / 0.7408 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.572e-05/0.6836, allocations: 1.719 kB / 0.7408 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.6836, allocations: 7.562 kB / 0.7408 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.6836, allocations: 0 / 0.7408 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.6836, allocations: 0 / 0.7408 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.6836, allocations: 0.8125 kB / 0.7408 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.583e-05/0.6837, allocations: 71.2 kB / 0.7409 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.705e-05/0.6838, allocations: 77.81 kB / 0.7409 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.6838, allocations: 5.812 kB / 0.741 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.831e-05/0.6839, allocations: 4.703 kB / 0.741 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.216e-05/0.6839, allocations: 0.9688 kB / 0.741 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.6839, allocations: 2.312 kB / 0.741 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.856e-05/0.684, allocations: 83.02 kB / 0.741 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.684, allocations: 4.031 kB / 0.741 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001921/0.6842, allocations: 10.25 kB / 0.7411 GB, free: 4.348 MB / 0.5606 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 (1): * Single equations (assignments): 1 * 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.000121/0.6843, allocations: 97.61 kB / 0.7411 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.417e-05/0.6844, allocations: 14.52 kB / 0.7412 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.822e-06/0.6844, allocations: 1.969 kB / 0.7412 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.861e-06/0.6844, allocations: 2.469 kB / 0.7412 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.6847, allocations: 10.39 kB / 0.7412 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002822/0.685, allocations: 120.4 kB / 0.7413 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.6852, allocations: 0.6753 MB / 0.742 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.772e-05/0.6853, allocations: 6.281 kB / 0.742 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.526e-05/0.6853, allocations: 8.406 kB / 0.742 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of SimCode: time 1.814e-06/0.6853, allocations: 5.094 kB / 0.742 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of Templates: time 0.002949/0.6883, allocations: 485.6 kB / 0.7424 GB, free: 3.402 MB / 0.5606 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)