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/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation") translateModel(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7896/0.7896, allocations: 143.4 MB / 159.2 MB, free: 4.859 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 183.1 kB / 191.9 MB, free: 5.723 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.697/1.697, allocations: 222.9 MB / 447.3 MB, free: 5.832 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 95.72 kB / 0.517 GB, free: 3.715 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00191/0.00191, allocations: 288.6 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 84.25 kB / 0.6885 GB, free: 3.859 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4231/0.4247, allocations: 81.29 MB / 0.7679 GB, free: 27.68 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.6127/1.038, allocations: 199.7 MB / 0.9629 GB, free: 15.8 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.01062/1.048, allocations: 7.448 MB / 0.9702 GB, free: 15.59 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002096/1.05, allocations: 31.38 kB / 0.9702 GB, free: 15.59 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001997/1.052, allocations: 0.6069 MB / 0.9708 GB, free: 15.57 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.007065/1.059, allocations: 2.218 MB / 0.973 GB, free: 15.32 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.004122/1.064, allocations: 1.151 MB / 0.9741 GB, free: 14.91 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.006231/1.07, allocations: 4.15 MB / 0.9782 GB, free: 13.7 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001855/1.072, allocations: 0.8036 MB / 0.9789 GB, free: 13.23 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002486/1.074, allocations: 0.9006 MB / 0.9798 GB, free: 12.8 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003172/1.077, allocations: 0.9984 MB / 0.9808 GB, free: 12.33 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0004081/1.078, allocations: 63.12 kB / 0.9809 GB, free: 12.33 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006291/1.084, allocations: 2.489 MB / 0.9833 GB, free: 11.18 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.000931/1.085, allocations: 406.1 kB / 0.9837 GB, free: 10.93 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.001804/1.087, allocations: 0.6022 MB / 0.9843 GB, free: 10.57 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.006192/1.093, allocations: 2.503 MB / 0.9867 GB, free: 9.145 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/1.093, allocations: 0 / 0.9867 GB, free: 9.145 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.593e-06/1.093, allocations: 0 / 0.9867 GB, free: 9.145 MB / 0.573 GB Notification: Performance of Transformations before backend: time 8.01e-05/1.093, allocations: 2.812 kB / 0.9867 GB, free: 9.145 MB / 0.573 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.004799/1.098, allocations: 1.621 MB / 0.9883 GB, free: 7.945 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/1.098, allocations: 8.25 kB / 0.9883 GB, free: 7.945 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002875/1.101, allocations: 377 kB / 0.9887 GB, free: 7.777 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001821/1.103, allocations: 0.8026 MB / 0.9894 GB, free: 7.152 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.814e-05/1.103, allocations: 72.42 kB / 0.9895 GB, free: 7.117 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000236/1.103, allocations: 83.38 kB / 0.9896 GB, free: 7.09 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002274/1.106, allocations: 1.039 MB / 0.9906 GB, free: 6.453 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.434e-05/1.106, allocations: 10.28 kB / 0.9906 GB, free: 6.445 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-05/1.106, allocations: 31.44 kB / 0.9906 GB, free: 6.422 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.894e-05/1.106, allocations: 48.05 kB / 0.9907 GB, free: 6.41 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00149/1.107, allocations: 0.8748 MB / 0.9915 GB, free: 5.98 MB / 0.573 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.005427/1.113, allocations: 4.268 MB / 0.9957 GB, free: 2.195 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/1.114, allocations: 0.7046 MB / 0.9964 GB, free: 1.824 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007866/1.115, allocations: 455.8 kB / 0.9968 GB, free: 1.605 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006662/1.115, allocations: 0.6692 MB / 0.9975 GB, free: 0.8359 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.228e-05/1.115, allocations: 47.42 kB / 0.9975 GB, free: 0.7852 MB / 0.573 GB Notification: Performance of pre-optimization done (n=70): time 3.086e-06/1.115, allocations: 0 / 0.9975 GB, free: 0.7852 MB / 0.573 GB Notification: Performance of matching and sorting (n=70): time 0.002023/1.117, allocations: 0.9826 MB / 0.9985 GB, free: 15.85 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/1.118, allocations: 59.95 kB / 0.9985 GB, free: 15.78 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008918/1.118, allocations: 0.641 MB / 0.9992 GB, free: 15.13 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.054e-05/1.119, allocations: 37.7 kB / 0.9992 GB, free: 15.09 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003796/1.119, allocations: 426.3 kB / 0.9996 GB, free: 14.67 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002798/1.119, allocations: 249.9 kB / 0.9999 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002102/1.119, allocations: 114.3 kB / 1 GB, free: 14.31 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001907/1.12, allocations: 394.7 kB / 1 GB, free: 13.91 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004737/1.12, allocations: 273.2 kB / 1.001 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005544/1.121, allocations: 366.8 kB / 1.001 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/1.122, allocations: 0.6626 MB / 1.002 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/1.122, allocations: 0 / 1.002 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001371/1.123, allocations: 0.793 MB / 1.002 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/1.123, allocations: 4 kB / 1.002 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/1.123, allocations: 192 / 1.002 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/1.123, allocations: 12 kB / 1.002 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006636/1.124, allocations: 143.8 kB / 1.003 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/1.124, allocations: 7.938 kB / 1.003 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/1.125, allocations: 101.2 kB / 1.003 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-05/1.125, allocations: 23.94 kB / 1.003 GB, free: 11.5 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.0004747/1.125, allocations: 294.1 kB / 1.003 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002135/1.126, allocations: 79.06 kB / 1.003 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001455/1.127, allocations: 0.7841 MB / 1.004 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/1.127, allocations: 12 kB / 1.004 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/1.127, allocations: 3.984 kB / 1.004 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001114/1.128, allocations: 0.8152 MB / 1.005 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003453/1.132, allocations: 1.842 MB / 1.006 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/1.132, allocations: 3.938 kB / 1.006 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008875/1.133, allocations: 171.8 kB / 1.007 GB, free: 7.391 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.431e-05/1.133, allocations: 0 / 1.007 GB, free: 7.391 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-05/1.133, allocations: 20 kB / 1.007 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/1.133, allocations: 3.938 kB / 1.007 GB, free: 7.367 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/1.133, allocations: 3.984 kB / 1.007 GB, free: 7.363 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01484/1.148, allocations: 6.976 MB / 1.013 GB, free: 220 kB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006513/1.148, allocations: 243.6 kB / 1.014 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002126/1.149, allocations: 16 kB / 1.014 GB, free: 15.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009063/1.15, allocations: 72.8 kB / 1.014 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/1.15, allocations: 48.48 kB / 1.014 GB, free: 15.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.771e-05/1.15, allocations: 24 kB / 1.014 GB, free: 15.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006711/1.15, allocations: 447 kB / 1.014 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/1.151, allocations: 4 kB / 1.014 GB, free: 15.37 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001964/1.152, allocations: 0.5148 MB / 1.015 GB, free: 14.86 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.U,volA.dynBal.m,volA.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1]) * 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.0005138/1.153, allocations: 224.1 kB / 1.015 GB, free: 14.64 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001295/1.154, allocations: 0.6757 MB / 1.016 GB, free: 13.96 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/1.154, allocations: 0 / 1.016 GB, free: 13.96 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005721/1.155, allocations: 367 kB / 1.016 GB, free: 13.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002711/1.158, allocations: 0.5284 MB / 1.016 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004606/1.162, allocations: 2.973 MB / 1.019 GB, free: 10.07 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009882/1.163, allocations: 1.109 MB / 1.02 GB, free: 8.934 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001251/1.165, allocations: 247.1 kB / 1.021 GB, free: 8.688 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000389/1.165, allocations: 75.42 kB / 1.021 GB, free: 8.613 MB / 0.6042 GB Notification: Performance of SimCode: time 8.42e-07/1.165, allocations: 0 / 1.021 GB, free: 8.613 MB / 0.6042 GB Notification: Performance of Templates: time 0.03625/1.201, allocations: 20.89 MB / 1.041 GB, free: 3.965 MB / 0.6198 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.makefile (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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)