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.002036/0.002036, 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.002406/0.002406, allocations: 217.2 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.9682/0.9682, allocations: 145 MB / 458.2 MB, free: 15.52 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.002289/0.002289, allocations: 59.09 kB / 0.6339 GB, free: 7.344 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1878, allocations: 87.88 MB / 0.7197 GB, free: 15.47 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.5889/0.7768, allocations: 138.7 MB / 0.8552 GB, free: 2.652 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0002159/0.777, allocations: 59.36 kB / 0.8553 GB, free: 2.598 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.3e-05/0.777, allocations: 0 / 0.8553 GB, free: 2.598 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.7771, allocations: 3.938 kB / 0.8553 GB, free: 2.594 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 9.105e-05/0.7772, allocations: 15.91 kB / 0.8553 GB, free: 2.578 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.7783, allocations: 250.6 kB / 0.8555 GB, free: 2.336 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.7784, allocations: 35.86 kB / 0.8555 GB, free: 2.301 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.249e-05/0.7785, allocations: 0 / 0.8555 GB, free: 2.301 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 4.914e-05/0.7785, allocations: 19.8 kB / 0.8556 GB, free: 2.285 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 9.286e-05/0.7786, allocations: 15.98 kB / 0.8556 GB, free: 2.27 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.7786, allocations: 0 / 0.8556 GB, free: 2.27 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005801/0.7792, allocations: 263.4 kB / 0.8558 GB, free: 2.012 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 5.936e-05/0.7793, allocations: 11.98 kB / 0.8558 GB, free: 2 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 3.025e-05/0.7793, allocations: 7.938 kB / 0.8559 GB, free: 1.992 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0003941/0.7797, allocations: 193 kB / 0.856 GB, free: 1.809 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.7797, allocations: 0 / 0.856 GB, free: 1.809 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.994e-06/0.7797, allocations: 0 / 0.856 GB, free: 1.809 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.7797, allocations: 0 / 0.856 GB, free: 1.809 MB / 0.6231 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.0004953/0.7802, allocations: 283.5 kB / 0.8563 GB, free: 1.504 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.7803, allocations: 8.031 kB / 0.8563 GB, free: 1.496 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.786e-05/0.7803, allocations: 4.188 kB / 0.8563 GB, free: 1.492 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.186e-05/0.7803, allocations: 34.75 kB / 0.8563 GB, free: 1.449 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.872e-05/0.7804, allocations: 0.9375 kB / 0.8564 GB, free: 1.449 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.7805, allocations: 118.5 kB / 0.8565 GB, free: 1.309 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.703e-05/0.7806, allocations: 55.72 kB / 0.8565 GB, free: 1.242 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-06/0.7806, allocations: 0 / 0.8565 GB, free: 1.242 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.7807, allocations: 45.69 kB / 0.8566 GB, free: 1.191 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.7807, allocations: 0 / 0.8566 GB, free: 1.191 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.7808, allocations: 0.8438 kB / 0.8566 GB, free: 1.191 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/0.7808, allocations: 0 / 0.8566 GB, free: 1.191 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.348e-05/0.7808, allocations: 15.98 kB / 0.8566 GB, free: 1.176 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007504/0.7816, allocations: 291.8 kB / 0.8569 GB, free: 0.8477 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 4.801e-05/0.7816, allocations: 22.56 kB / 0.8569 GB, free: 0.8164 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.691e-05/0.7816, allocations: 4.859 kB / 0.8569 GB, free: 0.8086 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.589e-05/0.7817, allocations: 32.03 kB / 0.8569 GB, free: 0.7773 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.922e-05/0.7818, allocations: 38.55 kB / 0.8569 GB, free: 0.7305 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.7818, allocations: 0 / 0.8569 GB, free: 0.7305 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1): time 0.0001659/0.7819, allocations: 38.3 kB / 0.857 GB, free: 0.6875 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.782, allocations: 51.41 kB / 0.857 GB, free: 0.625 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.7821, allocations: 109.8 kB / 0.8571 GB, free: 0.5078 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.7821, allocations: 25.7 kB / 0.8572 GB, free: 488 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 6.103e-05/0.7822, allocations: 88.09 kB / 0.8572 GB, free: 396 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.743e-06/0.7822, allocations: 3.953 kB / 0.8573 GB, free: 392 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.7822, allocations: 13.84 kB / 0.8573 GB, free: 372 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.7823, allocations: 329.1 kB / 0.8576 GB, free: 36 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.03e-05/0.7824, allocations: 4 kB / 0.8576 GB, free: 32 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.691e-05/0.7824, allocations: 13.72 kB / 0.8576 GB, free: 12 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.827e-05/0.7824, allocations: 25.66 kB / 0.8576 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.7824, allocations: 0 / 0.8576 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.947e-05/0.7825, allocations: 49.69 kB / 0.8577 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.7825, allocations: 4 kB / 0.8577 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.7825, allocations: 4 kB / 0.8577 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.7826, allocations: 1 kB / 0.8577 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.206e-05/0.7826, allocations: 7.984 kB / 0.8577 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.7826, allocations: 3.938 kB / 0.8577 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.032e-05/0.7826, allocations: 3.938 kB / 0.8577 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.7826, allocations: 4 kB / 0.8577 GB, free: 15.9 MB / 0.6387 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.536e-05/0.7827, allocations: 107 kB / 0.8578 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.864e-05/0.7828, allocations: 8 kB / 0.8578 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/0.7829, allocations: 121 kB / 0.8579 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.397e-05/0.783, allocations: 184.2 kB / 0.8581 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.13e-05/0.783, allocations: 176.3 kB / 0.8583 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-05/0.7831, allocations: 181.1 kB / 0.8584 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002412/0.7833, allocations: 384.2 kB / 0.8588 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.83e-05/0.7834, allocations: 101 kB / 0.8589 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.681e-05/0.7834, allocations: 116.9 kB / 0.859 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-05/0.7835, allocations: 176.3 kB / 0.8592 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.721e-05/0.7836, allocations: 180.2 kB / 0.8593 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.099e-05/0.7837, allocations: 182.5 kB / 0.8595 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-05/0.7837, allocations: 188.2 kB / 0.8597 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001722/0.7839, allocations: 311.6 kB / 0.86 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.314e-05/0.784, allocations: 108.9 kB / 0.8601 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.568e-05/0.784, allocations: 184.2 kB / 0.8603 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.7842, allocations: 109 kB / 0.8604 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.288e-05/0.7843, allocations: 184.2 kB / 0.8606 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.666e-05/0.7843, allocations: 108.9 kB / 0.8607 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.302e-05/0.7844, allocations: 87.27 kB / 0.8607 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.7844, allocations: 0 / 0.8607 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003596/0.7847, allocations: 55.81 kB / 0.8608 GB, free: 12.52 MB / 0.6387 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.0007183/0.7855, allocations: 0.8876 MB / 0.8617 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 8.718e-05/0.7856, allocations: 4 kB / 0.8617 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.7856, allocations: 0 / 0.8617 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 3.887e-06/0.7856, allocations: 4 kB / 0.8617 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004374/0.786, allocations: 465.6 kB / 0.8621 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.7872, allocations: 1.341 MB / 0.8634 GB, free: 9.719 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.7876, allocations: 0.6768 MB / 0.8641 GB, free: 9.016 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 4.169e-05/0.7876, allocations: 9.078 kB / 0.8641 GB, free: 9.008 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.279e-05/0.7876, allocations: 11.44 kB / 0.8641 GB, free: 8.996 MB / 0.6387 GB Notification: Performance of SimCode: time 3.01e-07/0.7876, allocations: 4 kB / 0.8641 GB, free: 8.992 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02236/0.81, allocations: 2.4 MB / 0.8665 GB, free: 6.758 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.85, allocations: 9.5 kB / 0.8665 GB, free: 6.754 MB / 0.6387 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.685462845955044] Failed to read output from testmodel.py, exit status != 0: 12.004526110948063 12.024222946 11.23983029 Calling exit ...