Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.001813/0.001813, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001974/0.001974, allocations: 216.5 kB / 22.99 MB, free: 4.977 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9775/0.9775, allocations: 149.9 MB / 463.1 MB, free: 10.32 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002133/0.002133, allocations: 71.81 kB / 0.6411 GB, free: 10.1 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1889, allocations: 89.17 MB / 0.7281 GB, free: 1 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.5841/0.773, allocations: 180.8 MB / 0.9047 GB, free: 300 kB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01105/0.784, allocations: 6.001 MB / 0.9106 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00138/0.7854, allocations: 47.62 kB / 0.9106 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001859/0.7872, allocations: 0.6954 MB / 0.9113 GB, free: 9.531 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.00711/0.7944, allocations: 2.809 MB / 0.914 GB, free: 6.711 MB / 0.6856 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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.00194/0.7963, allocations: 0.7178 MB / 0.9148 GB, free: 6 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004603/0.8009, allocations: 3.333 MB / 0.918 GB, free: 2.656 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00132/0.8022, allocations: 0.8129 MB / 0.9188 GB, free: 1.812 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003015/0.8052, allocations: 1.437 MB / 0.9202 GB, free: 380 kB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002677/0.8079, allocations: 1.112 MB / 0.9213 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002657/0.8082, allocations: 128 kB / 0.9214 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004402/0.8126, allocations: 1.916 MB / 0.9233 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0006873/0.8133, allocations: 0.5259 MB / 0.9238 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001017/0.8143, allocations: 0.6343 MB / 0.9244 GB, free: 12.06 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.00502/0.8193, allocations: 2.718 MB / 0.9271 GB, free: 9.332 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.8193, allocations: 0 / 0.9271 GB, free: 9.332 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8193, allocations: 0 / 0.9271 GB, free: 9.332 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.406e-05/0.8193, allocations: 4 kB / 0.9271 GB, free: 9.328 MB / 0.7012 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.004306/0.8236, allocations: 1.732 MB / 0.9288 GB, free: 7.559 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.8237, allocations: 8.031 kB / 0.9288 GB, free: 7.551 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002116/0.8239, allocations: 164.6 kB / 0.9289 GB, free: 7.379 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002206/0.8261, allocations: 355.7 kB / 0.9293 GB, free: 7.031 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001707/0.8278, allocations: 0.8103 MB / 0.9301 GB, free: 6.191 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.179e-05/0.8279, allocations: 74 kB / 0.9301 GB, free: 6.117 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001727/0.828, allocations: 104 kB / 0.9302 GB, free: 6.016 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002212/0.8303, allocations: 1.396 MB / 0.9316 GB, free: 4.539 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.965e-05/0.8303, allocations: 0 / 0.9316 GB, free: 4.539 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.8304, allocations: 40 kB / 0.9316 GB, free: 4.5 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.09e-05/0.8305, allocations: 62.06 kB / 0.9317 GB, free: 4.438 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002115/0.8326, allocations: 1.242 MB / 0.9329 GB, free: 3.188 MB / 0.7012 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.006301/0.8389, allocations: 3.123 MB / 0.936 GB, free: 4 kB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001451/0.8403, allocations: 0.8377 MB / 0.9368 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007457/0.8411, allocations: 489.2 kB / 0.9372 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.296e-05/0.8411, allocations: 8.656 kB / 0.9372 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009596/0.8421, allocations: 0.6776 MB / 0.9379 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 2.825e-06/0.8421, allocations: 0 / 0.9379 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.002103/0.8442, allocations: 1.169 MB / 0.939 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.8443, allocations: 60.06 kB / 0.9391 GB, free: 12.69 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007652/0.845, allocations: 0.5822 MB / 0.9397 GB, free: 12.1 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.981e-05/0.8451, allocations: 41.7 kB / 0.9397 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003743/0.8455, allocations: 464.7 kB / 0.9402 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000327/0.8458, allocations: 281.7 kB / 0.9404 GB, free: 11.31 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002128/0.846, allocations: 130.6 kB / 0.9405 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001983/0.8462, allocations: 382.8 kB / 0.9409 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005215/0.8467, allocations: 333.8 kB / 0.9412 GB, free: 10.47 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006057/0.8473, allocations: 448.8 kB / 0.9417 GB, free: 10 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.8486, allocations: 0.8278 MB / 0.9425 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.8486, allocations: 0.625 kB / 0.9425 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001537/0.8501, allocations: 0.9339 MB / 0.9434 GB, free: 8.195 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.8501, allocations: 11.94 kB / 0.9434 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.8501, allocations: 4 kB / 0.9434 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.8502, allocations: 4 kB / 0.9434 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007157/0.8509, allocations: 159.7 kB / 0.9436 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.8509, allocations: 4.625 kB / 0.9436 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007493/0.8516, allocations: 67.86 kB / 0.9436 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-05/0.8517, allocations: 31.98 kB / 0.9437 GB, free: 7.918 MB / 0.7169 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.0005288/0.8522, allocations: 329.5 kB / 0.944 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/0.8524, allocations: 83.47 kB / 0.944 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002315/0.8526, allocations: 107.8 kB / 0.9441 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.8526, allocations: 8 kB / 0.9442 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.8526, allocations: 2.938 kB / 0.9442 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001394/0.854, allocations: 1.093 MB / 0.9452 GB, free: 6.199 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 postOpt removeSimpleEquations (simulation): time 0.003511/0.8575, allocations: 2.019 MB / 0.9472 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.8575, allocations: 11.97 kB / 0.9472 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008729/0.8584, allocations: 175.8 kB / 0.9474 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.216e-06/0.8584, allocations: 4 kB / 0.9474 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.136e-05/0.8585, allocations: 15.98 kB / 0.9474 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-06/0.8585, allocations: 7.938 kB / 0.9474 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.8585, allocations: 0 / 0.9474 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001976/0.8604, allocations: 1.36 MB / 0.9487 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005094/0.8609, allocations: 175.3 kB / 0.9489 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.8611, allocations: 20 kB / 0.9489 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006248/0.8617, allocations: 19.98 kB / 0.9489 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.528e-05/0.8618, allocations: 48.56 kB / 0.949 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-05/0.8618, allocations: 20 kB / 0.949 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005321/0.8624, allocations: 419 kB / 0.9494 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8624, allocations: 3.938 kB / 0.9494 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009263/0.8633, allocations: 375.2 kB / 0.9498 GB, free: 1.477 MB / 0.7169 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.002417/0.8657, allocations: 1.97 MB / 0.9517 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001267/0.867, allocations: 0.7635 MB / 0.9524 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.867, allocations: 8.062 kB / 0.9524 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005806/0.8676, allocations: 407.5 kB / 0.9528 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002578/0.8701, allocations: 0.5962 MB / 0.9534 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/0.8805, allocations: 7.267 MB / 0.9605 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006853/0.8812, allocations: 0.5466 MB / 0.961 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001018/0.8822, allocations: 279.1 kB / 0.9613 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005857/0.8828, allocations: 375.3 kB / 0.9617 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of SimCode: time 8.92e-07/0.8828, allocations: 3.938 kB / 0.9617 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06644/0.9492, allocations: 28.69 MB / 0.9897 GB, free: 8.961 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/13.15, allocations: 10.34 kB / 0.9897 GB, free: 8.953 MB / 0.7637 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.sim & python3 -m fmpy simulate --output-file IBPSA_latest_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 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ZonalFlow.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.115533096250147] Failed to read output from testmodel.py, exit status != 0: 13.269712701905519 13.287068882 12.464323437000001 Calling exit ...