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.000969/0.000969, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001296/0.001296, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.023/1.023, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.001739/0.001739, allocations: 225.5 kB / 259.4 MB, free: 13.03 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.7817/0.7817, allocations: 138.4 MB / 454.3 MB, free: 30.05 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 1.382e-06/1.382e-06, allocations: 0 / 0.6463 GB, free: 1.902 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.244e-05/2.382e-05, allocations: 10.16 kB / 0.6463 GB, free: 1.891 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.6691/0.6691, allocations: 180.6 MB / 0.8226 GB, free: 6.484 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01113/0.6802, allocations: 5.989 MB / 0.8284 GB, free: 496 kB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001468/0.6817, allocations: 51.62 kB / 0.8285 GB, free: 444 kB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002129/0.6838, allocations: 0.7067 MB / 0.8292 GB, free: 15.72 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.007223/0.691, allocations: 2.869 MB / 0.832 GB, free: 12.84 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.001613/0.6926, allocations: 0.731 MB / 0.8327 GB, free: 12.11 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.003759/0.6964, allocations: 3.386 MB / 0.836 GB, free: 8.723 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008397/0.6972, allocations: 0.809 MB / 0.8368 GB, free: 7.887 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002107/0.6993, allocations: 1.71 MB / 0.8385 GB, free: 6.172 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001818/0.7012, allocations: 1.042 MB / 0.8395 GB, free: 5.133 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001342/0.7013, allocations: 128.7 kB / 0.8396 GB, free: 5.008 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00392/0.7052, allocations: 1.951 MB / 0.8415 GB, free: 3.051 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0005338/0.7057, allocations: 0.5687 MB / 0.8421 GB, free: 2.48 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0004377/0.7062, allocations: 0.538 MB / 0.8426 GB, free: 1.941 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.002993/0.7092, allocations: 2.813 MB / 0.8453 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.7092, allocations: 4 kB / 0.8453 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.993e-06/0.7092, allocations: 4 kB / 0.8453 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.283e-05/0.7092, allocations: 4.656 kB / 0.8454 GB, free: 15.11 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.002892/0.7121, allocations: 1.719 MB / 0.847 GB, free: 13.35 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.23e-05/0.7122, allocations: 9.938 kB / 0.847 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000163/0.7123, allocations: 160.6 kB / 0.8472 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/0.7135, allocations: 358.9 kB / 0.8475 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/0.7147, allocations: 0.8181 MB / 0.8483 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.817e-05/0.7148, allocations: 74 kB / 0.8484 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.7149, allocations: 103.8 kB / 0.8485 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/0.7164, allocations: 1.392 MB / 0.8499 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.903e-05/0.7164, allocations: 3.938 kB / 0.8499 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.63e-05/0.7165, allocations: 43.94 kB / 0.8499 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-05/0.7166, allocations: 66.06 kB / 0.85 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/0.718, allocations: 1.242 MB / 0.8512 GB, free: 8.969 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.004254/0.7222, allocations: 3.115 MB / 0.8542 GB, free: 5.797 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.7233, allocations: 0.826 MB / 0.855 GB, free: 4.965 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005761/0.7238, allocations: 490.2 kB / 0.8555 GB, free: 4.488 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.65e-05/0.7239, allocations: 16.66 kB / 0.8555 GB, free: 4.473 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005945/0.7245, allocations: 0.6814 MB / 0.8562 GB, free: 3.727 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=76): time 2.395e-06/0.7245, allocations: 0 / 0.8562 GB, free: 3.727 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76): time 0.001358/0.7259, allocations: 1.153 MB / 0.8573 GB, free: 2.57 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.618e-05/0.726, allocations: 64 kB / 0.8574 GB, free: 2.496 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005606/0.7265, allocations: 0.5783 MB / 0.8579 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.437e-05/0.7266, allocations: 41.7 kB / 0.858 GB, free: 1.859 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004695/0.727, allocations: 468.6 kB / 0.8584 GB, free: 1.395 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001805/0.7272, allocations: 289.6 kB / 0.8587 GB, free: 1.109 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.7274, allocations: 130.6 kB / 0.8588 GB, free: 0.9766 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.7275, allocations: 382.8 kB / 0.8592 GB, free: 0.5938 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004097/0.7279, allocations: 343.1 kB / 0.8595 GB, free: 268 kB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004108/0.7283, allocations: 440.8 kB / 0.8599 GB, free: 15.79 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009013/0.7292, allocations: 0.8271 MB / 0.8607 GB, free: 14.93 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.7292, allocations: 0 / 0.8607 GB, free: 14.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0009645/0.7302, allocations: 0.9265 MB / 0.8616 GB, free: 14 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/0.7302, allocations: 12.03 kB / 0.8617 GB, free: 13.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.7302, allocations: 4 kB / 0.8617 GB, free: 13.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.687e-05/0.7303, allocations: 4 kB / 0.8617 GB, free: 13.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003996/0.7307, allocations: 159.7 kB / 0.8618 GB, free: 13.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.7307, allocations: 4 kB / 0.8618 GB, free: 13.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003437/0.731, allocations: 63.52 kB / 0.8619 GB, free: 13.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.66e-05/0.7311, allocations: 31.98 kB / 0.8619 GB, free: 13.72 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.0003391/0.7314, allocations: 329.9 kB / 0.8622 GB, free: 13.39 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.423e-05/0.7315, allocations: 89.73 kB / 0.8623 GB, free: 13.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.7316, allocations: 107.8 kB / 0.8624 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.7316, allocations: 8 kB / 0.8624 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.7316, allocations: 3.938 kB / 0.8624 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009207/0.7326, allocations: 1.099 MB / 0.8635 GB, free: 12 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.002352/0.7349, allocations: 2.034 MB / 0.8655 GB, free: 9.898 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.7349, allocations: 0 / 0.8655 GB, free: 9.898 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004489/0.7354, allocations: 175.8 kB / 0.8657 GB, free: 9.727 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/0.7354, allocations: 8.031 kB / 0.8657 GB, free: 9.719 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.362e-05/0.7354, allocations: 15.98 kB / 0.8657 GB, free: 9.703 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.7354, allocations: 4 kB / 0.8657 GB, free: 9.699 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.7354, allocations: 0 / 0.8657 GB, free: 9.699 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001306/0.7367, allocations: 1.36 MB / 0.867 GB, free: 8.316 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002401/0.737, allocations: 175.3 kB / 0.8672 GB, free: 8.145 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.917e-05/0.737, allocations: 12 kB / 0.8672 GB, free: 8.133 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002904/0.7373, allocations: 23.98 kB / 0.8672 GB, free: 8.109 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.162e-05/0.7374, allocations: 44.56 kB / 0.8673 GB, free: 8.066 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.873e-05/0.7374, allocations: 33.11 kB / 0.8673 GB, free: 8.035 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003152/0.7377, allocations: 411.1 kB / 0.8677 GB, free: 7.641 MB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.7377, allocations: 0 / 0.8677 GB, free: 7.641 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006626/0.7384, allocations: 371.3 kB / 0.868 GB, free: 7.277 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.001598/0.74, allocations: 1.975 MB / 0.87 GB, free: 5.277 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008482/0.7408, allocations: 0.763 MB / 0.8707 GB, free: 4.512 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.7408, allocations: 3.938 kB / 0.8707 GB, free: 4.508 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003454/0.7412, allocations: 408.3 kB / 0.8711 GB, free: 4.113 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001491/0.7427, allocations: 0.5916 MB / 0.8717 GB, free: 3.57 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007413/0.7501, allocations: 7.171 MB / 0.8787 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004162/0.7505, allocations: 0.5388 MB / 0.8792 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0006692/0.7512, allocations: 282.1 kB / 0.8795 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003888/0.7516, allocations: 380.4 kB / 0.8798 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of SimCode: time 1.202e-06/0.7516, allocations: 0 / 0.8798 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0491/0.8007, allocations: 28.73 MB / 0.9079 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.957/8.758, allocations: 0 / 0.9079 GB, free: 14.94 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 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: 11.946187033317983] Failed to read output from testmodel.py, exit status != 0: 8.856008040718734 8.867862 8.155880215 Calling exit ...