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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 103 kB / 16.45 MB, free: 6.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 199.6 kB / 19.41 MB, free: 3.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002398/0.002398, allocations: 296.7 kB / 303 MB, free: 9.508 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.14/1.14, allocations: 180.9 MB / 0.5261 GB, free: 14.7 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002807/0.002807, allocations: 100.6 kB / 0.7248 GB, free: 40.12 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1735, allocations: 94.16 MB / 0.8167 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.6669/0.8404, allocations: 204.9 MB / 1.017 GB, free: 2.363 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.009385/0.8498, allocations: 6.391 MB / 1.023 GB, free: 2.336 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001497/0.8513, allocations: 35.09 kB / 1.023 GB, free: 2.336 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001759/0.853, allocations: 0.766 MB / 1.024 GB, free: 2.32 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.006869/0.8599, allocations: 2.771 MB / 1.027 GB, free: 2.219 MB / 0.7481 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-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.001874/0.8618, allocations: 0.7163 MB / 1.027 GB, free: 2.199 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004976/0.8668, allocations: 3.278 MB / 1.03 GB, free: 2.191 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001744/0.8685, allocations: 0.9409 MB / 1.031 GB, free: 2.121 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00285/0.8714, allocations: 1.29 MB / 1.033 GB, free: 2.117 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002267/0.8736, allocations: 1.169 MB / 1.034 GB, free: 2.117 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001811/0.8738, allocations: 129.3 kB / 1.034 GB, free: 2.117 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004389/0.8782, allocations: 2.505 MB / 1.036 GB, free: 2.098 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0005383/0.8787, allocations: 0.5306 MB / 1.037 GB, free: 2.094 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0009403/0.8797, allocations: 0.7414 MB / 1.038 GB, free: 2.094 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004043/0.8837, allocations: 2.805 MB / 1.04 GB, free: 1.941 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.8837, allocations: 0.9375 kB / 1.04 GB, free: 1.941 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8837, allocations: 0 / 1.04 GB, free: 1.941 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.785e-05/0.8837, allocations: 0 / 1.04 GB, free: 1.941 MB / 0.7481 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.003415/0.8871, allocations: 1.814 MB / 1.042 GB, free: 1.078 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.8872, allocations: 9.094 kB / 1.042 GB, free: 1.078 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001608/0.8873, allocations: 160.8 kB / 1.042 GB, free: 1.035 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002021/0.8894, allocations: 354.5 kB / 1.043 GB, free: 0.9688 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001476/0.8908, allocations: 0.8817 MB / 1.043 GB, free: 16.65 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.239e-05/0.8909, allocations: 73.86 kB / 1.043 GB, free: 16.64 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/0.891, allocations: 105.5 kB / 1.044 GB, free: 16.64 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001554/0.8926, allocations: 1.193 MB / 1.045 GB, free: 16.56 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.702e-05/0.8926, allocations: 0 / 1.045 GB, free: 16.56 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-05/0.8927, allocations: 45.83 kB / 1.045 GB, free: 16.56 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.626e-05/0.8928, allocations: 60.47 kB / 1.045 GB, free: 16.55 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00152/0.8943, allocations: 1.246 MB / 1.046 GB, free: 16.54 MB / 0.7637 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.005866/0.9001, allocations: 5.116 MB / 1.051 GB, free: 14.05 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/0.9014, allocations: 1.134 MB / 1.052 GB, free: 13.64 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005572/0.902, allocations: 488.7 kB / 1.053 GB, free: 13.63 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 5.206e-05/0.902, allocations: 16.88 kB / 1.053 GB, free: 13.63 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006027/0.9026, allocations: 493 kB / 1.053 GB, free: 13.58 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=76): time 2.836e-06/0.9026, allocations: 0 / 1.053 GB, free: 13.58 MB / 0.7637 GB Notification: Performance of matching and sorting (n=76): time 0.001623/0.9042, allocations: 1.156 MB / 1.054 GB, free: 13.49 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.9043, allocations: 64.03 kB / 1.054 GB, free: 13.42 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005462/0.9048, allocations: 0.5717 MB / 1.055 GB, free: 13.29 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 5.897e-05/0.9049, allocations: 43.64 kB / 1.055 GB, free: 13.26 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002384/0.9051, allocations: 476.5 kB / 1.055 GB, free: 13.02 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002118/0.9053, allocations: 278.1 kB / 1.056 GB, free: 12.84 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/0.9055, allocations: 131.8 kB / 1.056 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.9057, allocations: 388.2 kB / 1.056 GB, free: 12.51 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003793/0.9061, allocations: 335.8 kB / 1.056 GB, free: 12.51 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004758/0.9066, allocations: 449.1 kB / 1.057 GB, free: 12.41 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009417/0.9075, allocations: 0.818 MB / 1.058 GB, free: 12.31 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.9075, allocations: 2.781 kB / 1.058 GB, free: 12.31 MB / 0.7637 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001143/0.9086, allocations: 0.9338 MB / 1.059 GB, free: 12.22 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.9087, allocations: 6.344 kB / 1.059 GB, free: 12.22 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.9087, allocations: 5.281 kB / 1.059 GB, free: 12.22 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/0.9087, allocations: 10.06 kB / 1.059 GB, free: 12.22 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005917/0.9093, allocations: 158.2 kB / 1.059 GB, free: 12.22 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/0.9093, allocations: 12.53 kB / 1.059 GB, free: 12.22 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006432/0.9099, allocations: 60.08 kB / 1.059 GB, free: 12.18 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.403e-05/0.91, allocations: 29.69 kB / 1.059 GB, free: 12.18 MB / 0.7637 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.0004507/0.9104, allocations: 338.5 kB / 1.059 GB, free: 12.07 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.9106, allocations: 80.22 kB / 1.059 GB, free: 12.03 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001937/0.9108, allocations: 108.4 kB / 1.059 GB, free: 12.01 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.9108, allocations: 11.34 kB / 1.059 GB, free: 12.01 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.666e-05/0.9108, allocations: 4.844 kB / 1.059 GB, free: 12 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001094/0.9119, allocations: 1.088 MB / 1.06 GB, free: 11.55 MB / 0.7637 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.002994/0.9149, allocations: 2.315 MB / 1.063 GB, free: 11.04 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.9149, allocations: 0 / 1.063 GB, free: 11.04 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000738/0.9156, allocations: 173.2 kB / 1.063 GB, free: 11.04 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.461e-06/0.9156, allocations: 2.625 kB / 1.063 GB, free: 11.04 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.556e-05/0.9157, allocations: 21.19 kB / 1.063 GB, free: 11.04 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/0.9157, allocations: 6.062 kB / 1.063 GB, free: 11.04 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.9157, allocations: 4.656 kB / 1.063 GB, free: 11.04 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001508/0.9172, allocations: 1.352 MB / 1.064 GB, free: 10.83 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004418/0.9176, allocations: 259.8 kB / 1.064 GB, free: 10.68 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.518e-05/0.9177, allocations: 15.81 kB / 1.064 GB, free: 10.68 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005695/0.9183, allocations: 16.41 kB / 1.064 GB, free: 10.68 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.52e-05/0.9184, allocations: 50.27 kB / 1.065 GB, free: 10.68 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-05/0.9184, allocations: 28.91 kB / 1.065 GB, free: 10.68 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0004193/0.9188, allocations: 408.2 kB / 1.065 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1e-07/0.9188, allocations: 6.812 kB / 1.065 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008074/0.9196, allocations: 367.6 kB / 1.065 GB, free: 10.54 MB / 0.7637 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.001943/0.9216, allocations: 1.987 MB / 1.067 GB, free: 9.801 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0009816/0.9226, allocations: 0.7648 MB / 1.068 GB, free: 9.785 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.9226, allocations: 2.609 kB / 1.068 GB, free: 9.785 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.000429/0.923, allocations: 408.4 kB / 1.068 GB, free: 9.785 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002199/0.9252, allocations: 0.5911 MB / 1.069 GB, free: 9.711 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008599/0.9338, allocations: 7.28 MB / 1.076 GB, free: 7.535 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007577/0.9345, allocations: 1.14 MB / 1.077 GB, free: 6.824 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0009259/0.9355, allocations: 274.4 kB / 1.077 GB, free: 6.77 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004265/0.9359, allocations: 376.6 kB / 1.078 GB, free: 6.766 MB / 0.7637 GB Notification: Performance of SimCode: time 1.062e-06/0.9359, allocations: 4 kB / 1.078 GB, free: 6.762 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0597/0.9956, allocations: 26.06 MB / 1.103 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.275/10.27, allocations: 13.05 kB / 1.103 GB, free: 6.145 MB / 0.7794 GB " [Timeout remaining time 650] (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: 14.232496130280197] Failed to read output from testmodel.py, exit status != 0: 10.35181607119739 10.364599931 9.477887141 Calling exit ...