Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/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: "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_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.001137/0.001137, allocations: 108 kB / 15.6 MB, free: 132 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.001221/0.001221, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.33/1.33, allocations: 222.9 MB / 240.2 MB, free: 4.391 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 0.9695/0.9695, allocations: 143 MB / 433.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 63.89 kB / 0.5143 GB, free: 11.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1662, allocations: 82.04 MB / 0.5944 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4271/0.5933, allocations: 148.3 MB / 0.7392 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001437/0.5935, allocations: 61.62 kB / 0.7392 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.192e-05/0.5935, allocations: 1.344 kB / 0.7392 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.423e-05/0.5936, allocations: 2.25 kB / 0.7392 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.861e-05/0.5937, allocations: 16.23 kB / 0.7392 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006476/0.5944, allocations: 209.7 kB / 0.7394 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.16e-05/0.5945, allocations: 42.03 kB / 0.7395 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.465e-05/0.5945, allocations: 1.375 kB / 0.7395 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.114e-05/0.5945, allocations: 12.02 kB / 0.7395 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.032e-05/0.5946, allocations: 14.98 kB / 0.7395 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.5946, allocations: 1.375 kB / 0.7395 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003849/0.595, allocations: 191.2 kB / 0.7397 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.049e-05/0.5951, allocations: 17.66 kB / 0.7397 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.5951, allocations: 6.828 kB / 0.7397 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.5954, allocations: 115 kB / 0.7398 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.5954, allocations: 8.531 kB / 0.7398 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5954, allocations: 1.781 kB / 0.7398 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.5954, allocations: 0 / 0.7398 GB, free: 5.074 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.0003629/0.5957, allocations: 341.7 kB / 0.7402 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.5958, allocations: 9.969 kB / 0.7402 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.054e-05/0.5958, allocations: 32.86 kB / 0.7402 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002961/0.5961, allocations: 26.7 kB / 0.7402 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.5962, allocations: 164.4 kB / 0.7404 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.116e-05/0.5963, allocations: 40.47 kB / 0.7404 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.124e-06/0.5963, allocations: 0.6562 kB / 0.7404 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.5964, allocations: 48.09 kB / 0.7405 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.5965, allocations: 1.969 kB / 0.7405 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.5965, allocations: 0 / 0.7405 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.5965, allocations: 1.281 kB / 0.7405 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.261e-05/0.5966, allocations: 26.05 kB / 0.7405 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003188/0.5969, allocations: 265.2 kB / 0.7407 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.236e-05/0.5969, allocations: 22.61 kB / 0.7408 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.035e-05/0.597, allocations: 13.55 kB / 0.7408 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001368/0.5971, allocations: 88.45 kB / 0.7409 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.5971, allocations: 34.7 kB / 0.7409 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.5971, allocations: 4 kB / 0.7409 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0002288/0.5974, allocations: 54.44 kB / 0.741 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.5974, allocations: 53.03 kB / 0.741 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.825e-05/0.5975, allocations: 106 kB / 0.7411 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.5975, allocations: 26.98 kB / 0.7411 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.724e-05/0.5976, allocations: 90.44 kB / 0.7412 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.051e-06/0.5976, allocations: 0.7969 kB / 0.7412 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-05/0.5976, allocations: 22.64 kB / 0.7412 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.715e-05/0.5977, allocations: 313.5 kB / 0.7415 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.745e-05/0.5977, allocations: 8.328 kB / 0.7415 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.419e-05/0.5978, allocations: 19.91 kB / 0.7416 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.248e-05/0.5978, allocations: 36.56 kB / 0.7416 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.5978, allocations: 1.438 kB / 0.7416 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.123e-05/0.5979, allocations: 56.53 kB / 0.7417 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.5979, allocations: 5.75 kB / 0.7417 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.5979, allocations: 5.062 kB / 0.7417 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.598, allocations: 0 / 0.7417 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.286e-05/0.598, allocations: 6.391 kB / 0.7417 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.598, allocations: 5.344 kB / 0.7417 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.891e-05/0.5981, allocations: 6.094 kB / 0.7417 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.698e-06/0.5981, allocations: 6.594 kB / 0.7417 GB, free: 3.152 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 6.585e-05/0.5981, allocations: 113.1 kB / 0.7418 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.644e-05/0.5982, allocations: 1.156 kB / 0.7418 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.042e-05/0.5982, allocations: 8.812 kB / 0.7418 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.5982, allocations: 0 / 0.7418 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.5982, allocations: 5.828 kB / 0.7418 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.5982, allocations: 0 / 0.7418 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002743/0.5985, allocations: 368.4 kB / 0.7422 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.5985, allocations: 1.938 kB / 0.7422 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.748e-05/0.5985, allocations: 3.672 kB / 0.7422 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.5986, allocations: 9.156 kB / 0.7422 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.5986, allocations: 0 / 0.7422 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.5986, allocations: 1.531 kB / 0.7422 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5986, allocations: 0 / 0.7422 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.671e-05/0.5987, allocations: 81.27 kB / 0.7423 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.04e-05/0.5987, allocations: 82.83 kB / 0.7423 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.5987, allocations: 2.109 kB / 0.7423 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.145e-05/0.5988, allocations: 7.234 kB / 0.7423 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.551e-05/0.5988, allocations: 2.234 kB / 0.7423 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.5988, allocations: 1.406 kB / 0.7423 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.532e-05/0.5989, allocations: 80.22 kB / 0.7424 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5989, allocations: 0 / 0.7424 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001922/0.5991, allocations: 14.38 kB / 0.7424 GB, free: 2.348 MB / 0.5606 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.0003349/0.5994, allocations: 0.6023 MB / 0.743 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.048e-05/0.5995, allocations: 24.62 kB / 0.743 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.5995, allocations: 0 / 0.743 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.218e-05/0.5995, allocations: 7.688 kB / 0.7431 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.5998, allocations: 9.391 kB / 0.7431 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000351/0.6001, allocations: 157.2 kB / 0.7432 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/0.6004, allocations: 0.6766 MB / 0.7439 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.439e-05/0.6004, allocations: 6.25 kB / 0.7439 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.798e-05/0.6005, allocations: 9.906 kB / 0.7439 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of SimCode: time 2.21e-07/0.6005, allocations: 0 / 0.7439 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01733/0.6178, allocations: 1.452 MB / 0.7453 GB, free: 320 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.194/7.812, allocations: 12.89 kB / 0.7453 GB, free: 312 kB / 0.5606 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)