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.0007869/0.0007869, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001071/0.001858, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0008116/0.0008116, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009832/0.001795, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9905/0.9905, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09326/1.084, allocations: 53.67 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] 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.001301/0.001301, allocations: 229.5 kB / 244.2 MB, free: 14.62 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001133/0.002433, allocations: 471.4 kB / 244.7 MB, free: 14.16 MB / 250.7 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 0.6972/0.6972, allocations: 138.7 MB / 384.1 MB, free: 492 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07432/0.7715, allocations: 42.4 MB / 426.5 MB, free: 5.941 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 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.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: translateModel(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow") translateModel(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 427.8 MB, free: 4.629 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.793e-05/1.934e-05, allocations: 2.312 kB / 427.8 MB, free: 4.625 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.3576/0.3576, allocations: 151.5 MB / 0.5657 GB, free: 9.098 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.006341/0.364, allocations: 3.825 MB / 0.5694 GB, free: 5.289 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/0.3651, allocations: 47.69 kB / 0.5695 GB, free: 5.242 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0007261/0.3658, allocations: 313.8 kB / 0.5698 GB, free: 4.934 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.002797/0.3686, allocations: 1.376 MB / 0.5711 GB, free: 3.551 MB / 0.5417 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.001088/0.3697, allocations: 0.5471 MB / 0.5716 GB, free: 3.008 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.003244/0.3729, allocations: 3.33 MB / 0.5749 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001562/0.3745, allocations: 0.8818 MB / 0.5757 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00288/0.3774, allocations: 1.828 MB / 0.5775 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001426/0.3788, allocations: 0.9787 MB / 0.5785 GB, free: 12.03 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001799/0.379, allocations: 128 kB / 0.5786 GB, free: 11.9 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000851/0.3798, allocations: 379.2 kB / 0.579 GB, free: 11.53 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003599/0.3802, allocations: 0.4949 MB / 0.5795 GB, free: 11.04 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004448/0.3806, allocations: 459.3 kB / 0.5799 GB, free: 10.59 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001209/0.3818, allocations: 1.199 MB / 0.5811 GB, free: 9.383 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.816e-05/0.3818, allocations: 0 / 0.5811 GB, free: 9.383 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3818, allocations: 0 / 0.5811 GB, free: 9.383 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.638e-05/0.3819, allocations: 0 / 0.5811 GB, free: 9.383 MB / 0.5573 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.002219/0.3841, allocations: 1.92 MB / 0.5829 GB, free: 7.418 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.3841, allocations: 12.03 kB / 0.583 GB, free: 7.406 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.3852, allocations: 420.3 kB / 0.5834 GB, free: 6.996 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008436/0.386, allocations: 0.6199 MB / 0.584 GB, free: 6.348 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.711e-05/0.386, allocations: 78 kB / 0.584 GB, free: 6.27 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.3862, allocations: 105.4 kB / 0.5841 GB, free: 6.168 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008298/0.387, allocations: 0.8368 MB / 0.5849 GB, free: 5.246 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.387, allocations: 3.938 kB / 0.585 GB, free: 5.242 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-05/0.3871, allocations: 44 kB / 0.585 GB, free: 5.199 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.051e-05/0.3871, allocations: 62.06 kB / 0.5851 GB, free: 5.137 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004333/0.3876, allocations: 342.8 kB / 0.5854 GB, free: 4.781 MB / 0.5573 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.002716/0.3903, allocations: 2.159 MB / 0.5875 GB, free: 2.586 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004799/0.3908, allocations: 402.8 kB / 0.5879 GB, free: 2.191 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.391, allocations: 182.7 kB / 0.588 GB, free: 2.016 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.193e-05/0.391, allocations: 16.66 kB / 0.5881 GB, free: 1.996 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003376/0.3913, allocations: 453.9 kB / 0.5885 GB, free: 1.496 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=76): time 3.136e-06/0.3914, allocations: 7.938 kB / 0.5885 GB, free: 1.488 MB / 0.5573 GB Notification: Performance of matching and sorting (n=76): time 0.0005722/0.3919, allocations: 429.9 kB / 0.5889 GB, free: 1.062 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.392, allocations: 60.06 kB / 0.589 GB, free: 0.9922 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002613/0.3922, allocations: 451.1 kB / 0.5894 GB, free: 0.5391 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.102e-05/0.3923, allocations: 37.7 kB / 0.5894 GB, free: 0.4961 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.3924, allocations: 409.8 kB / 0.5898 GB, free: 92 kB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004318/0.3928, allocations: 277.8 kB / 0.5901 GB, free: 15.81 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.393, allocations: 118.6 kB / 0.5902 GB, free: 15.69 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.3931, allocations: 390.4 kB / 0.5906 GB, free: 15.3 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.3932, allocations: 92.8 kB / 0.5907 GB, free: 15.21 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.3933, allocations: 200.8 kB / 0.5909 GB, free: 14.98 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003184/0.3937, allocations: 352.7 kB / 0.5912 GB, free: 14.6 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3937, allocations: 3.938 kB / 0.5912 GB, free: 14.59 MB / 0.573 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0004049/0.3941, allocations: 395.8 kB / 0.5916 GB, free: 14.2 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.3941, allocations: 8 kB / 0.5916 GB, free: 14.19 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.3941, allocations: 6.125 kB / 0.5916 GB, free: 14.19 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.3941, allocations: 4.344 kB / 0.5916 GB, free: 14.18 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004345/0.3945, allocations: 179.8 kB / 0.5918 GB, free: 14.01 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.3946, allocations: 15.92 kB / 0.5918 GB, free: 13.99 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002735/0.3948, allocations: 63.45 kB / 0.5918 GB, free: 13.93 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.875e-05/0.3949, allocations: 20 kB / 0.5919 GB, free: 13.91 MB / 0.573 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.0001626/0.395, allocations: 147.7 kB / 0.592 GB, free: 13.76 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.052e-05/0.3951, allocations: 79.92 kB / 0.5921 GB, free: 13.68 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/0.3952, allocations: 99.23 kB / 0.5922 GB, free: 13.58 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.3952, allocations: 12 kB / 0.5922 GB, free: 13.57 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3952, allocations: 0 / 0.5922 GB, free: 13.57 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003784/0.3956, allocations: 0.5853 MB / 0.5928 GB, free: 12.9 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.3966, allocations: 1.007 MB / 0.5937 GB, free: 11.86 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3966, allocations: 0 / 0.5937 GB, free: 11.86 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005933/0.3972, allocations: 234.6 kB / 0.594 GB, free: 11.63 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001717/0.3974, allocations: 127.2 kB / 0.5941 GB, free: 11.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.3974, allocations: 4 kB / 0.5941 GB, free: 11.5 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.003e-05/0.3974, allocations: 12 kB / 0.5941 GB, free: 11.49 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/0.3975, allocations: 4.5 kB / 0.5941 GB, free: 11.48 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3975, allocations: 0 / 0.5941 GB, free: 11.48 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005798/0.398, allocations: 0.604 MB / 0.5947 GB, free: 10.86 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.474e-05/0.3981, allocations: 22.19 kB / 0.5947 GB, free: 10.84 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000238/0.3983, allocations: 22.42 kB / 0.5947 GB, free: 10.82 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.265e-05/0.3984, allocations: 48.56 kB / 0.5948 GB, free: 10.77 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.792e-05/0.3984, allocations: 12 kB / 0.5948 GB, free: 10.76 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.000136/0.3986, allocations: 204.4 kB / 0.595 GB, free: 10.56 MB / 0.573 GB Notification: Performance of sort global known variables: time 7e-08/0.3986, allocations: 0 / 0.595 GB, free: 10.56 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0005309/0.3991, allocations: 375.2 kB / 0.5953 GB, free: 10.2 MB / 0.573 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.0001671/0.3993, allocations: 108.3 kB / 0.5954 GB, free: 10.08 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0003699/0.3996, allocations: 328.2 kB / 0.5958 GB, free: 9.754 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.242e-05/0.3996, allocations: 22.55 kB / 0.5958 GB, free: 9.73 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.3998, allocations: 185.8 kB / 0.596 GB, free: 9.551 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.401, allocations: 0.6454 MB / 0.5966 GB, free: 8.961 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005028/0.4061, allocations: 1.797 MB / 0.5983 GB, free: 7.137 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000168/0.4062, allocations: 261.4 kB / 0.5986 GB, free: 6.859 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0004673/0.4067, allocations: 143.8 kB / 0.5987 GB, free: 6.727 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006618/0.4073, allocations: 375 kB / 0.5991 GB, free: 6.355 MB / 0.573 GB Notification: Performance of SimCode: time 1.052e-06/0.4074, allocations: 0 / 0.5991 GB, free: 6.355 MB / 0.573 GB Notification: Performance of Templates: time 0.02427/0.4316, allocations: 20.61 MB / 0.6192 GB, free: 2.324 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.096980431117117]