Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001167/0.001167, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001325/0.001325, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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.148/1.148, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001976/0.001976, allocations: 229 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.8283/0.8283, allocations: 138.4 MB / 454.3 MB, free: 30.03 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 0.6463 GB, free: 1.918 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.611e-05/2.838e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.91 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.7228/0.7228, allocations: 180.6 MB / 0.8226 GB, free: 6.523 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01065/0.7334, allocations: 5.99 MB / 0.8284 GB, free: 0.5195 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002439/0.7359, allocations: 51.62 kB / 0.8285 GB, free: 480 kB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002686/0.7386, allocations: 0.6951 MB / 0.8292 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.00827/0.7468, allocations: 2.882 MB / 0.832 GB, free: 12.88 MB / 0.6667 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 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.002154/0.749, allocations: 0.7307 MB / 0.8327 GB, free: 12.15 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.005338/0.7543, allocations: 3.388 MB / 0.836 GB, free: 8.754 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002216/0.7565, allocations: 0.8058 MB / 0.8368 GB, free: 7.922 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00328/0.7598, allocations: 1.706 MB / 0.8385 GB, free: 6.211 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00301/0.7628, allocations: 1.038 MB / 0.8395 GB, free: 5.176 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001724/0.763, allocations: 128.7 kB / 0.8396 GB, free: 5.051 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005103/0.7681, allocations: 1.955 MB / 0.8415 GB, free: 3.09 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0006124/0.7687, allocations: 0.5648 MB / 0.8421 GB, free: 2.523 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0008178/0.7695, allocations: 0.5341 MB / 0.8426 GB, free: 1.988 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.006991/0.7765, allocations: 2.817 MB / 0.8453 GB, free: 15.16 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.939e-06/0.7765, allocations: 0 / 0.8453 GB, free: 15.16 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.565e-06/0.7765, allocations: 0 / 0.8453 GB, free: 15.16 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.417e-05/0.7766, allocations: 0.6562 kB / 0.8453 GB, free: 15.16 MB / 0.6823 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.004649/0.7812, allocations: 1.734 MB / 0.847 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001113/0.7813, allocations: 9.938 kB / 0.847 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001583/0.7815, allocations: 160.6 kB / 0.8472 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001451/0.7829, allocations: 354.9 kB / 0.8475 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001521/0.7845, allocations: 0.8181 MB / 0.8483 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.485e-05/0.7845, allocations: 74.02 kB / 0.8484 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.7846, allocations: 103.8 kB / 0.8485 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001984/0.7866, allocations: 1.399 MB / 0.8499 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.643e-05/0.7866, allocations: 4 kB / 0.8499 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.217e-05/0.7867, allocations: 40 kB / 0.8499 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.984e-05/0.7868, allocations: 58.08 kB / 0.85 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001523/0.7883, allocations: 1.246 MB / 0.8512 GB, free: 9.012 MB / 0.6823 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.005492/0.7938, allocations: 3.115 MB / 0.8542 GB, free: 5.84 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.7949, allocations: 0.8377 MB / 0.855 GB, free: 4.996 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000891/0.7958, allocations: 490.2 kB / 0.8555 GB, free: 4.52 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.042e-05/0.7958, allocations: 12.64 kB / 0.8555 GB, free: 4.508 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000795/0.7966, allocations: 0.6776 MB / 0.8562 GB, free: 3.766 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=76): time 8.166e-06/0.7966, allocations: 4 kB / 0.8562 GB, free: 3.762 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76): time 0.001973/0.7986, allocations: 1.153 MB / 0.8573 GB, free: 2.605 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/0.7987, allocations: 60 kB / 0.8574 GB, free: 2.535 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006781/0.7994, allocations: 0.5861 MB / 0.8579 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.699e-05/0.7994, allocations: 41.7 kB / 0.858 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002395/0.7997, allocations: 472.6 kB / 0.8584 GB, free: 1.422 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000196/0.7999, allocations: 277.7 kB / 0.8587 GB, free: 1.148 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/0.8, allocations: 130.6 kB / 0.8588 GB, free: 1.016 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.8002, allocations: 386.8 kB / 0.8592 GB, free: 0.6289 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003459/0.8005, allocations: 331.2 kB / 0.8595 GB, free: 316 kB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007932/0.8013, allocations: 452.7 kB / 0.8599 GB, free: 15.83 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009264/0.8023, allocations: 0.8271 MB / 0.8607 GB, free: 14.96 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.8023, allocations: 0 / 0.8607 GB, free: 14.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001071/0.8033, allocations: 0.9303 MB / 0.8617 GB, free: 14.03 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.047e-05/0.8034, allocations: 8 kB / 0.8617 GB, free: 14.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.8034, allocations: 0 / 0.8617 GB, free: 14.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.82e-05/0.8034, allocations: 8 kB / 0.8617 GB, free: 14.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004594/0.8039, allocations: 163.7 kB / 0.8618 GB, free: 13.85 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.839e-05/0.8039, allocations: 4 kB / 0.8618 GB, free: 13.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000488/0.8044, allocations: 63.52 kB / 0.8619 GB, free: 13.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.521e-05/0.8044, allocations: 28 kB / 0.8619 GB, free: 13.76 MB / 0.698 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.0004093/0.8048, allocations: 330 kB / 0.8622 GB, free: 13.43 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.007e-05/0.8049, allocations: 89.73 kB / 0.8623 GB, free: 13.34 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001364/0.8051, allocations: 107.8 kB / 0.8624 GB, free: 13.22 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.8051, allocations: 11.98 kB / 0.8624 GB, free: 13.21 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/0.8051, allocations: 3.938 kB / 0.8624 GB, free: 13.21 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001062/0.8061, allocations: 1.092 MB / 0.8635 GB, free: 12.04 MB / 0.698 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.003142/0.8093, allocations: 2.026 MB / 0.8655 GB, free: 9.945 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.8093, allocations: 0 / 0.8655 GB, free: 9.945 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005696/0.8099, allocations: 179.8 kB / 0.8657 GB, free: 9.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.578e-05/0.8099, allocations: 0 / 0.8657 GB, free: 9.77 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.736e-05/0.8099, allocations: 23.94 kB / 0.8657 GB, free: 9.746 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.676e-06/0.8099, allocations: 4 kB / 0.8657 GB, free: 9.742 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.8099, allocations: 0 / 0.8657 GB, free: 9.742 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.8114, allocations: 1.356 MB / 0.867 GB, free: 8.363 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004152/0.8118, allocations: 183.3 kB / 0.8672 GB, free: 8.184 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.8119, allocations: 12 kB / 0.8672 GB, free: 8.172 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004911/0.8124, allocations: 27.97 kB / 0.8672 GB, free: 8.145 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.111e-05/0.8125, allocations: 44.58 kB / 0.8673 GB, free: 8.102 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.622e-05/0.8125, allocations: 29.11 kB / 0.8673 GB, free: 8.074 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004238/0.813, allocations: 411.1 kB / 0.8677 GB, free: 7.68 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.813, allocations: 0 / 0.8677 GB, free: 7.68 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009886/0.8139, allocations: 375.3 kB / 0.868 GB, free: 7.312 MB / 0.698 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.002083/0.816, allocations: 1.973 MB / 0.87 GB, free: 5.316 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009941/0.817, allocations: 0.759 MB / 0.8707 GB, free: 4.555 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.817, allocations: 4.688 kB / 0.8707 GB, free: 4.551 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.8181, allocations: 407.5 kB / 0.8711 GB, free: 4.156 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001744/0.8198, allocations: 0.5957 MB / 0.8717 GB, free: 3.609 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009572/0.8294, allocations: 7.168 MB / 0.8787 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000488/0.8299, allocations: 0.5466 MB / 0.8792 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001036/0.8309, allocations: 278.1 kB / 0.8795 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004727/0.8314, allocations: 384.4 kB / 0.8798 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of SimCode: time 1.532e-06/0.8314, allocations: 0 / 0.8798 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06234/0.8937, allocations: 28.71 MB / 0.9079 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.308/9.201, allocations: 0 / 0.9079 GB, free: 14.98 MB / 0.7448 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ZonalFlow.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.885070679709315] Failed to read output from testmodel.py, exit status != 0: 9.294787500984967 9.305781847 8.526131877 Calling exit ...