Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.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.001008/0.001008, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001023/0.001023, 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.9419/0.9419, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.002535/0.002535, allocations: 225.3 kB / 260.5 MB, free: 12.89 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.6979/0.6979, allocations: 138.4 MB / 455.4 MB, free: 1.539 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.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation") translateModel(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.555 GB, free: 0.8906 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.432e-05/2.604e-05, allocations: 6.109 kB / 0.555 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.3616/0.3617, allocations: 199.4 MB / 0.7498 GB, free: 5.543 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.007585/0.3693, allocations: 7.548 MB / 0.7571 GB, free: 13.98 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004451/0.3697, allocations: 47.62 kB / 0.7572 GB, free: 13.93 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001147/0.3708, allocations: 0.6678 MB / 0.7578 GB, free: 13.26 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.003594/0.3744, allocations: 2.577 MB / 0.7603 GB, free: 10.67 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001659/0.3761, allocations: 1.296 MB / 0.7616 GB, free: 9.367 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.002008/0.3781, allocations: 3.023 MB / 0.7646 GB, free: 6.34 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008819/0.379, allocations: 0.7369 MB / 0.7653 GB, free: 5.582 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001069/0.3801, allocations: 1.418 MB / 0.7667 GB, free: 4.16 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001022/0.3811, allocations: 0.9236 MB / 0.7676 GB, free: 3.25 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.3812, allocations: 116 kB / 0.7677 GB, free: 3.137 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001826/0.383, allocations: 1.783 MB / 0.7694 GB, free: 1.348 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003003/0.3833, allocations: 0.4908 MB / 0.7699 GB, free: 0.8555 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003502/0.3837, allocations: 483 kB / 0.7704 GB, free: 392 kB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001568/0.3852, allocations: 1.873 MB / 0.7722 GB, free: 14.5 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3852, allocations: 0 / 0.7722 GB, free: 14.5 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3852, allocations: 4 kB / 0.7722 GB, free: 14.5 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.3852, allocations: 0 / 0.7722 GB, free: 14.5 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.001915/0.3872, allocations: 1.673 MB / 0.7738 GB, free: 12.78 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.3872, allocations: 12.73 kB / 0.7738 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001474/0.3887, allocations: 486.4 kB / 0.7743 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009062/0.3896, allocations: 0.7943 MB / 0.7751 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.656e-05/0.3896, allocations: 62 kB / 0.7751 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.3897, allocations: 95.89 kB / 0.7752 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.3908, allocations: 0.9283 MB / 0.7761 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.3908, allocations: 0 / 0.7761 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.657e-05/0.3909, allocations: 36 kB / 0.7762 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.271e-05/0.3909, allocations: 41.98 kB / 0.7762 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006386/0.3916, allocations: 415.6 kB / 0.7766 GB, free: 9.805 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.002665/0.3942, allocations: 2.99 MB / 0.7795 GB, free: 6.734 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006088/0.3948, allocations: 440.7 kB / 0.7799 GB, free: 6.293 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003817/0.3952, allocations: 273.7 kB / 0.7802 GB, free: 6.027 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002209/0.3954, allocations: 85.59 kB / 0.7803 GB, free: 5.945 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.3955, allocations: 50.8 kB / 0.7803 GB, free: 5.883 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=70): time 1.823e-06/0.3955, allocations: 0 / 0.7803 GB, free: 5.883 MB / 0.5886 GB Notification: Performance of matching and sorting (n=70): time 0.0009155/0.3964, allocations: 0.595 MB / 0.7809 GB, free: 5.285 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.3964, allocations: 64.06 kB / 0.781 GB, free: 5.211 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004584/0.3969, allocations: 0.5855 MB / 0.7815 GB, free: 4.613 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.142e-05/0.3969, allocations: 37.7 kB / 0.7816 GB, free: 4.57 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002312/0.3971, allocations: 499.4 kB / 0.7821 GB, free: 4.074 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/0.3973, allocations: 265.7 kB / 0.7823 GB, free: 3.812 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/0.3974, allocations: 120 kB / 0.7824 GB, free: 3.684 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.3976, allocations: 0.5664 MB / 0.783 GB, free: 3.105 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.3978, allocations: 105.2 kB / 0.7831 GB, free: 3.004 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002376/0.398, allocations: 224.9 kB / 0.7833 GB, free: 2.754 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004515/0.3985, allocations: 370.8 kB / 0.7837 GB, free: 2.367 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.3985, allocations: 7.938 kB / 0.7837 GB, free: 2.359 MB / 0.5886 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0006203/0.3991, allocations: 0.5123 MB / 0.7842 GB, free: 1.84 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.3991, allocations: 12.19 kB / 0.7842 GB, free: 1.828 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.3991, allocations: 3.188 kB / 0.7842 GB, free: 1.828 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.3991, allocations: 4 kB / 0.7842 GB, free: 1.824 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003408/0.3995, allocations: 143.8 kB / 0.7843 GB, free: 1.684 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.3995, allocations: 8 kB / 0.7843 GB, free: 1.676 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002984/0.3998, allocations: 35.73 kB / 0.7844 GB, free: 1.641 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.3998, allocations: 28 kB / 0.7844 GB, free: 1.613 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * 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.0001731/0.4, allocations: 196.3 kB / 0.7846 GB, free: 1.41 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.4001, allocations: 111.4 kB / 0.7847 GB, free: 1.301 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006552/0.4007, allocations: 0.5185 MB / 0.7852 GB, free: 0.7695 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.4007, allocations: 8 kB / 0.7852 GB, free: 0.7617 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.4008, allocations: 0 / 0.7852 GB, free: 0.7617 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005008/0.4013, allocations: 0.5325 MB / 0.7857 GB, free: 184 kB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001604/0.4029, allocations: 1.281 MB / 0.787 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.4029, allocations: 0 / 0.787 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004236/0.4033, allocations: 163.8 kB / 0.7871 GB, free: 14.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.4033, allocations: 3.984 kB / 0.7871 GB, free: 14.69 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.649e-05/0.4033, allocations: 23.98 kB / 0.7871 GB, free: 14.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.4033, allocations: 0 / 0.7871 GB, free: 14.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4033, allocations: 3.938 kB / 0.7871 GB, free: 14.66 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008197/0.4041, allocations: 0.7808 MB / 0.7879 GB, free: 13.87 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000203/0.4043, allocations: 167.3 kB / 0.7881 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.969e-05/0.4044, allocations: 16 kB / 0.7881 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002736/0.4047, allocations: 28.47 kB / 0.7881 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.171e-05/0.4048, allocations: 48.56 kB / 0.7882 GB, free: 13.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-05/0.4048, allocations: 16.75 kB / 0.7882 GB, free: 13.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002831/0.4051, allocations: 395 kB / 0.7886 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.4051, allocations: 0 / 0.7886 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004998/0.4056, allocations: 355.2 kB / 0.7889 GB, free: 12.87 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 70 * 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.0002458/0.4058, allocations: 203.2 kB / 0.7891 GB, free: 12.66 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005088/0.4063, allocations: 386.4 kB / 0.7895 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4063, allocations: 384 / 0.7895 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002443/0.4066, allocations: 240.6 kB / 0.7897 GB, free: 12.04 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.4078, allocations: 0.5157 MB / 0.7902 GB, free: 11.58 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00218/0.41, allocations: 1.818 MB / 0.792 GB, free: 9.734 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001549/0.4101, allocations: 233.2 kB / 0.7922 GB, free: 9.488 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004175/0.4105, allocations: 190.1 kB / 0.7924 GB, free: 9.305 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.4107, allocations: 72.48 kB / 0.7924 GB, free: 9.234 MB / 0.6042 GB Notification: Performance of SimCode: time 9.82e-07/0.4107, allocations: 0 / 0.7924 GB, free: 9.234 MB / 0.6042 GB Notification: Performance of Templates: time 0.02034/0.431, allocations: 18.28 MB / 0.8103 GB, free: 7.422 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.1295263569336385]