Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.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.001261/0.001261, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001362/0.001362, allocations: 218.5 kB / 23.03 MB, free: 4.922 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.52/1.52, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.9452/0.9452, allocations: 145 MB / 458.2 MB, free: 15.3 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.WaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",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.002014/0.002014, allocations: 62.62 kB / 0.6338 GB, free: 6.75 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2136, allocations: 87.9 MB / 0.7197 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006933/0.2205, allocations: 3.901 MB / 0.7235 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000258/0.2208, allocations: 143.6 kB / 0.7236 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.488e-05/0.2208, allocations: 0 / 0.7236 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001314/0.2209, allocations: 7.922 kB / 0.7236 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.852e-05/0.221, allocations: 7.938 kB / 0.7236 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004591/0.2215, allocations: 83.73 kB / 0.7237 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.2216, allocations: 39.84 kB / 0.7237 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.074e-05/0.2216, allocations: 4 kB / 0.7238 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.37e-05/0.2217, allocations: 23.84 kB / 0.7238 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.802e-05/0.2218, allocations: 8 kB / 0.7238 GB, free: 10.63 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.2218, allocations: 0 / 0.7238 GB, free: 10.63 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002472/0.222, allocations: 59.8 kB / 0.7238 GB, free: 10.57 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.024e-05/0.2221, allocations: 7.984 kB / 0.7238 GB, free: 10.56 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.879e-05/0.2221, allocations: 11.94 kB / 0.7239 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.2223, allocations: 63.8 kB / 0.7239 GB, free: 10.49 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2223, allocations: 0 / 0.7239 GB, free: 10.49 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2223, allocations: 4 kB / 0.7239 GB, free: 10.48 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.2223, allocations: 0 / 0.7239 GB, free: 10.48 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000462/0.2228, allocations: 258.3 kB / 0.7242 GB, free: 10.2 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.2228, allocations: 12.03 kB / 0.7242 GB, free: 10.19 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.574e-05/0.2229, allocations: 4.125 kB / 0.7242 GB, free: 10.19 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.947e-05/0.2229, allocations: 30.75 kB / 0.7242 GB, free: 10.15 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.938e-05/0.2229, allocations: 4.938 kB / 0.7242 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.2231, allocations: 106.5 kB / 0.7243 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.045e-05/0.2232, allocations: 55.97 kB / 0.7244 GB, free: 9.949 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.2232, allocations: 3.938 kB / 0.7244 GB, free: 9.945 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.2233, allocations: 75.33 kB / 0.7244 GB, free: 9.859 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.2234, allocations: 0 / 0.7244 GB, free: 9.859 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.2234, allocations: 0 / 0.7244 GB, free: 9.859 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.699e-05/0.2234, allocations: 7.984 kB / 0.7245 GB, free: 9.852 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.906e-05/0.2235, allocations: 16 kB / 0.7245 GB, free: 9.836 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004934/0.224, allocations: 228 kB / 0.7247 GB, free: 9.57 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.013e-05/0.224, allocations: 18.58 kB / 0.7247 GB, free: 9.543 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.991e-05/0.224, allocations: 8.797 kB / 0.7247 GB, free: 9.531 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.977e-05/0.2241, allocations: 4.062 kB / 0.7247 GB, free: 9.527 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.2241, allocations: 38.56 kB / 0.7248 GB, free: 9.48 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.2241, allocations: 4 kB / 0.7248 GB, free: 9.477 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001547/0.2243, allocations: 33.69 kB / 0.7248 GB, free: 9.438 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.2243, allocations: 55.41 kB / 0.7248 GB, free: 9.371 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.747e-05/0.2244, allocations: 101.8 kB / 0.7249 GB, free: 9.262 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.2244, allocations: 25.7 kB / 0.725 GB, free: 9.23 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.528e-05/0.2245, allocations: 92.03 kB / 0.7251 GB, free: 9.137 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.342e-06/0.2245, allocations: 3.953 kB / 0.7251 GB, free: 9.133 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.65e-05/0.2245, allocations: 17.72 kB / 0.7251 GB, free: 9.109 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.2247, allocations: 314.8 kB / 0.7254 GB, free: 8.793 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.757e-05/0.2247, allocations: 11.92 kB / 0.7254 GB, free: 8.781 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.784e-05/0.2247, allocations: 22.03 kB / 0.7254 GB, free: 8.754 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.761e-05/0.2248, allocations: 17.72 kB / 0.7254 GB, free: 8.73 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2248, allocations: 0 / 0.7254 GB, free: 8.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.313e-05/0.2249, allocations: 53.66 kB / 0.7255 GB, free: 8.672 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.2249, allocations: 4 kB / 0.7255 GB, free: 8.668 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.2249, allocations: 3.984 kB / 0.7255 GB, free: 8.664 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.2249, allocations: 4 kB / 0.7255 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.104e-05/0.225, allocations: 7.984 kB / 0.7255 GB, free: 8.652 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.225, allocations: 4.062 kB / 0.7255 GB, free: 8.648 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.988e-05/0.225, allocations: 0 / 0.7255 GB, free: 8.648 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.225, allocations: 11.88 kB / 0.7255 GB, free: 8.637 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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.611e-05/0.2251, allocations: 109.8 kB / 0.7256 GB, free: 8.52 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.374e-05/0.2251, allocations: 4 kB / 0.7256 GB, free: 8.516 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001375/0.2253, allocations: 120.9 kB / 0.7257 GB, free: 8.391 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.437e-05/0.2254, allocations: 176.3 kB / 0.7259 GB, free: 8.211 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.555e-05/0.2254, allocations: 184.2 kB / 0.7261 GB, free: 8.023 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.979e-05/0.2255, allocations: 180.3 kB / 0.7262 GB, free: 7.84 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002735/0.2258, allocations: 392.1 kB / 0.7266 GB, free: 7.406 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.955e-05/0.2258, allocations: 105 kB / 0.7267 GB, free: 7.297 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.729e-05/0.2259, allocations: 101 kB / 0.7268 GB, free: 7.191 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001015/0.226, allocations: 184.2 kB / 0.727 GB, free: 7.004 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.791e-05/0.2261, allocations: 180.2 kB / 0.7272 GB, free: 6.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.419e-05/0.2262, allocations: 180.2 kB / 0.7273 GB, free: 6.637 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.317e-05/0.2263, allocations: 180.3 kB / 0.7275 GB, free: 6.453 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/0.2265, allocations: 307.7 kB / 0.7278 GB, free: 6.129 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.941e-05/0.2265, allocations: 109 kB / 0.7279 GB, free: 6.016 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.2266, allocations: 180.2 kB / 0.7281 GB, free: 5.832 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.2268, allocations: 113 kB / 0.7282 GB, free: 5.715 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.2269, allocations: 184.2 kB / 0.7284 GB, free: 5.527 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.481e-05/0.227, allocations: 104.9 kB / 0.7285 GB, free: 5.418 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.428e-05/0.227, allocations: 87.22 kB / 0.7285 GB, free: 5.332 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.227, allocations: 0 / 0.7285 GB, free: 5.332 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003071/0.2273, allocations: 19.94 kB / 0.7286 GB, free: 5.312 MB / 0.545 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 (0): * Single equations (assignments): 0 * 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.0006881/0.228, allocations: 0.8204 MB / 0.7294 GB, free: 4.461 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.879e-05/0.2281, allocations: 19.92 kB / 0.7294 GB, free: 4.441 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2281, allocations: 0 / 0.7294 GB, free: 4.441 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.172e-06/0.2281, allocations: 8.125 kB / 0.7294 GB, free: 4.434 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006246/0.2288, allocations: 455.7 kB / 0.7298 GB, free: 3.984 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.2302, allocations: 1.329 MB / 0.7311 GB, free: 2.57 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.357e-05/0.2303, allocations: 63.28 kB / 0.7312 GB, free: 2.488 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.785e-05/0.2304, allocations: 7.938 kB / 0.7312 GB, free: 2.48 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.526e-05/0.2304, allocations: 15.38 kB / 0.7312 GB, free: 2.465 MB / 0.545 GB Notification: Performance of SimCode: time 5.51e-07/0.2304, allocations: 4 kB / 0.7312 GB, free: 2.461 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02306/0.2535, allocations: 1.697 MB / 0.7329 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.48, allocations: 8.094 kB / 0.7329 GB, free: 0.918 MB / 0.545 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.351230927975848] Failed to read output from testmodel.py, exit status != 0: 11.644451606902294 11.670706008 11.443500429 Calling exit ...