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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001817/0.001817, allocations: 103.8 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002148/0.002148, allocations: 212.9 kB / 19.43 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.489/1.489, allocations: 230.6 MB / 252.8 MB, free: 8.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9418/0.9418, allocations: 145 MB / 453.8 MB, free: 0.7422 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 65.25 kB / 0.628 GB, free: 10.71 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1818, allocations: 87.82 MB / 0.7138 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5539/0.7357, allocations: 151.6 MB / 0.8618 GB, free: 8.898 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0001832/0.7359, allocations: 58.48 kB / 0.8619 GB, free: 8.844 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.546e-05/0.7359, allocations: 0 / 0.8619 GB, free: 8.844 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001511/0.7361, allocations: 11.92 kB / 0.8619 GB, free: 8.832 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 8.463e-05/0.7362, allocations: 0 / 0.8619 GB, free: 8.832 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009042/0.7371, allocations: 232.4 kB / 0.8621 GB, free: 8.605 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 9.856e-05/0.7372, allocations: 31.92 kB / 0.8621 GB, free: 8.574 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.79e-05/0.7372, allocations: 0 / 0.8621 GB, free: 8.574 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 4.392e-05/0.7373, allocations: 19.86 kB / 0.8621 GB, free: 8.555 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 8.726e-05/0.7374, allocations: 15.98 kB / 0.8621 GB, free: 8.539 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.7374, allocations: 0 / 0.8621 GB, free: 8.539 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004669/0.7378, allocations: 211.3 kB / 0.8624 GB, free: 8.332 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 5.178e-05/0.7379, allocations: 7.984 kB / 0.8624 GB, free: 8.324 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.988e-05/0.7379, allocations: 7.938 kB / 0.8624 GB, free: 8.316 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002737/0.7382, allocations: 121.3 kB / 0.8625 GB, free: 8.199 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.7382, allocations: 0 / 0.8625 GB, free: 8.199 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7382, allocations: 0 / 0.8625 GB, free: 8.199 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.7382, allocations: 3.984 kB / 0.8625 GB, free: 8.195 MB / 0.6387 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.0004991/0.7387, allocations: 339.4 kB / 0.8628 GB, free: 7.816 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.7387, allocations: 9.25 kB / 0.8628 GB, free: 7.809 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.427e-05/0.7388, allocations: 30.75 kB / 0.8628 GB, free: 7.77 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000329/0.7391, allocations: 32.86 kB / 0.8629 GB, free: 7.738 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.7393, allocations: 168.3 kB / 0.863 GB, free: 7.535 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.046e-05/0.7393, allocations: 33.64 kB / 0.8631 GB, free: 7.496 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.7393, allocations: 0 / 0.8631 GB, free: 7.496 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.7395, allocations: 49.67 kB / 0.8631 GB, free: 7.441 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.7395, allocations: 0 / 0.8631 GB, free: 7.441 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.7395, allocations: 3.984 kB / 0.8631 GB, free: 7.438 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/0.7396, allocations: 4 kB / 0.8631 GB, free: 7.434 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.224e-05/0.7396, allocations: 19.98 kB / 0.8631 GB, free: 7.414 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004265/0.74, allocations: 264.8 kB / 0.8634 GB, free: 7.105 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 6.77e-05/0.7401, allocations: 26.52 kB / 0.8634 GB, free: 7.07 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.522e-05/0.7401, allocations: 9.859 kB / 0.8634 GB, free: 7.059 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001802/0.7403, allocations: 89.09 kB / 0.8635 GB, free: 6.953 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.858e-05/0.7404, allocations: 34.56 kB / 0.8636 GB, free: 6.91 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.7404, allocations: 0 / 0.8636 GB, free: 6.91 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2): time 0.0002659/0.7406, allocations: 53.62 kB / 0.8636 GB, free: 6.852 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.7407, allocations: 51.41 kB / 0.8637 GB, free: 6.789 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.7408, allocations: 113.7 kB / 0.8638 GB, free: 6.668 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.7408, allocations: 25.7 kB / 0.8638 GB, free: 6.637 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.898e-05/0.7408, allocations: 84.09 kB / 0.8639 GB, free: 6.551 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.7409, allocations: 12.06 kB / 0.8639 GB, free: 6.539 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/0.7409, allocations: 22.27 kB / 0.8639 GB, free: 6.512 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.7411, allocations: 318.8 kB / 0.8642 GB, free: 6.191 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.76e-05/0.7411, allocations: 0 / 0.8642 GB, free: 6.191 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.028e-05/0.7411, allocations: 26.56 kB / 0.8642 GB, free: 6.156 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.292e-05/0.7412, allocations: 34.52 kB / 0.8643 GB, free: 6.113 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.7412, allocations: 0 / 0.8643 GB, free: 6.113 MB / 0.6387 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.248e-05/0.7413, allocations: 59.45 kB / 0.8643 GB, free: 6.051 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.7413, allocations: 4 kB / 0.8643 GB, free: 6.047 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.7413, allocations: 0 / 0.8643 GB, free: 6.047 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.7413, allocations: 4 kB / 0.8643 GB, free: 6.043 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.456e-05/0.7414, allocations: 8 kB / 0.8643 GB, free: 6.035 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.7414, allocations: 3.938 kB / 0.8643 GB, free: 6.031 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.778e-05/0.7414, allocations: 4.094 kB / 0.8643 GB, free: 6.027 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.7414, allocations: 4 kB / 0.8643 GB, free: 6.023 MB / 0.6387 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.932e-05/0.7415, allocations: 113.8 kB / 0.8645 GB, free: 5.902 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.7416, allocations: 0 / 0.8645 GB, free: 5.902 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.832e-05/0.7416, allocations: 11.12 kB / 0.8645 GB, free: 5.891 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.7416, allocations: 0 / 0.8645 GB, free: 5.891 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.7416, allocations: 3.938 kB / 0.8645 GB, free: 5.887 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.7416, allocations: 0 / 0.8645 GB, free: 5.887 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003404/0.7419, allocations: 371.5 kB / 0.8648 GB, free: 5.461 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.7419, allocations: 0 / 0.8648 GB, free: 5.461 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.776e-05/0.742, allocations: 4 kB / 0.8648 GB, free: 5.457 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.742, allocations: 3.938 kB / 0.8648 GB, free: 5.453 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.742, allocations: 8.812 kB / 0.8648 GB, free: 5.445 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.742, allocations: 0 / 0.8648 GB, free: 5.445 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.742, allocations: 3.938 kB / 0.8648 GB, free: 5.441 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.998e-05/0.7421, allocations: 70.05 kB / 0.8649 GB, free: 5.352 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 4.799e-05/0.7421, allocations: 85.05 kB / 0.865 GB, free: 5.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.7421, allocations: 0 / 0.865 GB, free: 5.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.66e-05/0.7422, allocations: 4.75 kB / 0.865 GB, free: 5.246 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.816e-05/0.7422, allocations: 3.984 kB / 0.865 GB, free: 5.242 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.7422, allocations: 3.938 kB / 0.865 GB, free: 5.238 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.749e-05/0.7423, allocations: 83.56 kB / 0.8651 GB, free: 5.156 MB / 0.6387 GB Notification: Performance of sort global known variables: time 6e-08/0.7423, allocations: 0 / 0.8651 GB, free: 5.156 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002079/0.7425, allocations: 12.03 kB / 0.8651 GB, free: 5.145 MB / 0.6387 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.0004587/0.743, allocations: 0.6094 MB / 0.8657 GB, free: 4.504 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 9.837e-05/0.7431, allocations: 23.95 kB / 0.8657 GB, free: 4.48 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.7431, allocations: 4 kB / 0.8657 GB, free: 4.477 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 8.876e-06/0.7431, allocations: 0 / 0.8657 GB, free: 4.477 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.7433, allocations: 11.91 kB / 0.8657 GB, free: 4.469 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003993/0.7437, allocations: 150 kB / 0.8659 GB, free: 4.281 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.744, allocations: 0.6807 MB / 0.8665 GB, free: 3.574 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 4.742e-05/0.7441, allocations: 7.984 kB / 0.8665 GB, free: 3.566 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.537e-05/0.7441, allocations: 7.438 kB / 0.8665 GB, free: 3.559 MB / 0.6387 GB Notification: Performance of SimCode: time 3e-07/0.7441, allocations: 0 / 0.8665 GB, free: 3.559 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02558/0.7697, allocations: 1.477 MB / 0.868 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.687/8.456, allocations: 16.7 kB / 0.868 GB, free: 2.199 MB / 0.6387 GB " [Timeout remaining time 651] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.340525207997416] Failed to read output from testmodel.py, exit status != 0: 8.525677985002403 8.548701303 7.806134973 Calling exit ...