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.001086/0.001086, allocations: 113 kB / 16.36 MB, free: 6.012 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.001105/0.001105, allocations: 193.2 kB / 17.3 MB, free: 5.609 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.286/1.286, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.812/1.812, allocations: 292.3 MB / 0.5496 GB, free: 17.48 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.001437/0.001437, allocations: 71.89 kB / 0.6729 GB, free: 5.887 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2013/0.2028, allocations: 114.6 MB / 0.7848 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.545/0.7478, allocations: 201.9 MB / 0.982 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01012/0.7579, allocations: 7.322 MB / 0.9891 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001022/0.759, allocations: 35.81 kB / 0.9891 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001642/0.7607, allocations: 0.6953 MB / 0.9898 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.006042/0.7667, allocations: 2.357 MB / 0.9921 GB, free: 5.656 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003325/0.7701, allocations: 1.267 MB / 0.9934 GB, free: 4.391 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004823/0.7749, allocations: 2.898 MB / 0.9962 GB, free: 1.484 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001318/0.7762, allocations: 0.9495 MB / 0.9971 GB, free: 0.5195 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001969/0.7782, allocations: 1.008 MB / 0.9981 GB, free: 15.51 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001936/0.7802, allocations: 0.9656 MB / 0.999 GB, free: 14.55 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002324/0.7804, allocations: 112 kB / 0.9992 GB, free: 14.44 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004378/0.7848, allocations: 2.124 MB / 1.001 GB, free: 12.31 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0005455/0.7854, allocations: 450.7 kB / 1.002 GB, free: 11.87 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0008542/0.7862, allocations: 0.6651 MB / 1.002 GB, free: 11.2 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.003957/0.7902, allocations: 2.404 MB / 1.005 GB, free: 8.789 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.7902, allocations: 4.5 kB / 1.005 GB, free: 8.785 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.823e-06/0.7902, allocations: 0 / 1.005 GB, free: 8.785 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.443e-05/0.7903, allocations: 0 / 1.005 GB, free: 8.785 MB / 0.795 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.003465/0.7937, allocations: 1.615 MB / 1.006 GB, free: 7.117 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.7938, allocations: 8.031 kB / 1.006 GB, free: 7.109 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002627/0.7964, allocations: 370.3 kB / 1.007 GB, free: 6.746 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001417/0.7979, allocations: 0.809 MB / 1.007 GB, free: 5.895 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.087e-05/0.7979, allocations: 69.88 kB / 1.007 GB, free: 5.828 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001785/0.7981, allocations: 91.98 kB / 1.008 GB, free: 5.738 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/0.7998, allocations: 1.04 MB / 1.009 GB, free: 4.664 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/0.7999, allocations: 4 kB / 1.009 GB, free: 4.66 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.666e-05/0.8, allocations: 35.98 kB / 1.009 GB, free: 4.625 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.584e-05/0.8, allocations: 46.64 kB / 1.009 GB, free: 4.582 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001578/0.8016, allocations: 0.8744 MB / 1.009 GB, free: 3.707 MB / 0.795 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.004773/0.8064, allocations: 4.282 MB / 1.014 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.8075, allocations: 0.7057 MB / 1.014 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007455/0.8083, allocations: 455 kB / 1.015 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006113/0.8089, allocations: 0.6693 MB / 1.015 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.8089, allocations: 47.11 kB / 1.015 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=70): time 4.449e-06/0.8089, allocations: 5.219 kB / 1.016 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70): time 0.001908/0.8109, allocations: 0.9898 MB / 1.016 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.8109, allocations: 63.97 kB / 1.017 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007265/0.8116, allocations: 0.6254 MB / 1.017 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.663e-05/0.8117, allocations: 37.7 kB / 1.017 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002735/0.812, allocations: 428.1 kB / 1.018 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002003/0.8122, allocations: 252.3 kB / 1.018 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/0.8124, allocations: 118.2 kB / 1.018 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.8125, allocations: 390.7 kB / 1.018 GB, free: 10.1 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004508/0.813, allocations: 277.2 kB / 1.019 GB, free: 9.832 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005181/0.8135, allocations: 366.8 kB / 1.019 GB, free: 9.445 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009885/0.8145, allocations: 0.6626 MB / 1.02 GB, free: 8.762 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.8145, allocations: 5.156 kB / 1.02 GB, free: 8.758 MB / 0.8106 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001255/0.8158, allocations: 0.7814 MB / 1.02 GB, free: 7.969 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.8158, allocations: 8 kB / 1.02 GB, free: 7.961 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.8158, allocations: 0 / 1.02 GB, free: 7.961 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.8159, allocations: 4 kB / 1.02 GB, free: 7.957 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006659/0.8165, allocations: 139.8 kB / 1.02 GB, free: 7.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.8166, allocations: 12.12 kB / 1.02 GB, free: 7.809 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008563/0.8174, allocations: 65.56 kB / 1.021 GB, free: 7.746 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.431e-05/0.8175, allocations: 20 kB / 1.021 GB, free: 7.727 MB / 0.8106 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.0005128/0.818, allocations: 289.6 kB / 1.021 GB, free: 7.434 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001915/0.8182, allocations: 79.06 kB / 1.021 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001537/0.8198, allocations: 0.7841 MB / 1.022 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.8198, allocations: 15.92 kB / 1.022 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.8198, allocations: 3.938 kB / 1.022 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001164/0.821, allocations: 0.8074 MB / 1.023 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002913/0.8239, allocations: 1.849 MB / 1.024 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.8239, allocations: 5.5 kB / 1.024 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008395/0.8248, allocations: 171.8 kB / 1.024 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.8248, allocations: 0 / 1.024 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.294e-05/0.8248, allocations: 20 kB / 1.024 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.663e-06/0.8248, allocations: 5.781 kB / 1.025 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.8248, allocations: 0 / 1.025 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001838/0.8267, allocations: 1.277 MB / 1.026 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004396/0.8271, allocations: 243.9 kB / 1.026 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.8273, allocations: 12 kB / 1.026 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006513/0.8279, allocations: 22.11 kB / 1.026 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.8281, allocations: 48.5 kB / 1.026 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.86e-05/0.8281, allocations: 19.98 kB / 1.026 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0005105/0.8286, allocations: 451 kB / 1.027 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8286, allocations: 0 / 1.027 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0008197/0.8295, allocations: 339.1 kB / 1.027 GB, free: 1.16 MB / 0.8106 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.0003223/0.8298, allocations: 196.5 kB / 1.027 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001162/0.831, allocations: 0.6796 MB / 1.028 GB, free: 296 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.831, allocations: 384 / 1.028 GB, free: 296 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005476/0.8315, allocations: 371 kB / 1.028 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002208/0.8338, allocations: 0.5458 MB / 1.029 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003376/0.8371, allocations: 2.119 MB / 1.031 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006767/0.8378, allocations: 1.085 MB / 1.032 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0007864/0.8386, allocations: 221.2 kB / 1.032 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002257/0.8389, allocations: 75.42 kB / 1.032 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of SimCode: time 1.933e-06/0.8389, allocations: 0 / 1.032 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of Templates: time 0.02907/0.868, allocations: 18.35 MB / 1.05 GB, free: 9.918 MB / 0.8419 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)