Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation") translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001803/0.001803, allocations: 191.3 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.486/1.486, allocations: 205.1 MB / 222 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.674/1.674, allocations: 292.2 MB / 0.5484 GB, free: 13.69 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 61.03 kB / 0.6708 GB, free: 26.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2777, allocations: 114.5 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.6504/0.9282, allocations: 199.7 MB / 0.9777 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009321/0.9375, allocations: 7.424 MB / 0.9849 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001645/0.9392, allocations: 34.22 kB / 0.985 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001675/0.9409, allocations: 0.6038 MB / 0.9856 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005848/0.9468, allocations: 2.218 MB / 0.9877 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003346/0.9501, allocations: 1.152 MB / 0.9888 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005115/0.9553, allocations: 4.136 MB / 0.9929 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/0.9565, allocations: 0.8168 MB / 0.9937 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001949/0.9585, allocations: 0.8748 MB / 0.9945 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002319/0.9608, allocations: 1 MB / 0.9955 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002044/0.961, allocations: 57.81 kB / 0.9956 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004881/0.9659, allocations: 2.483 MB / 0.998 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006163/0.9666, allocations: 407.2 kB / 0.9984 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001024/0.9676, allocations: 0.609 MB / 0.999 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004141/0.9718, allocations: 2.502 MB / 1.001 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.9718, allocations: 0 / 1.001 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.82e-07/0.9718, allocations: 4 kB / 1.001 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.652e-05/0.9718, allocations: 0 / 1.001 GB, free: 2.402 MB / 0.7325 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.003135/0.975, allocations: 1.615 MB / 1.003 GB, free: 17.39 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.975, allocations: 11.38 kB / 1.003 GB, free: 17.39 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002474/0.9775, allocations: 374.4 kB / 1.003 GB, free: 17.3 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/0.9787, allocations: 0.8052 MB / 1.004 GB, free: 16.82 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.963e-05/0.9788, allocations: 73.88 kB / 1.004 GB, free: 16.79 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.9789, allocations: 86.28 kB / 1.004 GB, free: 16.76 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001577/0.9805, allocations: 1.038 MB / 1.005 GB, free: 16.31 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.9805, allocations: 2.531 kB / 1.005 GB, free: 16.31 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-05/0.9806, allocations: 32.59 kB / 1.005 GB, free: 16.29 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-05/0.9806, allocations: 47.41 kB / 1.005 GB, free: 16.28 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001421/0.9821, allocations: 0.8754 MB / 1.006 GB, free: 15.99 MB / 0.7481 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.004827/0.9869, allocations: 4.273 MB / 1.01 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.9879, allocations: 0.6983 MB / 1.011 GB, free: 12 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000686/0.9886, allocations: 455 kB / 1.012 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006169/0.9893, allocations: 0.6763 MB / 1.012 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.216e-05/0.9893, allocations: 40.38 kB / 1.012 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=70): time 2.164e-06/0.9893, allocations: 0 / 1.012 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of matching and sorting (n=70): time 0.001887/0.9912, allocations: 0.9856 MB / 1.013 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.9913, allocations: 63.5 kB / 1.013 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007624/0.992, allocations: 0.6304 MB / 1.014 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.184e-05/0.9921, allocations: 43.77 kB / 1.014 GB, free: 9.988 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002917/0.9924, allocations: 424.9 kB / 1.014 GB, free: 9.617 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002376/0.9927, allocations: 252.8 kB / 1.015 GB, free: 9.402 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002003/0.9929, allocations: 116.5 kB / 1.015 GB, free: 9.332 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.993, allocations: 391.7 kB / 1.015 GB, free: 8.961 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004126/0.9935, allocations: 272.3 kB / 1.015 GB, free: 8.828 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004855/0.994, allocations: 370.7 kB / 1.016 GB, free: 8.59 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009262/0.9949, allocations: 0.6591 MB / 1.016 GB, free: 8.223 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.9949, allocations: 0 / 1.016 GB, free: 8.223 MB / 0.7481 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001221/0.9961, allocations: 0.7868 MB / 1.017 GB, free: 7.828 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.9962, allocations: 11.72 kB / 1.017 GB, free: 7.824 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.525e-06/0.9962, allocations: 1.812 kB / 1.017 GB, free: 7.824 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.9962, allocations: 6.281 kB / 1.017 GB, free: 7.824 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006636/0.9969, allocations: 149.8 kB / 1.017 GB, free: 7.797 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.9969, allocations: 2.125 kB / 1.017 GB, free: 7.797 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009401/0.9978, allocations: 97.94 kB / 1.017 GB, free: 7.742 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.61e-05/0.9979, allocations: 32.69 kB / 1.017 GB, free: 7.727 MB / 0.7481 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.0004125/0.9983, allocations: 282 kB / 1.018 GB, free: 7.516 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.9985, allocations: 87.81 kB / 1.018 GB, free: 7.473 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/0.9998, allocations: 0.7888 MB / 1.018 GB, free: 7.016 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.864e-06/0.9998, allocations: 10.83 kB / 1.018 GB, free: 7.012 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.9998, allocations: 3.219 kB / 1.019 GB, free: 7.012 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001052/1.001, allocations: 0.8139 MB / 1.019 GB, free: 6.469 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002621/1.004, allocations: 1.836 MB / 1.021 GB, free: 5.246 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.481e-05/1.004, allocations: 7.922 kB / 1.021 GB, free: 5.238 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008086/1.004, allocations: 181.2 kB / 1.021 GB, free: 5.199 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/1.004, allocations: 2.625 kB / 1.021 GB, free: 5.199 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.864e-05/1.004, allocations: 13.94 kB / 1.021 GB, free: 5.191 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/1.004, allocations: 2.5 kB / 1.021 GB, free: 5.191 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.004, allocations: 0 / 1.021 GB, free: 5.191 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/1.006, allocations: 1.269 MB / 1.023 GB, free: 4.473 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004086/1.007, allocations: 246.7 kB / 1.023 GB, free: 4.262 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/1.007, allocations: 17.33 kB / 1.023 GB, free: 4.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007342/1.008, allocations: 74.83 kB / 1.023 GB, free: 4.215 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/1.008, allocations: 45.42 kB / 1.023 GB, free: 4.191 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.404e-05/1.008, allocations: 17.59 kB / 1.023 GB, free: 4.188 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004817/1.008, allocations: 454.2 kB / 1.023 GB, free: 3.926 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/1.008, allocations: 4 kB / 1.023 GB, free: 3.922 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008365/1.009, allocations: 336.6 kB / 1.024 GB, free: 3.855 MB / 0.7481 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.0002909/1.009, allocations: 192.6 kB / 1.024 GB, free: 3.73 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001022/1.01, allocations: 0.68 MB / 1.025 GB, free: 3.43 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.01, allocations: 0 / 1.025 GB, free: 3.43 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004865/1.011, allocations: 371.3 kB / 1.025 GB, free: 3.277 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002164/1.013, allocations: 0.5191 MB / 1.025 GB, free: 3.023 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003325/1.016, allocations: 2.545 MB / 1.028 GB, free: 1.25 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005896/1.017, allocations: 1.085 MB / 1.029 GB, free: 376 kB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0008819/1.018, allocations: 225.9 kB / 1.029 GB, free: 268 kB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002115/1.018, allocations: 76.61 kB / 1.029 GB, free: 252 kB / 0.7481 GB Notification: Performance of SimCode: time 9.42e-07/1.018, allocations: 0 / 1.029 GB, free: 252 kB / 0.7481 GB Notification: Performance of Templates: time 0.02863/1.047, allocations: 17.5 MB / 1.046 GB, free: 2.445 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & ./Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)