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.00172/0.00172, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001846/0.001846, allocations: 216.4 kB / 23.03 MB, free: 4.949 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.434/1.434, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.002498/0.002498, allocations: 294.6 kB / 313.5 MB, free: 2.609 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.173/1.173, allocations: 180.6 MB / 0.5377 GB, free: 14.6 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ZonalFlow",fmuType="cs",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.002842/0.002842, allocations: 98.75 kB / 0.7402 GB, free: 28.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1582, allocations: 95.38 MB / 0.8334 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.5846/0.7428, allocations: 180.6 MB / 1.01 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008768/0.7516, allocations: 5.977 MB / 1.016 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001577/0.7532, allocations: 50.59 kB / 1.016 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001678/0.7548, allocations: 0.6839 MB / 1.016 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006108/0.7609, allocations: 2.811 MB / 1.019 GB, free: 3.281 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.00162/0.7626, allocations: 0.7313 MB / 1.02 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003403/0.766, allocations: 3.354 MB / 1.023 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001102/0.7671, allocations: 0.8162 MB / 1.024 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002231/0.7693, allocations: 1.316 MB / 1.025 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002182/0.7715, allocations: 1.172 MB / 1.026 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001952/0.7717, allocations: 126.2 kB / 1.026 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003589/0.7753, allocations: 1.933 MB / 1.028 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005407/0.7758, allocations: 0.5329 MB / 1.029 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008231/0.7766, allocations: 0.6293 MB / 1.029 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004885/0.7815, allocations: 2.721 MB / 1.032 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.7815, allocations: 3 kB / 1.032 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7815, allocations: 0.8438 kB / 1.032 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.285e-05/0.7816, allocations: 0 / 1.032 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.004121/0.7857, allocations: 1.731 MB / 1.034 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.7857, allocations: 17.56 kB / 1.034 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.067e-05/0.7857, allocations: 26.64 kB / 1.034 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001907/0.7859, allocations: 162.2 kB / 1.034 GB, free: 17.91 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002313/0.7882, allocations: 355.2 kB / 1.034 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/0.7897, allocations: 0.8129 MB / 1.035 GB, free: 17.58 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.302e-05/0.7898, allocations: 76.61 kB / 1.035 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/0.7899, allocations: 105.1 kB / 1.035 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001928/0.7918, allocations: 1.393 MB / 1.037 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.816e-05/0.7919, allocations: 1.031 kB / 1.037 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/0.792, allocations: 45.88 kB / 1.037 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-05/0.792, allocations: 67.58 kB / 1.037 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001673/0.7937, allocations: 1.244 MB / 1.038 GB, free: 17.21 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.005089/0.7988, allocations: 3.125 MB / 1.041 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/0.8, allocations: 0.8203 MB / 1.042 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006243/0.8007, allocations: 493.1 kB / 1.042 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.281e-05/0.8007, allocations: 12.3 kB / 1.042 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007342/0.8014, allocations: 0.6793 MB / 1.043 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 3.186e-06/0.8014, allocations: 3.25 kB / 1.043 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.00173/0.8032, allocations: 1.159 MB / 1.044 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.8032, allocations: 64.22 kB / 1.044 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006135/0.8038, allocations: 0.5736 MB / 1.045 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.264e-05/0.8039, allocations: 43.02 kB / 1.045 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002337/0.8041, allocations: 469.1 kB / 1.045 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002052/0.8043, allocations: 280.1 kB / 1.046 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001884/0.8045, allocations: 133.3 kB / 1.046 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.8047, allocations: 387.4 kB / 1.046 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004092/0.8051, allocations: 327.7 kB / 1.046 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004567/0.8056, allocations: 454.2 kB / 1.047 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009001/0.8065, allocations: 0.823 MB / 1.048 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.8065, allocations: 0.9062 kB / 1.048 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001284/0.8078, allocations: 0.9368 MB / 1.048 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.8078, allocations: 6.344 kB / 1.048 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.8078, allocations: 3.719 kB / 1.048 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.8078, allocations: 4.906 kB / 1.048 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006998/0.8085, allocations: 159.7 kB / 1.049 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/0.8085, allocations: 10.66 kB / 1.049 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007646/0.8093, allocations: 66.75 kB / 1.049 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.619e-05/0.8093, allocations: 28.8 kB / 1.049 GB, free: 14.71 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.0004879/0.8098, allocations: 332.9 kB / 1.049 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.81, allocations: 86.61 kB / 1.049 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002198/0.8102, allocations: 107.9 kB / 1.049 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.8102, allocations: 13.72 kB / 1.049 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/0.8102, allocations: 0 / 1.049 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001178/0.8114, allocations: 1.087 MB / 1.05 GB, free: 13.65 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.002904/0.8143, allocations: 2.024 MB / 1.052 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.8143, allocations: 3.844 kB / 1.052 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008231/0.8151, allocations: 173.1 kB / 1.052 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.8151, allocations: 5.938 kB / 1.052 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.96e-05/0.8152, allocations: 21.38 kB / 1.052 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.8152, allocations: 2.562 kB / 1.052 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.8152, allocations: 1.062 kB / 1.052 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.8169, allocations: 1.36 MB / 1.054 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003959/0.8173, allocations: 186.6 kB / 1.054 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/0.8174, allocations: 15.27 kB / 1.054 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006443/0.8181, allocations: 22.22 kB / 1.054 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.325e-05/0.8181, allocations: 45.39 kB / 1.054 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.643e-05/0.8182, allocations: 27.98 kB / 1.054 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004735/0.8187, allocations: 412 kB / 1.054 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.8187, allocations: 0 / 1.054 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008877/0.8196, allocations: 372.7 kB / 1.055 GB, free: 11.64 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.002207/0.8218, allocations: 1.972 MB / 1.057 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001111/0.8229, allocations: 0.7654 MB / 1.058 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.8229, allocations: 0 / 1.058 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005012/0.8234, allocations: 411.2 kB / 1.058 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00245/0.8258, allocations: 0.5934 MB / 1.058 GB, free: 9.918 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009398/0.8352, allocations: 7.293 MB / 1.066 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005261/0.8358, allocations: 0.5418 MB / 1.066 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009698/0.8367, allocations: 273.8 kB / 1.066 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006237/0.8374, allocations: 386 kB / 1.067 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of SimCode: time 9.61e-07/0.8374, allocations: 0 / 1.067 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05786/0.8952, allocations: 28.49 MB / 1.095 GB, free: 15.17 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/13.53, allocations: 18.27 kB / 1.095 GB, free: 15.16 MB / 0.7637 GB " [Timeout remaining time 646] (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: 17.68188882304821] Failed to read output from testmodel.py, exit status != 0: 13.701699783094227 13.72336543 12.937966489 Calling exit ...