Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.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.00126/0.00126, allocations: 97.88 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.00147/0.00147, allocations: 213.5 kB / 23.03 MB, free: 4.926 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.429/1.429, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.9926/0.9926, allocations: 145 MB / 458.2 MB, free: 15.28 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.SteamTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion",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.002028/0.002028, allocations: 70.08 kB / 0.6338 GB, free: 6.73 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1735, allocations: 87.89 MB / 0.7197 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.5337/0.7071, allocations: 119 MB / 0.8358 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001888/0.7073, allocations: 52.64 kB / 0.8359 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.651e-05/0.7074, allocations: 0 / 0.8359 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001163/0.7075, allocations: 3.938 kB / 0.8359 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.121e-05/0.7075, allocations: 10.28 kB / 0.8359 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008208/0.7084, allocations: 262.1 kB / 0.8361 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.745e-05/0.7084, allocations: 35.14 kB / 0.8362 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.871e-05/0.7085, allocations: 3.344 kB / 0.8362 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.064e-05/0.7085, allocations: 12.03 kB / 0.8362 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.679e-05/0.7086, allocations: 15.97 kB / 0.8362 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.7086, allocations: 4 kB / 0.8362 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003562/0.709, allocations: 187.5 kB / 0.8364 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.503e-05/0.709, allocations: 3.938 kB / 0.8364 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.68e-05/0.709, allocations: 12.89 kB / 0.8364 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003147/0.7093, allocations: 165.5 kB / 0.8366 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.7093, allocations: 0 / 0.8366 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7093, allocations: 0 / 0.8366 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.7093, allocations: 0 / 0.8366 GB, free: 2.906 MB / 0.6075 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.000433/0.7098, allocations: 283.8 kB / 0.8368 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.7098, allocations: 10.56 kB / 0.8368 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.391e-05/0.7098, allocations: 4.188 kB / 0.8368 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.522e-05/0.7099, allocations: 33.34 kB / 0.8369 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.422e-05/0.7099, allocations: 0.9375 kB / 0.8369 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.71, allocations: 117.2 kB / 0.837 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.456e-05/0.7101, allocations: 55.72 kB / 0.837 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-06/0.7101, allocations: 2.281 kB / 0.837 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.7102, allocations: 63.77 kB / 0.8371 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.7103, allocations: 6.656 kB / 0.8371 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.7103, allocations: 0 / 0.8371 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.7103, allocations: 0 / 0.8371 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.432e-05/0.7103, allocations: 18.45 kB / 0.8371 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006554/0.711, allocations: 286.3 kB / 0.8374 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.424e-05/0.711, allocations: 17.67 kB / 0.8374 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.708e-05/0.711, allocations: 11.66 kB / 0.8374 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.587e-05/0.7111, allocations: 27.72 kB / 0.8375 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.7111, allocations: 42.44 kB / 0.8375 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.7111, allocations: 2.844 kB / 0.8375 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001376/0.7113, allocations: 37.22 kB / 0.8375 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.7113, allocations: 55.53 kB / 0.8376 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.024e-05/0.7114, allocations: 101.9 kB / 0.8377 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.7114, allocations: 25.7 kB / 0.8377 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.202e-05/0.7115, allocations: 88.08 kB / 0.8378 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.703e-06/0.7115, allocations: 3.953 kB / 0.8378 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-05/0.7115, allocations: 18.94 kB / 0.8378 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.7117, allocations: 314.8 kB / 0.8381 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.293e-05/0.7117, allocations: 2.969 kB / 0.8381 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.422e-05/0.7117, allocations: 26.83 kB / 0.8381 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.424e-05/0.7117, allocations: 21.66 kB / 0.8382 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.7117, allocations: 0 / 0.8382 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.936e-05/0.7118, allocations: 51.03 kB / 0.8382 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.7118, allocations: 5.219 kB / 0.8382 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.7118, allocations: 0 / 0.8382 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.7119, allocations: 0 / 0.8382 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.966e-05/0.7119, allocations: 4.844 kB / 0.8382 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.7119, allocations: 2.656 kB / 0.8382 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.022e-05/0.7119, allocations: 7.062 kB / 0.8382 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.7119, allocations: 3.984 kB / 0.8382 GB, free: 1.156 MB / 0.6075 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 8.4e-05/0.712, allocations: 116.5 kB / 0.8383 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/0.712, allocations: 2.719 kB / 0.8384 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.7122, allocations: 115.1 kB / 0.8385 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.677e-05/0.7122, allocations: 189.7 kB / 0.8386 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-05/0.7123, allocations: 184.2 kB / 0.8388 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-05/0.7124, allocations: 184 kB / 0.839 GB, free: 368 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002614/0.7127, allocations: 374.9 kB / 0.8394 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.226e-05/0.7127, allocations: 107.6 kB / 0.8395 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.514e-05/0.7128, allocations: 101 kB / 0.8396 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.501e-05/0.7129, allocations: 186.5 kB / 0.8397 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.637e-05/0.713, allocations: 180.3 kB / 0.8399 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.468e-05/0.713, allocations: 184.4 kB / 0.8401 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.972e-05/0.7131, allocations: 180.2 kB / 0.8402 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.7133, allocations: 313.1 kB / 0.8405 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 5.017e-05/0.7133, allocations: 107.6 kB / 0.8406 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.7134, allocations: 186.5 kB / 0.8408 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.7136, allocations: 111.9 kB / 0.8409 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.82e-05/0.7137, allocations: 176.3 kB / 0.8411 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.84e-05/0.7137, allocations: 115.7 kB / 0.8412 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.897e-05/0.7138, allocations: 85.56 kB / 0.8413 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7138, allocations: 4 kB / 0.8413 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000313/0.7141, allocations: 52.86 kB / 0.8413 GB, free: 13.86 MB / 0.6231 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.0006624/0.7148, allocations: 0.8841 MB / 0.8422 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 7.536e-05/0.7148, allocations: 11.94 kB / 0.8422 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.7148, allocations: 4 kB / 0.8422 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.7148, allocations: 0 / 0.8422 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/0.7153, allocations: 465.4 kB / 0.8427 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.7164, allocations: 1.337 MB / 0.844 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.051e-05/0.7164, allocations: 59.34 kB / 0.844 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 4.123e-05/0.7165, allocations: 13.03 kB / 0.844 GB, free: 11 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.715e-05/0.7165, allocations: 11.44 kB / 0.8441 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of SimCode: time 2.91e-07/0.7165, allocations: 0 / 0.8441 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02216/0.7387, allocations: 2.476 MB / 0.8465 GB, free: 8.684 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.99, allocations: 11.66 kB / 0.8465 GB, free: 8.676 MB / 0.6231 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.72316393791698] Failed to read output from testmodel.py, exit status != 0: 12.158350188052282 12.181355134 11.466255877 Calling exit ...