Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.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.001716/0.001716, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00237/0.00237, allocations: 219 kB / 22.26 MB, free: 5.082 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.419/1.419, allocations: 230.6 MB / 256 MB, free: 8.031 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.917/0.917, allocations: 145 MB / 457.4 MB, free: 15.69 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.SteamProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.SteamProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamProperties",fmuType="me",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.001993/0.001993, allocations: 78.41 kB / 0.6332 GB, free: 7.426 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1801, allocations: 87.88 MB / 0.719 GB, free: 15.56 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamProperties): time 0.543/0.723, allocations: 139.4 MB / 0.8552 GB, free: 2.012 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02961/0.7526, allocations: 22.54 MB / 0.8772 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001667/0.7528, allocations: 0 / 0.8772 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003053/0.7531, allocations: 43.69 kB / 0.8772 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003215/0.7534, allocations: 99.41 kB / 0.8773 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.01735/0.7708, allocations: 6.713 MB / 0.8839 GB, free: 4.582 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004961/0.7713, allocations: 259.9 kB / 0.8841 GB, free: 4.324 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.323e-05/0.7713, allocations: 9.734 kB / 0.8841 GB, free: 4.316 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003566/0.7717, allocations: 147.4 kB / 0.8843 GB, free: 4.172 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002029/0.7719, allocations: 91.59 kB / 0.8844 GB, free: 4.082 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/0.7719, allocations: 8 kB / 0.8844 GB, free: 4.074 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02251/0.7944, allocations: 11.01 MB / 0.8951 GB, free: 9.047 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.7945, allocations: 39.89 kB / 0.8952 GB, free: 9.008 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001665/0.7947, allocations: 79.66 kB / 0.8952 GB, free: 8.93 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01471/0.8094, allocations: 6.193 MB / 0.9013 GB, free: 2.723 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.8094, allocations: 0 / 0.9013 GB, free: 2.723 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8094, allocations: 0 / 0.9013 GB, free: 2.723 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.8094, allocations: 7.938 kB / 0.9013 GB, free: 2.715 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.003175/0.8126, allocations: 1.155 MB / 0.9024 GB, free: 1.523 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.8126, allocations: 12.03 kB / 0.9024 GB, free: 1.512 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.752e-05/0.8127, allocations: 46.73 kB / 0.9025 GB, free: 1.457 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.8138, allocations: 92.75 kB / 0.9026 GB, free: 1.367 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003364/0.8142, allocations: 170.5 kB / 0.9027 GB, free: 1.176 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.8142, allocations: 15.94 kB / 0.9027 GB, free: 1.16 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.884e-05/0.8142, allocations: 12 kB / 0.9028 GB, free: 1.148 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.8154, allocations: 468.8 kB / 0.9032 GB, free: 0.6719 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.8154, allocations: 0 / 0.9032 GB, free: 0.6719 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.505e-05/0.8154, allocations: 12 kB / 0.9032 GB, free: 0.6602 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.8154, allocations: 11.88 kB / 0.9032 GB, free: 0.6484 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.8167, allocations: 0.6166 MB / 0.9038 GB, free: 32 kB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.8179, allocations: 0.8618 MB / 0.9047 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008375/0.8187, allocations: 238.3 kB / 0.9049 GB, free: 14.85 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.8189, allocations: 69.27 kB / 0.905 GB, free: 14.78 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08671/0.9056, allocations: 23.3 MB / 0.9277 GB, free: 7.43 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/0.9056, allocations: 38.56 kB / 0.9278 GB, free: 7.383 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=25): time 1.703e-06/0.9056, allocations: 0 / 0.9278 GB, free: 7.383 MB / 0.7012 GB Notification: Performance of matching and sorting (n=25): time 0.00178/0.9074, allocations: 420.2 kB / 0.9282 GB, free: 6.969 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.9074, allocations: 55.41 kB / 0.9282 GB, free: 6.902 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.9076, allocations: 141.8 kB / 0.9283 GB, free: 6.754 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/0.9076, allocations: 25.7 kB / 0.9284 GB, free: 6.723 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 8.226e-05/0.9077, allocations: 112.4 kB / 0.9285 GB, free: 6.609 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 9e-05/0.9078, allocations: 91.22 kB / 0.9286 GB, free: 6.52 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.9079, allocations: 81.66 kB / 0.9286 GB, free: 6.434 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.9081, allocations: 322.8 kB / 0.9289 GB, free: 6.109 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.9083, allocations: 79.95 kB / 0.929 GB, free: 6.031 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002396/0.9085, allocations: 130.8 kB / 0.9291 GB, free: 5.887 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004568/0.909, allocations: 220 kB / 0.9294 GB, free: 5.656 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.909, allocations: 8 kB / 0.9294 GB, free: 5.648 MB / 0.7012 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007063/0.9097, allocations: 297.3 kB / 0.9296 GB, free: 5.352 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.9097, allocations: 4 kB / 0.9297 GB, free: 5.348 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.9097, allocations: 4 kB / 0.9297 GB, free: 5.344 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.9097, allocations: 0 / 0.9297 GB, free: 5.344 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003099/0.91, allocations: 83.88 kB / 0.9297 GB, free: 5.262 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.91, allocations: 7.984 kB / 0.9297 GB, free: 5.254 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.9102, allocations: 27.77 kB / 0.9298 GB, free: 5.227 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.154e-05/0.9102, allocations: 28.14 kB / 0.9298 GB, free: 5.199 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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 0.0001373/0.9104, allocations: 129.7 kB / 0.9299 GB, free: 5.062 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/0.9105, allocations: 19.91 kB / 0.9299 GB, free: 5.043 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002746/0.9133, allocations: 2.479 MB / 0.9324 GB, free: 2.559 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/0.9133, allocations: 15.92 kB / 0.9324 GB, free: 2.543 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.9133, allocations: 0 / 0.9324 GB, free: 2.543 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.567e-06/0.9133, allocations: 7.922 kB / 0.9324 GB, free: 2.535 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003787/0.9171, allocations: 3.606 MB / 0.9359 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.9171, allocations: 0.625 kB / 0.9359 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002835/0.9174, allocations: 55.89 kB / 0.936 GB, free: 14.76 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.9174, allocations: 0 / 0.936 GB, free: 14.76 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/0.9174, allocations: 11.94 kB / 0.936 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.9174, allocations: 2.375 kB / 0.936 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.9174, allocations: 7.922 kB / 0.936 GB, free: 14.74 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008324/0.9183, allocations: 0.5546 MB / 0.9365 GB, free: 14.17 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.9184, allocations: 67.62 kB / 0.9366 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.738e-05/0.9184, allocations: 7.938 kB / 0.9366 GB, free: 14.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/0.9186, allocations: 15.98 kB / 0.9366 GB, free: 14.08 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.9187, allocations: 15.97 kB / 0.9366 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-05/0.9187, allocations: 12 kB / 0.9366 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.897e-05/0.9188, allocations: 109.1 kB / 0.9367 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/0.9188, allocations: 0 / 0.9367 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004164/0.923, allocations: 1.649 MB / 0.9383 GB, free: 12.3 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.008878/0.9318, allocations: 2.931 MB / 0.9412 GB, free: 9.34 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007895/0.9326, allocations: 312.4 kB / 0.9415 GB, free: 9.035 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.9326, allocations: 0 / 0.9415 GB, free: 9.035 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003081/0.9329, allocations: 196.5 kB / 0.9417 GB, free: 8.844 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005904/0.9335, allocations: 72.11 kB / 0.9418 GB, free: 8.773 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006263/0.9398, allocations: 3.103 MB / 0.9448 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004086/0.9402, allocations: 0.766 MB / 0.9455 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0006052/0.9408, allocations: 405.1 kB / 0.9459 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002011/0.941, allocations: 99.39 kB / 0.946 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of SimCode: time 6.41e-07/0.941, allocations: 0 / 0.946 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.119/1.06, allocations: 61.53 MB / 1.006 GB, free: 6.836 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.65/16.71, allocations: 2.734 kB / 1.006 GB, free: 6.836 MB / 0.7794 GB " [Timeout remaining time 643] (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties_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_SteamProperties.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.646768072998384] Failed to read output from testmodel.py, exit status != 0: 16.863419140001497 16.890406662 16.075581549 Calling exit ...