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.0007919/0.0007919, allocations: 79.69 kB / 19.25 MB, free: 0.6172 MB / 13.93 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.0008005/0.0008005, allocations: 162 kB / 22.56 MB, free: 1.961 MB / 18.57 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 0.8929/0.8929, allocations: 177.1 MB / 202.9 MB, free: 5.562 MB / 186.7 MB " [Timeout remaining time 179] 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.5375/0.5375, allocations: 110.2 MB / 369.6 MB, free: 12.48 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.5474 GB, free: 9.762 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.379e-05/2.57e-05, allocations: 5.516 kB / 0.5475 GB, free: 9.758 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1228/0.1228, allocations: 130.4 MB / 0.6748 GB, free: 6.852 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.000133/0.1229, allocations: 47.75 kB / 0.6748 GB, free: 6.805 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.865e-05/0.123, allocations: 4 kB / 0.6748 GB, free: 6.801 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001337/0.1231, allocations: 11.92 kB / 0.6748 GB, free: 6.789 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.095e-05/0.1232, allocations: 3.984 kB / 0.6749 GB, free: 6.785 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007265/0.1239, allocations: 223 kB / 0.6751 GB, free: 6.566 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 9.891e-05/0.124, allocations: 31.86 kB / 0.6751 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 5.414e-05/0.1241, allocations: 0 / 0.6751 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 5.748e-05/0.1241, allocations: 23.97 kB / 0.6751 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 9.482e-05/0.1242, allocations: 11.92 kB / 0.6751 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.1242, allocations: 4 kB / 0.6751 GB, free: 6.496 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004136/0.1246, allocations: 167.3 kB / 0.6753 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.437e-05/0.1247, allocations: 11.94 kB / 0.6753 GB, free: 6.32 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.737e-05/0.1247, allocations: 7.984 kB / 0.6753 GB, free: 6.312 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002821/0.125, allocations: 115.7 kB / 0.6754 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.954e-06/0.125, allocations: 0 / 0.6754 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.813e-06/0.125, allocations: 0 / 0.6754 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.125, allocations: 0 / 0.6754 GB, free: 6.199 MB / 0.6355 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.0004754/0.1255, allocations: 270.2 kB / 0.6757 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.1256, allocations: 8.031 kB / 0.6757 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.997e-05/0.1256, allocations: 38.75 kB / 0.6757 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002546/0.1258, allocations: 20.91 kB / 0.6757 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.555e-05/0.1259, allocations: 113.8 kB / 0.6759 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.797e-05/0.126, allocations: 55.95 kB / 0.6759 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.126, allocations: 3.938 kB / 0.6759 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.1261, allocations: 75.39 kB / 0.676 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.1261, allocations: 3.984 kB / 0.676 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.1261, allocations: 0 / 0.676 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/0.1261, allocations: 0 / 0.676 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.994e-05/0.1262, allocations: 27.92 kB / 0.676 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002794/0.1265, allocations: 231.9 kB / 0.6762 GB, free: 5.238 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.67e-05/0.1265, allocations: 30.61 kB / 0.6763 GB, free: 5.199 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.9e-05/0.1265, allocations: 4.859 kB / 0.6763 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.1266, allocations: 16.05 kB / 0.6763 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.1267, allocations: 38.56 kB / 0.6763 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.1267, allocations: 0 / 0.6763 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002167/0.1269, allocations: 45.62 kB / 0.6764 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.1269, allocations: 59.53 kB / 0.6764 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.422e-05/0.127, allocations: 97.86 kB / 0.6765 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.127, allocations: 25.7 kB / 0.6765 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.712e-05/0.1271, allocations: 96.08 kB / 0.6766 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.015e-06/0.1271, allocations: 3.953 kB / 0.6766 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.627e-05/0.1271, allocations: 17.72 kB / 0.6766 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.748e-05/0.1272, allocations: 318.7 kB / 0.677 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.696e-05/0.1272, allocations: 7.984 kB / 0.677 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.574e-05/0.1272, allocations: 22.58 kB / 0.677 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.326e-05/0.1273, allocations: 38.52 kB / 0.677 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1273, allocations: 0 / 0.677 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.656e-05/0.1273, allocations: 57.58 kB / 0.6771 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.1274, allocations: 4 kB / 0.6771 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.1274, allocations: 0 / 0.6771 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.1274, allocations: 4 kB / 0.6771 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.691e-05/0.1274, allocations: 7.984 kB / 0.6771 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/0.1274, allocations: 0 / 0.6771 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.046e-05/0.1275, allocations: 4 kB / 0.6771 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.1275, allocations: 8.031 kB / 0.6771 GB, free: 4.25 MB / 0.6355 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 7.178e-05/0.1275, allocations: 113.8 kB / 0.6772 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.516e-05/0.1276, allocations: 0 / 0.6772 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.149e-05/0.1276, allocations: 7.312 kB / 0.6772 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1276, allocations: 4 kB / 0.6772 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1276, allocations: 0 / 0.6772 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1276, allocations: 0 / 0.6772 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000239/0.1278, allocations: 338.5 kB / 0.6775 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.1278, allocations: 4 kB / 0.6775 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.162e-05/0.1278, allocations: 64 / 0.6775 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1278, allocations: 12 kB / 0.6776 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.1278, allocations: 0 / 0.6776 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1279, allocations: 3.938 kB / 0.6776 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.1279, allocations: 0 / 0.6776 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.228e-05/0.1279, allocations: 73.94 kB / 0.6776 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.419e-06/0.1279, allocations: 0 / 0.6776 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.04e-05/0.1279, allocations: 4 kB / 0.6776 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.536e-05/0.128, allocations: 3.938 kB / 0.6776 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.614e-05/0.128, allocations: 11.92 kB / 0.6777 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-06/0.128, allocations: 4.031 kB / 0.6777 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.959e-05/0.128, allocations: 83.56 kB / 0.6777 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.128, allocations: 0 / 0.6777 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001289/0.1281, allocations: 8 kB / 0.6777 GB, free: 3.504 MB / 0.6355 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.0002494/0.1284, allocations: 0.6017 MB / 0.6783 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.794e-05/0.1285, allocations: 27.8 kB / 0.6784 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.1285, allocations: 4.219 kB / 0.6784 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.049e-06/0.1285, allocations: 4 kB / 0.6784 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001672/0.1287, allocations: 4 kB / 0.6784 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003044/0.129, allocations: 143.4 kB / 0.6785 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.644e-05/0.129, allocations: 59.34 kB / 0.6786 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.162e-05/0.129, allocations: 12.11 kB / 0.6786 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.254e-05/0.1291, allocations: 12.5 kB / 0.6786 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of SimCode: time 3.41e-07/0.1291, allocations: 0 / 0.6786 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01468/0.1437, allocations: 2.134 MB / 0.6807 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.121/7.265, allocations: 5.312 kB / 0.6807 GB, free: 0.5312 MB / 0.6355 GB " [Timeout remaining time 652] (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: 10.102421551942825] Failed to read output from testmodel.py, exit status != 0: 7.591627518646419 7.599022508 7.472311996 Calling exit ...