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.00126/0.00126, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001154/0.001154, allocations: 173 kB / 23.49 MB, free: 1.059 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 0.9576/0.9576, allocations: 177.1 MB / 203.8 MB, free: 5.625 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.001826/0.001826, allocations: 230.8 kB / 260.5 MB, free: 12.88 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.7114/0.7114, allocations: 138.4 MB / 455.4 MB, free: 1.535 MB / 362.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: 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.443e-06/1.443e-06, allocations: 0 / 0.555 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.199e-05/2.343e-05, allocations: 4.844 kB / 0.555 GB, free: 0.8945 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.3529/0.3529, allocations: 201.8 MB / 0.7521 GB, free: 3.141 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.007774/0.3607, allocations: 6.517 MB / 0.7584 GB, free: 12.61 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009144/0.3616, allocations: 47.62 kB / 0.7585 GB, free: 12.56 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001623/0.3632, allocations: 0.6912 MB / 0.7592 GB, free: 11.87 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.004357/0.3676, allocations: 2.876 MB / 0.762 GB, free: 8.977 MB / 0.573 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.001157/0.3687, allocations: 0.7339 MB / 0.7627 GB, free: 8.242 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.002956/0.3717, allocations: 3.388 MB / 0.766 GB, free: 4.84 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008814/0.3725, allocations: 0.854 MB / 0.7668 GB, free: 3.973 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001755/0.3743, allocations: 1.706 MB / 0.7685 GB, free: 2.262 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00134/0.3756, allocations: 1.076 MB / 0.7695 GB, free: 1.203 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.3758, allocations: 132 kB / 0.7697 GB, free: 1.074 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002659/0.3784, allocations: 1.951 MB / 0.7716 GB, free: 15.12 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0004092/0.3788, allocations: 0.5688 MB / 0.7721 GB, free: 14.55 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0004924/0.3793, allocations: 0.538 MB / 0.7727 GB, free: 14.01 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.002907/0.3822, allocations: 2.169 MB / 0.7748 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3822, allocations: 0 / 0.7748 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3822, allocations: 4 kB / 0.7748 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.3823, allocations: 0 / 0.7748 GB, free: 11.83 MB / 0.5886 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.002491/0.3847, allocations: 1.841 MB / 0.7766 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.3848, allocations: 20.73 kB / 0.7766 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00141/0.3862, allocations: 462.5 kB / 0.777 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009133/0.3871, allocations: 0.8053 MB / 0.7778 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.423e-05/0.3872, allocations: 78.02 kB / 0.7779 GB, free: 8.551 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.3873, allocations: 111.9 kB / 0.778 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009832/0.3883, allocations: 0.8575 MB / 0.7788 GB, free: 7.5 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.3883, allocations: 4 kB / 0.7788 GB, free: 7.496 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.233e-05/0.3883, allocations: 43.98 kB / 0.7789 GB, free: 7.453 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.586e-05/0.3884, allocations: 62.06 kB / 0.7789 GB, free: 7.391 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000814/0.3892, allocations: 0.4923 MB / 0.7794 GB, free: 6.887 MB / 0.5886 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.003184/0.3924, allocations: 2.594 MB / 0.782 GB, free: 4.246 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006908/0.3931, allocations: 0.4965 MB / 0.7824 GB, free: 3.742 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003406/0.3934, allocations: 244.5 kB / 0.7827 GB, free: 3.504 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.874e-05/0.3935, allocations: 16.66 kB / 0.7827 GB, free: 3.484 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005656/0.394, allocations: 0.4925 MB / 0.7832 GB, free: 2.93 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=76): time 2.936e-06/0.394, allocations: 0 / 0.7832 GB, free: 2.93 MB / 0.5886 GB Notification: Performance of matching and sorting (n=76): time 0.0009857/0.395, allocations: 0.638 MB / 0.7838 GB, free: 2.285 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.3951, allocations: 60.06 kB / 0.7839 GB, free: 2.215 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003908/0.3954, allocations: 0.5182 MB / 0.7844 GB, free: 1.68 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.234e-05/0.3955, allocations: 41.7 kB / 0.7844 GB, free: 1.633 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002323/0.3957, allocations: 0.5149 MB / 0.7849 GB, free: 1.109 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001609/0.3959, allocations: 289.7 kB / 0.7852 GB, free: 0.8242 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.396, allocations: 144.2 kB / 0.7853 GB, free: 0.6758 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.3962, allocations: 0.5586 MB / 0.7859 GB, free: 108 kB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000213/0.3964, allocations: 130 kB / 0.786 GB, free: 15.97 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002752/0.3967, allocations: 286.7 kB / 0.7863 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007597/0.3974, allocations: 457.1 kB / 0.7867 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3974, allocations: 0 / 0.7867 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0006803/0.3981, allocations: 0.567 MB / 0.7873 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.3981, allocations: 8 kB / 0.7873 GB, free: 14.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.3981, allocations: 4 kB / 0.7873 GB, free: 14.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.3981, allocations: 7.438 kB / 0.7873 GB, free: 14.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003705/0.3985, allocations: 152.2 kB / 0.7874 GB, free: 14.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.3985, allocations: 11.94 kB / 0.7874 GB, free: 14.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003252/0.3988, allocations: 63.55 kB / 0.7875 GB, free: 14.33 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.132e-05/0.3989, allocations: 24 kB / 0.7875 GB, free: 14.31 MB / 0.6042 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.000186/0.3991, allocations: 192.5 kB / 0.7877 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.3992, allocations: 103.5 kB / 0.7878 GB, free: 14.01 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/0.3993, allocations: 99.23 kB / 0.7879 GB, free: 13.91 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.3993, allocations: 8 kB / 0.7879 GB, free: 13.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3993, allocations: 0 / 0.7879 GB, free: 13.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006008/0.3999, allocations: 0.7337 MB / 0.7886 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0016/0.4015, allocations: 1.506 MB / 0.7901 GB, free: 11.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.4015, allocations: 3.938 kB / 0.7901 GB, free: 11.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004519/0.402, allocations: 171.8 kB / 0.7902 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.402, allocations: 3.938 kB / 0.7903 GB, free: 11.35 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.701e-05/0.402, allocations: 23.94 kB / 0.7903 GB, free: 11.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.402, allocations: 4 kB / 0.7903 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.402, allocations: 0 / 0.7903 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008892/0.4029, allocations: 0.8319 MB / 0.7911 GB, free: 10.47 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000214/0.4031, allocations: 163.3 kB / 0.7912 GB, free: 10.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.721e-05/0.4032, allocations: 19.94 kB / 0.7913 GB, free: 10.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002792/0.4034, allocations: 16 kB / 0.7913 GB, free: 10.27 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.404e-05/0.4035, allocations: 48.56 kB / 0.7913 GB, free: 10.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-05/0.4036, allocations: 27.92 kB / 0.7914 GB, free: 10.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002507/0.4038, allocations: 342.8 kB / 0.7917 GB, free: 9.867 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4038, allocations: 0 / 0.7917 GB, free: 9.867 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006085/0.4044, allocations: 383.2 kB / 0.792 GB, free: 9.492 MB / 0.6042 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.00022/0.4046, allocations: 178.3 kB / 0.7922 GB, free: 9.309 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005761/0.4052, allocations: 435.1 kB / 0.7926 GB, free: 8.879 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.4052, allocations: 4 kB / 0.7926 GB, free: 8.875 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002562/0.4055, allocations: 244.6 kB / 0.7929 GB, free: 8.637 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/0.4068, allocations: 0.5386 MB / 0.7934 GB, free: 8.16 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00243/0.4092, allocations: 1.798 MB / 0.7952 GB, free: 6.328 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001697/0.4094, allocations: 257.4 kB / 0.7954 GB, free: 6.055 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005281/0.4099, allocations: 221.9 kB / 0.7956 GB, free: 5.836 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001613/0.4101, allocations: 72.5 kB / 0.7957 GB, free: 5.762 MB / 0.6042 GB Notification: Performance of SimCode: time 1.072e-06/0.4101, allocations: 0 / 0.7957 GB, free: 5.762 MB / 0.6042 GB Notification: Performance of Templates: time 0.02053/0.4306, allocations: 18.42 MB / 0.8137 GB, free: 3.793 MB / 0.6198 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.244705797173083]