Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.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.001341/0.001341, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.001499/0.001499, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.484/1.484, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.9178/0.9178, allocations: 145 MB / 453.8 MB, free: 0.7266 MB / 350.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.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ZonalFlow",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.002008/0.002008, allocations: 65.75 kB / 0.628 GB, free: 10.69 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1794, allocations: 87.83 MB / 0.7138 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.5817/0.7611, allocations: 208 MB / 0.9169 GB, free: 252 kB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01071/0.7718, allocations: 6.393 MB / 0.9232 GB, free: 9.836 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001363/0.7732, allocations: 43.69 kB / 0.9232 GB, free: 9.793 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.002013/0.7752, allocations: 0.7772 MB / 0.924 GB, free: 9.012 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.00689/0.7821, allocations: 2.758 MB / 0.9266 GB, free: 6.242 MB / 0.7012 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/IBPSA/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition 'zonFlo.useDefaultProperties and initial()'. Notification: Performance of NFTyping.typeClassSections: time 0.001945/0.784, allocations: 0.7139 MB / 0.9273 GB, free: 5.535 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.00453/0.7885, allocations: 3.282 MB / 0.9305 GB, free: 2.242 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001543/0.7901, allocations: 0.9375 MB / 0.9315 GB, free: 1.281 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002849/0.7929, allocations: 1.308 MB / 0.9327 GB, free: 15.96 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002883/0.7958, allocations: 1.176 MB / 0.9339 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003035/0.7961, allocations: 128 kB / 0.934 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006527/0.8026, allocations: 2.502 MB / 0.9365 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0009938/0.8036, allocations: 0.5258 MB / 0.937 GB, free: 11.63 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001611/0.8053, allocations: 0.743 MB / 0.9377 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007232/0.8125, allocations: 2.889 MB / 0.9405 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.345e-06/0.8125, allocations: 0 / 0.9405 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.856e-06/0.8125, allocations: 3.938 kB / 0.9405 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.706e-05/0.8125, allocations: 0 / 0.9405 GB, free: 7.984 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.004896/0.8174, allocations: 1.817 MB / 0.9423 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.8175, allocations: 8.031 kB / 0.9423 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002197/0.8177, allocations: 164.6 kB / 0.9425 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002297/0.82, allocations: 354.9 kB / 0.9428 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001573/0.8216, allocations: 0.8824 MB / 0.9437 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.836e-05/0.8216, allocations: 70.02 kB / 0.9437 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.8218, allocations: 104 kB / 0.9438 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002105/0.8239, allocations: 1.191 MB / 0.945 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.835e-05/0.8239, allocations: 3.938 kB / 0.945 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.824, allocations: 40 kB / 0.945 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.523e-05/0.8241, allocations: 62.08 kB / 0.9451 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001991/0.8261, allocations: 1.246 MB / 0.9463 GB, free: 1.898 MB / 0.7169 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006871/0.833, allocations: 5.116 MB / 0.9513 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001638/0.8346, allocations: 1.129 MB / 0.9524 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007853/0.8354, allocations: 489.2 kB / 0.9529 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.086e-05/0.8355, allocations: 20.78 kB / 0.9529 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008027/0.8363, allocations: 492.1 kB / 0.9534 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 2.375e-06/0.8363, allocations: 0 / 0.9534 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.002161/0.8384, allocations: 1.161 MB / 0.9545 GB, free: 8.957 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.8385, allocations: 60.06 kB / 0.9546 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007553/0.8392, allocations: 0.5744 MB / 0.9551 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.259e-05/0.8393, allocations: 37.7 kB / 0.9551 GB, free: 8.262 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003521/0.8397, allocations: 476.6 kB / 0.9556 GB, free: 7.789 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002752/0.8399, allocations: 273.6 kB / 0.9559 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002208/0.8402, allocations: 134.6 kB / 0.956 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001901/0.8403, allocations: 382.8 kB / 0.9564 GB, free: 7 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005166/0.8409, allocations: 337.7 kB / 0.9567 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000617/0.8415, allocations: 454.3 kB / 0.9571 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.8427, allocations: 0.8232 MB / 0.9579 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.8427, allocations: 3.938 kB / 0.9579 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001498/0.8442, allocations: 0.9378 MB / 0.9588 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.8442, allocations: 8 kB / 0.9588 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.8442, allocations: 4 kB / 0.9588 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/0.8443, allocations: 7.938 kB / 0.9589 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007193/0.845, allocations: 159.8 kB / 0.959 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.845, allocations: 4 kB / 0.959 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007794/0.8458, allocations: 71.84 kB / 0.9591 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-05/0.8458, allocations: 24 kB / 0.9591 GB, free: 4.102 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.0005359/0.8464, allocations: 333.5 kB / 0.9594 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.8465, allocations: 83.48 kB / 0.9595 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002711/0.8468, allocations: 115.7 kB / 0.9596 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.8468, allocations: 4 kB / 0.9596 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.8468, allocations: 5.438 kB / 0.9596 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001361/0.8482, allocations: 1.089 MB / 0.9607 GB, free: 2.383 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00331/0.8515, allocations: 2.307 MB / 0.9629 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.8515, allocations: 0 / 0.9629 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008696/0.8524, allocations: 171.7 kB / 0.9631 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/0.8524, allocations: 4 kB / 0.9631 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-05/0.8524, allocations: 16 kB / 0.9631 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/0.8524, allocations: 11.92 kB / 0.9631 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.8524, allocations: 4.031 kB / 0.9631 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001964/0.8544, allocations: 1.356 MB / 0.9645 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004217/0.8548, allocations: 256.4 kB / 0.9647 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.8549, allocations: 16 kB / 0.9647 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006362/0.8555, allocations: 27.92 kB / 0.9647 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.734e-05/0.8556, allocations: 40.59 kB / 0.9648 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.907e-05/0.8557, allocations: 31.98 kB / 0.9648 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005492/0.8563, allocations: 411.1 kB / 0.9652 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/0.8563, allocations: 0 / 0.9652 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009393/0.8572, allocations: 367.4 kB / 0.9656 GB, free: 13.27 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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.002409/0.8596, allocations: 1.994 MB / 0.9675 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001277/0.8609, allocations: 0.7591 MB / 0.9682 GB, free: 10.49 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.8609, allocations: 3.938 kB / 0.9682 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005836/0.8615, allocations: 407.6 kB / 0.9686 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002762/0.8642, allocations: 0.5932 MB / 0.9692 GB, free: 9.516 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/0.8748, allocations: 7.285 MB / 0.9763 GB, free: 2.066 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008202/0.8756, allocations: 1.136 MB / 0.9774 GB, free: 0.9023 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0009047/0.8766, allocations: 271.1 kB / 0.9777 GB, free: 0.6328 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005769/0.8771, allocations: 387.3 kB / 0.9781 GB, free: 260 kB / 0.7481 GB Notification: Performance of SimCode: time 1.022e-06/0.8771, allocations: 0 / 0.9781 GB, free: 260 kB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06099/0.9381, allocations: 26.1 MB / 1.004 GB, free: 6.48 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.347/10.29, allocations: 4 kB / 1.004 GB, free: 6.477 MB / 0.7794 GB " [Timeout remaining time 650] (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ZonalFlow.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.096741815999849] Failed to read output from testmodel.py, exit status != 0: 10.3710327459994 10.387034426 9.57135179 Calling exit ...