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.001643/0.001643, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001808/0.001808, allocations: 217.4 kB / 22.25 MB, free: 4.855 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.432/1.432, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.002581/0.002581, allocations: 293.8 kB / 312.7 MB, free: 2.586 MB / 238.1 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 1.225/1.225, allocations: 180.6 MB / 0.5369 GB, free: 14.53 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 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: NcDataReader2 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: BuildingSystems 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.002948/0.002948, allocations: 96.52 kB / 0.7395 GB, free: 28.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1656, allocations: 95.4 MB / 0.8326 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.609/0.7746, allocations: 180.8 MB / 1.009 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008393/0.783, allocations: 5.99 MB / 1.015 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001022/0.784, allocations: 51.58 kB / 1.015 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001555/0.7856, allocations: 0.6834 MB / 1.016 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005935/0.7915, allocations: 2.808 MB / 1.018 GB, free: 3.293 MB / 0.7169 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.001652/0.7931, allocations: 0.724 MB / 1.019 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003405/0.7966, allocations: 3.325 MB / 1.022 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001303/0.7979, allocations: 0.8087 MB / 1.023 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002461/0.8003, allocations: 1.31 MB / 1.025 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00237/0.8027, allocations: 1.136 MB / 1.026 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003192/0.803, allocations: 129.8 kB / 1.026 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00416/0.8072, allocations: 1.922 MB / 1.028 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007873/0.808, allocations: 0.5346 MB / 1.028 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001394/0.8093, allocations: 0.6175 MB / 1.029 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005124/0.8145, allocations: 2.726 MB / 1.031 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.8145, allocations: 3.938 kB / 1.031 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.903e-06/0.8145, allocations: 0.9688 kB / 1.031 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.834e-05/0.8145, allocations: 2.469 kB / 1.031 GB, free: 2.746 MB / 0.7169 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.004667/0.8192, allocations: 1.73 MB / 1.033 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.8192, allocations: 9.312 kB / 1.033 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002747/0.8195, allocations: 164.1 kB / 1.033 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0023/0.8218, allocations: 351.4 kB / 1.034 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00177/0.8236, allocations: 0.8163 MB / 1.034 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.219e-05/0.8236, allocations: 78.84 kB / 1.034 GB, free: 17.58 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001637/0.8238, allocations: 100.8 kB / 1.035 GB, free: 17.58 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001903/0.8257, allocations: 1.392 MB / 1.036 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.929e-05/0.8257, allocations: 6.844 kB / 1.036 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/0.8259, allocations: 39.72 kB / 1.036 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.405e-05/0.8259, allocations: 61.39 kB / 1.036 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001668/0.8276, allocations: 1.241 MB / 1.037 GB, free: 17.23 MB / 0.7325 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.005155/0.8327, allocations: 3.12 MB / 1.04 GB, free: 16.74 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/0.834, allocations: 0.8311 MB / 1.041 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000648/0.8347, allocations: 487.8 kB / 1.042 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.147e-05/0.8347, allocations: 14.48 kB / 1.042 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007738/0.8355, allocations: 0.6812 MB / 1.042 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 2.785e-06/0.8355, allocations: 0.9688 kB / 1.042 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.001811/0.8373, allocations: 1.16 MB / 1.043 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.8373, allocations: 63.28 kB / 1.043 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006437/0.838, allocations: 0.5769 MB / 1.044 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.651e-05/0.8381, allocations: 39.39 kB / 1.044 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002684/0.8383, allocations: 468.8 kB / 1.044 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002002/0.8385, allocations: 286.1 kB / 1.045 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001794/0.8387, allocations: 140.8 kB / 1.045 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001909/0.8389, allocations: 381 kB / 1.045 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004284/0.8393, allocations: 334 kB / 1.046 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005029/0.8398, allocations: 450.9 kB / 1.046 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009511/0.8408, allocations: 0.8214 MB / 1.047 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.8408, allocations: 0 / 1.047 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001209/0.842, allocations: 0.9352 MB / 1.048 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.842, allocations: 6.531 kB / 1.048 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.842, allocations: 6.906 kB / 1.048 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.842, allocations: 12.53 kB / 1.048 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006476/0.8427, allocations: 156.2 kB / 1.048 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-05/0.8427, allocations: 7.75 kB / 1.048 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007349/0.8434, allocations: 58.95 kB / 1.048 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-05/0.8435, allocations: 29.36 kB / 1.048 GB, free: 14.77 MB / 0.7325 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.0004618/0.844, allocations: 329.5 kB / 1.048 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.8441, allocations: 82.53 kB / 1.048 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002131/0.8443, allocations: 103.9 kB / 1.048 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.8443, allocations: 13.09 kB / 1.048 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.8443, allocations: 0.75 kB / 1.048 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001226/0.8455, allocations: 1.091 MB / 1.05 GB, free: 13.73 MB / 0.7325 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.003319/0.8489, allocations: 2.027 MB / 1.052 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.8489, allocations: 7.719 kB / 1.052 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008223/0.8497, allocations: 175.7 kB / 1.052 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.307e-06/0.8497, allocations: 3.188 kB / 1.052 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-05/0.8498, allocations: 15.64 kB / 1.052 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.9e-06/0.8498, allocations: 3.438 kB / 1.052 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.8498, allocations: 7.562 kB / 1.052 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/0.8516, allocations: 1.355 MB / 1.053 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005553/0.8521, allocations: 180.2 kB / 1.053 GB, free: 12 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001832/0.8523, allocations: 18.31 kB / 1.053 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007003/0.853, allocations: 19.11 kB / 1.053 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.284e-05/0.8531, allocations: 51.89 kB / 1.053 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.876e-05/0.8532, allocations: 23.86 kB / 1.053 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006793/0.8539, allocations: 414.1 kB / 1.054 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.8539, allocations: 0.7812 kB / 1.054 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001183/0.855, allocations: 370 kB / 1.054 GB, free: 11.71 MB / 0.7325 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.002528/0.8576, allocations: 1.978 MB / 1.056 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001236/0.8588, allocations: 0.7662 MB / 1.057 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.8588, allocations: 0.8125 kB / 1.057 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005804/0.8594, allocations: 410.2 kB / 1.057 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002776/0.8622, allocations: 0.5967 MB / 1.058 GB, free: 9.996 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/0.8723, allocations: 7.293 MB / 1.065 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005664/0.8728, allocations: 0.5409 MB / 1.065 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009948/0.8738, allocations: 268.2 kB / 1.066 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005748/0.8744, allocations: 376.1 kB / 1.066 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of SimCode: time 9.22e-07/0.8744, allocations: 0 / 1.066 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06367/0.9381, allocations: 28.72 MB / 1.094 GB, free: 14.99 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.71, allocations: 13.62 kB / 1.094 GB, free: 14.98 MB / 0.7637 GB " [Timeout remaining time 647] (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: 16.795718919020146] Failed to read output from testmodel.py, exit status != 0: 12.83017920004204 12.854145457 12.035191862 Calling exit ...