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.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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008377/0.008377, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001948/0.001948, allocations: 202.5 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002484/0.002484, allocations: 291.1 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9984/0.9984, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002691/0.002691, allocations: 102.4 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1846, allocations: 86.98 MB / 0.7659 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.5803/0.765, allocations: 202 MB / 0.9631 GB, free: 9.07 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01271/0.7777, allocations: 7.394 MB / 0.9703 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001697/0.7795, allocations: 39.81 kB / 0.9704 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002279/0.7818, allocations: 0.6875 MB / 0.971 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006327/0.7882, allocations: 2.412 MB / 0.9734 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003351/0.7916, allocations: 1.234 MB / 0.9746 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004341/0.7959, allocations: 2.916 MB / 0.9775 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001567/0.7975, allocations: 0.9485 MB / 0.9784 GB, free: 9.387 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001993/0.7995, allocations: 1.02 MB / 0.9794 GB, free: 8.363 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002129/0.8017, allocations: 0.9592 MB / 0.9803 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000268/0.8019, allocations: 108 kB / 0.9804 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004416/0.8064, allocations: 2.128 MB / 0.9825 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006583/0.8071, allocations: 446.8 kB / 0.9829 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001015/0.8081, allocations: 0.6689 MB / 0.9836 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004609/0.8127, allocations: 2.412 MB / 0.9859 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.8127, allocations: 0 / 0.9859 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8128, allocations: 0 / 0.9859 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.792e-05/0.8128, allocations: 4 kB / 0.9859 GB, free: 1.637 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.003522/0.8163, allocations: 1.661 MB / 0.9876 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.8164, allocations: 11.97 kB / 0.9876 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001885/0.8166, allocations: 135.3 kB / 0.9877 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002472/0.819, allocations: 386.9 kB / 0.9881 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/0.8207, allocations: 0.8558 MB / 0.9889 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.547e-05/0.8208, allocations: 62 kB / 0.989 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/0.8209, allocations: 91.97 kB / 0.989 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001847/0.8228, allocations: 1.038 MB / 0.9901 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.816e-05/0.8228, allocations: 0.875 kB / 0.9901 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.351e-05/0.8229, allocations: 39.98 kB / 0.9901 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.476e-05/0.823, allocations: 53.92 kB / 0.9902 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001649/0.8246, allocations: 0.8783 MB / 0.991 GB, free: 12.3 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.005595/0.8303, allocations: 4.305 MB / 0.9952 GB, free: 7.637 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/0.8316, allocations: 0.6934 MB / 0.9959 GB, free: 6.93 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008643/0.8324, allocations: 471.5 kB / 0.9963 GB, free: 6.469 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007218/0.8332, allocations: 0.6732 MB / 0.997 GB, free: 5.648 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.789e-05/0.8332, allocations: 47.86 kB / 0.997 GB, free: 5.594 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=70): time 2.725e-06/0.8332, allocations: 0 / 0.997 GB, free: 5.594 MB / 0.7481 GB Notification: Performance of matching and sorting (n=70): time 0.002077/0.8353, allocations: 0.9904 MB / 0.998 GB, free: 4.602 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.8354, allocations: 59.97 kB / 0.9981 GB, free: 4.531 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008635/0.8363, allocations: 0.6334 MB / 0.9987 GB, free: 3.895 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.581e-05/0.8364, allocations: 45.7 kB / 0.9987 GB, free: 3.844 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003644/0.8367, allocations: 440.8 kB / 0.9992 GB, free: 3.406 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000285/0.837, allocations: 265.7 kB / 0.9994 GB, free: 3.145 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002151/0.8372, allocations: 114.3 kB / 0.9995 GB, free: 3.023 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002202/0.8375, allocations: 390.7 kB / 0.9999 GB, free: 2.633 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005046/0.838, allocations: 281.2 kB / 1 GB, free: 2.359 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005608/0.8385, allocations: 357.1 kB / 1 GB, free: 1.988 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/0.8397, allocations: 0.6626 MB / 1.001 GB, free: 1.305 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.8397, allocations: 0 / 1.001 GB, free: 1.305 MB / 0.7481 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001446/0.8412, allocations: 0.7946 MB / 1.002 GB, free: 0.5039 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.8412, allocations: 4 kB / 1.002 GB, free: 0.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.8412, allocations: 4 kB / 1.002 GB, free: 0.4961 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.8412, allocations: 4 kB / 1.002 GB, free: 0.4922 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006477/0.8419, allocations: 144 kB / 1.002 GB, free: 360 kB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.8419, allocations: 7.938 kB / 1.002 GB, free: 352 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007287/0.8426, allocations: 55.61 kB / 1.002 GB, free: 296 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.955e-05/0.8427, allocations: 27.94 kB / 1.002 GB, free: 268 kB / 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.0004909/0.8432, allocations: 285.7 kB / 1.002 GB, free: 15.97 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001814/0.8434, allocations: 87.48 kB / 1.003 GB, free: 15.88 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001548/0.8449, allocations: 0.7985 MB / 1.003 GB, free: 15.07 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.845, allocations: 11.94 kB / 1.003 GB, free: 15.06 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.845, allocations: 4 kB / 1.003 GB, free: 15.05 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001213/0.8462, allocations: 0.8152 MB / 1.004 GB, free: 14.19 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003061/0.8493, allocations: 1.861 MB / 1.006 GB, free: 12.28 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.8493, allocations: 3.938 kB / 1.006 GB, free: 12.27 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008401/0.8502, allocations: 167.8 kB / 1.006 GB, free: 12.11 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.257e-06/0.8502, allocations: 4 kB / 1.006 GB, free: 12.11 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.439e-05/0.8502, allocations: 15.98 kB / 1.006 GB, free: 12.09 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.594e-06/0.8503, allocations: 4 kB / 1.006 GB, free: 12.09 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.8503, allocations: 0 / 1.006 GB, free: 12.09 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002047/0.8523, allocations: 1.199 MB / 1.007 GB, free: 10.87 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004799/0.8528, allocations: 252.4 kB / 1.008 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.8529, allocations: 16 kB / 1.008 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006102/0.8536, allocations: 22.02 kB / 1.008 GB, free: 10.57 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.8537, allocations: 44.5 kB / 1.008 GB, free: 10.53 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.273e-05/0.8538, allocations: 27.92 kB / 1.008 GB, free: 10.5 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0006233/0.8544, allocations: 455 kB / 1.008 GB, free: 10.06 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8544, allocations: 4 kB / 1.008 GB, free: 10.05 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0009407/0.8553, allocations: 343.3 kB / 1.008 GB, free: 9.719 MB / 0.7637 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.002592/0.8579, allocations: 1.834 MB / 1.01 GB, free: 7.855 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001271/0.8592, allocations: 0.6757 MB / 1.011 GB, free: 7.184 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.8593, allocations: 0 / 1.011 GB, free: 7.184 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0006007/0.8599, allocations: 379 kB / 1.011 GB, free: 6.812 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002572/0.8624, allocations: 0.5488 MB / 1.012 GB, free: 6.289 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/0.874, allocations: 6.983 MB / 1.019 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008551/0.8749, allocations: 1.089 MB / 1.02 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0009977/0.8759, allocations: 231.1 kB / 1.02 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000578/0.8765, allocations: 359.3 kB / 1.02 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of SimCode: time 1.283e-06/0.8765, allocations: 0 / 1.02 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05935/0.9358, allocations: 25.29 MB / 1.045 GB, free: 4.562 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.55/10.49, allocations: 25.34 kB / 1.045 GB, free: 4.543 MB / 0.795 GB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)