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.001335/0.001335, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001532/0.001532, allocations: 218.4 kB / 23.04 MB, free: 5.074 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.608/1.608, allocations: 230.6 MB / 256.8 MB, free: 7.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.9921/0.9921, allocations: 145 MB / 458.2 MB, free: 15.51 MB / 366.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="cs",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.002047/0.002047, allocations: 65.56 kB / 0.6339 GB, free: 7.301 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1724, allocations: 87.89 MB / 0.7197 GB, free: 15.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5671/0.7395, allocations: 151.6 MB / 0.8678 GB, free: 5.832 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0001673/0.7397, allocations: 61.31 kB / 0.8679 GB, free: 5.777 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.406e-05/0.7397, allocations: 0 / 0.8679 GB, free: 5.777 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001457/0.7398, allocations: 11.92 kB / 0.8679 GB, free: 5.766 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 8.288e-05/0.7399, allocations: 7.922 kB / 0.8679 GB, free: 5.758 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009633/0.7409, allocations: 227.2 kB / 0.8681 GB, free: 5.535 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.000106/0.741, allocations: 31.91 kB / 0.8681 GB, free: 5.504 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.73e-05/0.741, allocations: 0 / 0.8681 GB, free: 5.504 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 5.046e-05/0.7411, allocations: 27.91 kB / 0.8682 GB, free: 5.477 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 8.157e-05/0.7412, allocations: 11.92 kB / 0.8682 GB, free: 5.465 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.7412, allocations: 0 / 0.8682 GB, free: 5.465 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004915/0.7417, allocations: 211.4 kB / 0.8684 GB, free: 5.258 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 5.694e-05/0.7417, allocations: 15.97 kB / 0.8684 GB, free: 5.242 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.184e-05/0.7418, allocations: 7.938 kB / 0.8684 GB, free: 5.234 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002746/0.742, allocations: 107.8 kB / 0.8685 GB, free: 5.133 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.742, allocations: 4 kB / 0.8685 GB, free: 5.129 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.493e-06/0.742, allocations: 0 / 0.8685 GB, free: 5.129 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.7421, allocations: 0 / 0.8685 GB, free: 5.129 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.0004823/0.7425, allocations: 266.3 kB / 0.8688 GB, free: 4.84 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.7426, allocations: 8.031 kB / 0.8688 GB, free: 4.832 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.773e-05/0.7426, allocations: 192 / 0.8688 GB, free: 4.832 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.448e-05/0.7426, allocations: 42.61 kB / 0.8688 GB, free: 4.781 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003423/0.743, allocations: 36.86 kB / 0.8688 GB, free: 4.746 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.7431, allocations: 110.3 kB / 0.8689 GB, free: 4.613 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.47e-05/0.7432, allocations: 53.09 kB / 0.869 GB, free: 4.551 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.7432, allocations: 0 / 0.869 GB, free: 4.551 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.7433, allocations: 49.67 kB / 0.869 GB, free: 4.496 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.7433, allocations: 0.875 kB / 0.869 GB, free: 4.496 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.7433, allocations: 0 / 0.869 GB, free: 4.496 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.7434, allocations: 4 kB / 0.869 GB, free: 4.492 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.091e-05/0.7434, allocations: 23.92 kB / 0.8691 GB, free: 4.469 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000423/0.7438, allocations: 235.9 kB / 0.8693 GB, free: 4.195 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 6.508e-05/0.7439, allocations: 22.58 kB / 0.8693 GB, free: 4.164 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.512e-05/0.7439, allocations: 8.922 kB / 0.8693 GB, free: 4.152 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001369/0.7441, allocations: 19.97 kB / 0.8693 GB, free: 4.133 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.7441, allocations: 38.56 kB / 0.8694 GB, free: 4.086 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=2): time 1.093e-06/0.7441, allocations: 0 / 0.8694 GB, free: 4.086 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2): time 0.0002607/0.7444, allocations: 45.62 kB / 0.8694 GB, free: 4.035 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.7444, allocations: 59.34 kB / 0.8695 GB, free: 3.965 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.083e-05/0.7445, allocations: 101.8 kB / 0.8696 GB, free: 3.855 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.7445, allocations: 25.7 kB / 0.8696 GB, free: 3.824 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.368e-05/0.7446, allocations: 96.22 kB / 0.8697 GB, free: 3.727 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 8.747e-06/0.7446, allocations: 4.984 kB / 0.8697 GB, free: 3.723 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.7446, allocations: 13.72 kB / 0.8697 GB, free: 3.703 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.7448, allocations: 318.8 kB / 0.87 GB, free: 3.383 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.901e-05/0.7448, allocations: 4 kB / 0.87 GB, free: 3.379 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.149e-05/0.7448, allocations: 23.52 kB / 0.87 GB, free: 3.348 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.147e-05/0.7449, allocations: 38.5 kB / 0.8701 GB, free: 3.301 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.7449, allocations: 0 / 0.8701 GB, free: 3.301 MB / 0.6387 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.115e-05/0.745, allocations: 53.59 kB / 0.8701 GB, free: 3.242 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.745, allocations: 11.98 kB / 0.8701 GB, free: 3.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.745, allocations: 0 / 0.8701 GB, free: 3.23 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.745, allocations: 0 / 0.8701 GB, free: 3.23 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.192e-05/0.7451, allocations: 9.406 kB / 0.8701 GB, free: 3.223 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.7451, allocations: 8.031 kB / 0.8702 GB, free: 3.215 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.813e-05/0.7451, allocations: 3.688 kB / 0.8702 GB, free: 3.215 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.7451, allocations: 7.938 kB / 0.8702 GB, free: 3.207 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.353e-05/0.7452, allocations: 109.8 kB / 0.8703 GB, free: 3.09 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/0.7452, allocations: 4 kB / 0.8703 GB, free: 3.086 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.921e-05/0.7452, allocations: 7.312 kB / 0.8703 GB, free: 3.078 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.7453, allocations: 3.984 kB / 0.8703 GB, free: 3.074 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.7453, allocations: 3.938 kB / 0.8703 GB, free: 3.07 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.7453, allocations: 0 / 0.8703 GB, free: 3.07 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003327/0.7456, allocations: 342.6 kB / 0.8706 GB, free: 2.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.7456, allocations: 0 / 0.8706 GB, free: 2.68 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.241e-05/0.7456, allocations: 11.92 kB / 0.8706 GB, free: 2.668 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.7456, allocations: 0 / 0.8706 GB, free: 2.668 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-06/0.7456, allocations: 0 / 0.8706 GB, free: 2.668 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.7456, allocations: 3.938 kB / 0.8706 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.7456, allocations: 0 / 0.8706 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.7457, allocations: 70.06 kB / 0.8707 GB, free: 2.574 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.129e-05/0.7458, allocations: 7.922 kB / 0.8707 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.7458, allocations: 4 kB / 0.8707 GB, free: 2.562 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.488e-05/0.7459, allocations: 0 / 0.8707 GB, free: 2.562 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.965e-05/0.7459, allocations: 7.938 kB / 0.8707 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.7459, allocations: 0 / 0.8707 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.471e-05/0.7459, allocations: 91.3 kB / 0.8708 GB, free: 2.465 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.7459, allocations: 0 / 0.8708 GB, free: 2.465 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002014/0.7461, allocations: 8 kB / 0.8708 GB, free: 2.457 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.0004834/0.7466, allocations: 0.6094 MB / 0.8714 GB, free: 1.816 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001112/0.7467, allocations: 15.94 kB / 0.8714 GB, free: 1.801 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.7467, allocations: 0 / 0.8714 GB, free: 1.801 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.677e-05/0.7468, allocations: 8 kB / 0.8714 GB, free: 1.793 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.7471, allocations: 9.859 kB / 0.8714 GB, free: 1.785 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005279/0.7476, allocations: 150.3 kB / 0.8716 GB, free: 1.598 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.748, allocations: 0.6817 MB / 0.8722 GB, free: 0.8906 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 6.423e-05/0.748, allocations: 8.406 kB / 0.8723 GB, free: 0.8828 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.028e-05/0.7481, allocations: 11.44 kB / 0.8723 GB, free: 0.8711 MB / 0.6387 GB Notification: Performance of SimCode: time 7.51e-07/0.7481, allocations: 0 / 0.8723 GB, free: 0.8711 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02179/0.7699, allocations: 1.607 MB / 0.8738 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/12.13, allocations: 5.953 kB / 0.8738 GB, free: 15.41 MB / 0.6544 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 16.11543743906077] Failed to read output from testmodel.py, exit status != 0: 12.296533072018065 12.314978643 11.569353559 Calling exit ...