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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 105 kB / 16.41 MB, free: 6.465 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.001341/0.001341, allocations: 187 kB / 17.34 MB, free: 5.719 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.403/1.403, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002369/0.002369, allocations: 291.6 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.003/1.003, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002142, allocations: 95.84 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4852/0.4873, allocations: 86.97 MB / 0.767 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.7284/1.216, allocations: 201.9 MB / 0.9642 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01206/1.228, allocations: 7.4 MB / 0.9715 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002117/1.23, allocations: 37.44 kB / 0.9715 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002103/1.232, allocations: 0.6956 MB / 0.9722 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006752/1.239, allocations: 2.407 MB / 0.9745 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003556/1.243, allocations: 1.239 MB / 0.9757 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004546/1.247, allocations: 2.91 MB / 0.9786 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001397/1.249, allocations: 0.9483 MB / 0.9795 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002047/1.251, allocations: 1.038 MB / 0.9805 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002221/1.253, allocations: 0.9682 MB / 0.9815 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002339/1.253, allocations: 109.9 kB / 0.9816 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004614/1.258, allocations: 2.126 MB / 0.9836 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005764/1.258, allocations: 452.1 kB / 0.9841 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001159/1.259, allocations: 0.6668 MB / 0.9847 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004961/1.264, allocations: 2.401 MB / 0.9871 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.264, allocations: 0.5625 kB / 0.9871 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.134e-06/1.264, allocations: 0 / 0.9871 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.028e-05/1.264, allocations: 3.125 kB / 0.9871 GB, free: 1.426 MB / 0.7169 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.003755/1.268, allocations: 1.624 MB / 0.9887 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/1.268, allocations: 9.656 kB / 0.9887 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002492/1.271, allocations: 377.8 kB / 0.989 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001456/1.272, allocations: 0.8509 MB / 0.9899 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.143e-05/1.272, allocations: 62.31 kB / 0.9899 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/1.272, allocations: 91.22 kB / 0.99 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/1.274, allocations: 1.036 MB / 0.991 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.847e-05/1.274, allocations: 5.312 kB / 0.991 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.532e-05/1.274, allocations: 41.92 kB / 0.9911 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.498e-05/1.274, allocations: 46.61 kB / 0.9911 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001365/1.276, allocations: 0.8836 MB / 0.992 GB, free: 16.07 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.00475/1.28, allocations: 4.288 MB / 0.9962 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/1.281, allocations: 0.696 MB / 0.9968 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007164/1.282, allocations: 467.4 kB / 0.9973 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000613/1.283, allocations: 0.6702 MB / 0.9979 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/1.283, allocations: 43.22 kB / 0.998 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=70): time 2.795e-06/1.283, allocations: 0 / 0.998 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=70): time 0.001754/1.285, allocations: 0.9939 MB / 0.9989 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/1.285, allocations: 60.62 kB / 0.999 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006918/1.285, allocations: 0.6357 MB / 0.9996 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.627e-05/1.285, allocations: 40.23 kB / 0.9997 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002456/1.286, allocations: 431.2 kB / 1 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002271/1.286, allocations: 251.7 kB / 1 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001756/1.286, allocations: 117 kB / 1 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001633/1.286, allocations: 388.7 kB / 1.001 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004031/1.287, allocations: 274.5 kB / 1.001 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000466/1.287, allocations: 357.6 kB / 1.001 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009836/1.288, allocations: 0.6651 MB / 1.002 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.288, allocations: 3.938 kB / 1.002 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001243/1.289, allocations: 0.8001 MB / 1.003 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/1.289, allocations: 4.781 kB / 1.003 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/1.29, allocations: 3.438 kB / 1.003 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/1.29, allocations: 3.406 kB / 1.003 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006248/1.29, allocations: 148.2 kB / 1.003 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/1.29, allocations: 8.984 kB / 1.003 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008239/1.291, allocations: 51.56 kB / 1.003 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.407e-05/1.291, allocations: 25.02 kB / 1.003 GB, free: 11.54 MB / 0.7325 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.0004708/1.292, allocations: 287.9 kB / 1.003 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/1.292, allocations: 86.88 kB / 1.003 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/1.293, allocations: 0.799 MB / 1.004 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/1.293, allocations: 7.625 kB / 1.004 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/1.293, allocations: 0 / 1.004 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009663/1.294, allocations: 0.8121 MB / 1.005 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002549/1.297, allocations: 1.858 MB / 1.007 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/1.297, allocations: 0 / 1.007 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008042/1.297, allocations: 166.4 kB / 1.007 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.241e-05/1.297, allocations: 3.469 kB / 1.007 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.679e-05/1.298, allocations: 18.84 kB / 1.007 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.214e-06/1.298, allocations: 2.562 kB / 1.007 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/1.298, allocations: 3.641 kB / 1.007 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001897/1.299, allocations: 1.194 MB / 1.008 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004846/1.3, allocations: 250.4 kB / 1.008 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001794/1.3, allocations: 21.92 kB / 1.008 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007147/1.301, allocations: 24.05 kB / 1.008 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/1.301, allocations: 46.56 kB / 1.009 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.201e-05/1.301, allocations: 22.23 kB / 1.009 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005816/1.302, allocations: 457.4 kB / 1.009 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.4e-07/1.302, allocations: 0.8438 kB / 1.009 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00104/1.303, allocations: 331.7 kB / 1.009 GB, free: 10.24 MB / 0.7325 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.0004162/1.303, allocations: 198.8 kB / 1.009 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00115/1.304, allocations: 0.6754 MB / 1.01 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/1.304, allocations: 0.9375 kB / 1.01 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005152/1.305, allocations: 374.6 kB / 1.01 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002536/1.307, allocations: 0.5564 MB / 1.011 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003983/1.311, allocations: 2.2 MB / 1.013 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008631/1.312, allocations: 1.084 MB / 1.014 GB, free: 8.426 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003501/1.313, allocations: 81.27 kB / 1.014 GB, free: 8.418 MB / 0.7325 GB Notification: Performance of SimCode: time 1.192e-06/1.313, allocations: 1.203 kB / 1.014 GB, free: 8.418 MB / 0.7325 GB Notification: Performance of Templates: time 0.0264/1.339, allocations: 15.34 MB / 1.029 GB, free: 4.434 MB / 0.7325 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)