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.001323/0.001323, 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.001446/0.001446, allocations: 216 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.514/1.514, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.9866/0.9866, allocations: 149.9 MB / 463 MB, free: 10.38 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.002117/0.002117, allocations: 66.97 kB / 0.6411 GB, free: 10.17 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1755, allocations: 89.18 MB / 0.7282 GB, free: 1.059 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.5872/0.7627, allocations: 180.8 MB / 0.9047 GB, free: 364 kB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01183/0.7745, allocations: 5.998 MB / 0.9106 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002543/0.7771, allocations: 47.62 kB / 0.9106 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003485/0.7806, allocations: 0.6876 MB / 0.9113 GB, free: 9.605 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.00941/0.79, allocations: 2.813 MB / 0.9141 GB, free: 6.781 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.002513/0.7925, allocations: 0.7251 MB / 0.9148 GB, free: 6.066 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005464/0.7979, allocations: 3.329 MB / 0.918 GB, free: 2.727 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00145/0.7994, allocations: 0.809 MB / 0.9188 GB, free: 1.887 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003512/0.8029, allocations: 1.441 MB / 0.9202 GB, free: 452 kB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003012/0.8059, allocations: 1.109 MB / 0.9213 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002699/0.8062, allocations: 128 kB / 0.9214 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004404/0.8106, allocations: 1.905 MB / 0.9233 GB, free: 13.3 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0006616/0.8113, allocations: 0.5375 MB / 0.9238 GB, free: 12.76 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0009502/0.8122, allocations: 0.6188 MB / 0.9244 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.00483/0.817, allocations: 2.722 MB / 0.9271 GB, free: 9.41 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.817, allocations: 0 / 0.9271 GB, free: 9.41 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.864e-06/0.817, allocations: 0 / 0.9271 GB, free: 9.41 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.16e-05/0.8171, allocations: 3.938 kB / 0.9271 GB, free: 9.406 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.005181/0.8223, allocations: 1.73 MB / 0.9288 GB, free: 7.637 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/0.8223, allocations: 19.95 kB / 0.9288 GB, free: 7.617 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002519/0.8226, allocations: 164.6 kB / 0.9289 GB, free: 7.445 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00234/0.8249, allocations: 346.9 kB / 0.9293 GB, free: 7.105 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002082/0.827, allocations: 0.8219 MB / 0.9301 GB, free: 6.254 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.75e-05/0.8271, allocations: 71.27 kB / 0.9301 GB, free: 6.184 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002264/0.8273, allocations: 99.98 kB / 0.9302 GB, free: 6.086 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002342/0.8296, allocations: 1.396 MB / 0.9316 GB, free: 4.609 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.084e-05/0.8297, allocations: 3.953 kB / 0.9316 GB, free: 4.605 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.8298, allocations: 43.98 kB / 0.9316 GB, free: 4.562 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.085e-05/0.8299, allocations: 58.08 kB / 0.9317 GB, free: 4.504 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002112/0.832, allocations: 1.246 MB / 0.9329 GB, free: 3.25 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.007614/0.8396, allocations: 3.118 MB / 0.936 GB, free: 72 kB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/0.8412, allocations: 0.83 MB / 0.9368 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008854/0.842, allocations: 485.2 kB / 0.9372 GB, free: 14.76 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.004e-05/0.8421, allocations: 16.64 kB / 0.9372 GB, free: 14.74 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001031/0.8432, allocations: 0.6742 MB / 0.9379 GB, free: 14.01 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 3.476e-06/0.8432, allocations: 0 / 0.9379 GB, free: 14.01 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.002223/0.8454, allocations: 1.169 MB / 0.939 GB, free: 12.83 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/0.8454, allocations: 60.06 kB / 0.9391 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008225/0.8463, allocations: 0.5783 MB / 0.9397 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.482e-05/0.8463, allocations: 41.7 kB / 0.9397 GB, free: 12.13 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003852/0.8467, allocations: 468.7 kB / 0.9401 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003218/0.847, allocations: 285.7 kB / 0.9404 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002183/0.8473, allocations: 130.6 kB / 0.9405 GB, free: 11.25 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002341/0.8475, allocations: 386.8 kB / 0.9409 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005283/0.848, allocations: 329.8 kB / 0.9412 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006351/0.8487, allocations: 456.7 kB / 0.9417 GB, free: 10.06 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.8499, allocations: 0.8239 MB / 0.9425 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.8499, allocations: 0.875 kB / 0.9425 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001537/0.8515, allocations: 0.9339 MB / 0.9434 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.8515, allocations: 11.94 kB / 0.9434 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.8515, allocations: 0 / 0.9434 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/0.8515, allocations: 8.344 kB / 0.9434 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007157/0.8522, allocations: 159.8 kB / 0.9436 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.8522, allocations: 8 kB / 0.9436 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007309/0.853, allocations: 63.5 kB / 0.9436 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.802e-05/0.853, allocations: 31.19 kB / 0.9437 GB, free: 7.988 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.0005331/0.8536, allocations: 329.5 kB / 0.944 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.8537, allocations: 91.36 kB / 0.9441 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002494/0.8539, allocations: 111.8 kB / 0.9442 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.854, allocations: 4 kB / 0.9442 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.854, allocations: 4 kB / 0.9442 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00141/0.8554, allocations: 1.085 MB / 0.9452 GB, free: 6.266 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.003539/0.8589, allocations: 2.023 MB / 0.9472 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.8589, allocations: 0 / 0.9472 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008617/0.8598, allocations: 179.8 kB / 0.9474 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.8598, allocations: 0 / 0.9474 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.391e-05/0.8598, allocations: 19.98 kB / 0.9474 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.994e-06/0.8598, allocations: 4 kB / 0.9474 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.8598, allocations: 4.031 kB / 0.9474 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002114/0.862, allocations: 1.36 MB / 0.9487 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005949/0.8626, allocations: 175.3 kB / 0.9489 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.8627, allocations: 16 kB / 0.9489 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006389/0.8633, allocations: 23.92 kB / 0.9489 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.57e-05/0.8634, allocations: 48.56 kB / 0.949 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.156e-05/0.8635, allocations: 23.98 kB / 0.949 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000608/0.8641, allocations: 415 kB / 0.9494 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8641, allocations: 0 / 0.9494 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001091/0.8652, allocations: 371.3 kB / 0.9498 GB, free: 1.555 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.002592/0.8678, allocations: 1.973 MB / 0.9517 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001458/0.8692, allocations: 0.7668 MB / 0.9524 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.8692, allocations: 0 / 0.9524 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006371/0.8699, allocations: 411.5 kB / 0.9528 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002878/0.8727, allocations: 0.5952 MB / 0.9534 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/0.8837, allocations: 7.287 MB / 0.9605 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006805/0.8844, allocations: 0.5466 MB / 0.9611 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001028/0.8854, allocations: 271.1 kB / 0.9613 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006233/0.886, allocations: 379.3 kB / 0.9617 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of SimCode: time 9.12e-07/0.886, allocations: 0 / 0.9617 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06855/0.9546, allocations: 28.69 MB / 0.9897 GB, free: 9.031 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.99, allocations: 11.3 kB / 0.9897 GB, free: 9.023 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 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: 16.846670232713223] Failed to read output from testmodel.py, exit status != 0: 13.110148160718381 13.127442224 12.306828255 Calling exit ...