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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_8_Buildings_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.001579/0.001579, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 186.9 kB / 16.62 MB, free: 6.613 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.499/1.499, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.581/1.581, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.00138/0.00138, allocations: 73.58 kB / 0.6718 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2086, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.586/0.7947, allocations: 201.9 MB / 0.9808 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01001/0.8047, allocations: 7.317 MB / 0.988 GB, free: 13 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001342/0.8061, allocations: 35.38 kB / 0.988 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001725/0.8078, allocations: 0.7032 MB / 0.9887 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00537/0.8132, allocations: 2.349 MB / 0.991 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002969/0.8162, allocations: 1.276 MB / 0.9922 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003207/0.8194, allocations: 2.882 MB / 0.995 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001049/0.8205, allocations: 0.9465 MB / 0.996 GB, free: 8.332 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001285/0.8218, allocations: 1.021 MB / 0.997 GB, free: 7.812 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001484/0.8233, allocations: 0.953 MB / 0.9979 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001338/0.8234, allocations: 116.1 kB / 0.998 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003687/0.8271, allocations: 2.134 MB / 1 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003798/0.8275, allocations: 447.9 kB / 1.001 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007779/0.8283, allocations: 0.6663 MB / 1.001 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002936/0.8313, allocations: 2.404 MB / 1.004 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.8313, allocations: 0 / 1.004 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8313, allocations: 0 / 1.004 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.211e-05/0.8313, allocations: 2.531 kB / 1.004 GB, free: 4.344 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.002772/0.8341, allocations: 1.617 MB / 1.005 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.8341, allocations: 10.12 kB / 1.005 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001527/0.8343, allocations: 135.8 kB / 1.005 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002216/0.8365, allocations: 369.8 kB / 1.006 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/0.8377, allocations: 0.8418 MB / 1.006 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.296e-05/0.8377, allocations: 69.22 kB / 1.006 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.8379, allocations: 87.62 kB / 1.007 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.8393, allocations: 1.039 MB / 1.008 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.8394, allocations: 2.281 kB / 1.008 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.939e-05/0.8395, allocations: 40.5 kB / 1.008 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.702e-05/0.8395, allocations: 48.08 kB / 1.008 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001319/0.8408, allocations: 0.8742 MB / 1.009 GB, free: 1.055 MB / 0.7325 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.004234/0.8451, allocations: 4.278 MB / 1.013 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000959/0.8461, allocations: 0.7121 MB / 1.013 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006676/0.8467, allocations: 452.9 kB / 1.014 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005951/0.8473, allocations: 0.6729 MB / 1.014 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.8474, allocations: 43.53 kB / 1.015 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=70): time 2.385e-06/0.8474, allocations: 0 / 1.015 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of matching and sorting (n=70): time 0.001686/0.8491, allocations: 0.9886 MB / 1.015 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.8491, allocations: 63.78 kB / 1.016 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006619/0.8498, allocations: 0.6337 MB / 1.016 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.353e-05/0.8499, allocations: 35.95 kB / 1.016 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002832/0.8502, allocations: 431.5 kB / 1.017 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001938/0.8504, allocations: 248 kB / 1.017 GB, free: 10.3 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001837/0.8506, allocations: 119.3 kB / 1.017 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.8507, allocations: 395.8 kB / 1.017 GB, free: 9.848 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000412/0.8511, allocations: 270.8 kB / 1.018 GB, free: 9.715 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004705/0.8516, allocations: 366.5 kB / 1.018 GB, free: 9.48 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009176/0.8525, allocations: 0.6634 MB / 1.019 GB, free: 9.098 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.8526, allocations: 2.75 kB / 1.019 GB, free: 9.098 MB / 0.7481 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001115/0.8537, allocations: 0.7851 MB / 1.019 GB, free: 8.695 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.8537, allocations: 4.312 kB / 1.019 GB, free: 8.695 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.8537, allocations: 7.406 kB / 1.019 GB, free: 8.691 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.8537, allocations: 4.812 kB / 1.019 GB, free: 8.691 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005663/0.8543, allocations: 140 kB / 1.02 GB, free: 8.664 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.168e-05/0.8543, allocations: 13.58 kB / 1.02 GB, free: 8.656 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006484/0.855, allocations: 54.53 kB / 1.02 GB, free: 8.617 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.299e-05/0.8551, allocations: 18.56 kB / 1.02 GB, free: 8.613 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.0003406/0.8554, allocations: 288.2 kB / 1.02 GB, free: 8.391 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.8555, allocations: 85.97 kB / 1.02 GB, free: 8.348 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/0.8568, allocations: 0.7896 MB / 1.021 GB, free: 7.887 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.8568, allocations: 7.312 kB / 1.021 GB, free: 7.887 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.8568, allocations: 3.938 kB / 1.021 GB, free: 7.883 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009708/0.8578, allocations: 0.8079 MB / 1.022 GB, free: 7.344 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002334/0.8602, allocations: 1.847 MB / 1.023 GB, free: 6.113 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.8602, allocations: 0 / 1.023 GB, free: 6.113 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007411/0.8609, allocations: 169 kB / 1.023 GB, free: 6.078 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.8609, allocations: 6.562 kB / 1.023 GB, free: 6.074 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.228e-05/0.861, allocations: 23.45 kB / 1.024 GB, free: 6.059 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.861, allocations: 1.688 kB / 1.024 GB, free: 6.059 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.861, allocations: 6.438 kB / 1.024 GB, free: 6.055 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001668/0.8627, allocations: 1.278 MB / 1.025 GB, free: 5.328 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003226/0.863, allocations: 241.7 kB / 1.025 GB, free: 5.121 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.8631, allocations: 13.09 kB / 1.025 GB, free: 5.113 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005519/0.8637, allocations: 19.73 kB / 1.025 GB, free: 5.102 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.8638, allocations: 44.91 kB / 1.025 GB, free: 5.074 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-05/0.8639, allocations: 22.61 kB / 1.025 GB, free: 5.066 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004874/0.8644, allocations: 456.1 kB / 1.026 GB, free: 4.805 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8644, allocations: 1.938 kB / 1.026 GB, free: 4.805 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007496/0.8651, allocations: 336.2 kB / 1.026 GB, free: 4.738 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.002129/0.8673, allocations: 1.913 MB / 1.028 GB, free: 3.445 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001006/0.8683, allocations: 0.6769 MB / 1.028 GB, free: 3.137 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.8683, allocations: 0 / 1.028 GB, free: 3.137 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004849/0.8688, allocations: 374.1 kB / 1.029 GB, free: 2.969 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002079/0.8709, allocations: 0.5465 MB / 1.029 GB, free: 2.684 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008638/0.8795, allocations: 6.866 MB / 1.036 GB, free: 12.07 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006511/0.8802, allocations: 1.085 MB / 1.037 GB, free: 10.96 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0007286/0.8809, allocations: 223.1 kB / 1.037 GB, free: 10.73 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000459/0.8814, allocations: 359.3 kB / 1.038 GB, free: 10.38 MB / 0.7637 GB Notification: Performance of SimCode: time 3.81e-07/0.8814, allocations: 0 / 1.038 GB, free: 10.38 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04588/0.9273, allocations: 25.08 MB / 1.062 GB, free: 1.68 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.295/9.222, allocations: 4 kB / 1.062 GB, free: 1.676 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_NaturalVentilation.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)