Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.00111/0.001109, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001555/0.001556, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.593/1.593, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.144/1.144, allocations: 143.4 MB / 434.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003642, allocations: 8 kB / 0.5161 GB, free: 11.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1763, allocations: 83.43 MB / 0.5975 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation): time 0.7734/0.9497, allocations: 183.9 MB / 0.7772 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01563/0.9655, allocations: 6.933 MB / 0.7839 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0028/0.9684, allocations: 31.81 kB / 0.784 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002436/0.9709, allocations: 461.2 kB / 0.7844 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.008816/0.9797, allocations: 1.761 MB / 0.7861 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004506/0.9842, allocations: 0.8581 MB / 0.787 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.006709/0.9909, allocations: 3.492 MB / 0.7904 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001541/0.9925, allocations: 0.6715 MB / 0.791 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00244/0.995, allocations: 0.8754 MB / 0.7919 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001838/0.9968, allocations: 0.9154 MB / 0.7928 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001315/0.997, allocations: 48 kB / 0.7928 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003952/1.001, allocations: 1.056 MB / 0.7939 GB, free: 3 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000578/1.002, allocations: 378.8 kB / 0.7942 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005885/1.002, allocations: 265.1 kB / 0.7945 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002972/1.005, allocations: 1.683 MB / 0.7961 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.071e-05/1.005, allocations: 4 kB / 0.7961 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.785e-06/1.005, allocations: 0 / 0.7961 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.611e-05/1.005, allocations: 0 / 0.7961 GB, free: 0.6719 MB / 0.6075 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.003422/1.009, allocations: 1.418 MB / 0.7975 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.226e-05/1.009, allocations: 12.03 kB / 0.7975 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002144/1.009, allocations: 139.2 kB / 0.7977 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002509/1.011, allocations: 374.2 kB / 0.798 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/1.013, allocations: 0.7894 MB / 0.7988 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.73e-05/1.013, allocations: 66 kB / 0.7988 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/1.013, allocations: 84 kB / 0.7989 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001926/1.015, allocations: 1.034 MB / 0.7999 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.027e-05/1.015, allocations: 7.984 kB / 0.7999 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.131e-05/1.015, allocations: 32 kB / 0.8 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.568e-05/1.015, allocations: 50.69 kB / 0.8 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001619/1.017, allocations: 0.8783 MB / 0.8009 GB, free: 11.67 MB / 0.6231 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.00585/1.023, allocations: 4.3 MB / 0.8051 GB, free: 7.012 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001281/1.024, allocations: 0.6907 MB / 0.8058 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008046/1.025, allocations: 447 kB / 0.8062 GB, free: 5.879 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007605/1.026, allocations: 0.6771 MB / 0.8068 GB, free: 5.055 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.739e-05/1.026, allocations: 43.73 kB / 0.8069 GB, free: 5.004 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=70): time 2.264e-06/1.026, allocations: 0 / 0.8069 GB, free: 5.004 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70): time 0.002132/1.028, allocations: 1.002 MB / 0.8079 GB, free: 3.996 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/1.028, allocations: 63.95 kB / 0.8079 GB, free: 3.922 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008616/1.029, allocations: 0.6256 MB / 0.8085 GB, free: 3.289 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.697e-05/1.029, allocations: 33.7 kB / 0.8086 GB, free: 3.25 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003625/1.029, allocations: 440 kB / 0.809 GB, free: 2.812 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002957/1.03, allocations: 252.3 kB / 0.8092 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/1.03, allocations: 12 kB / 0.8092 GB, free: 2.551 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002199/1.03, allocations: 386.8 kB / 0.8096 GB, free: 2.164 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004986/1.03, allocations: 281.2 kB / 0.8099 GB, free: 1.891 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005336/1.031, allocations: 357.1 kB / 0.8102 GB, free: 1.52 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000586/1.032, allocations: 331.1 kB / 0.8105 GB, free: 1.195 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/1.032, allocations: 0 / 0.8105 GB, free: 1.195 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001351/1.033, allocations: 0.8009 MB / 0.8113 GB, free: 396 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/1.033, allocations: 4 kB / 0.8113 GB, free: 392 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/1.033, allocations: 7.984 kB / 0.8113 GB, free: 384 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/1.033, allocations: 4 kB / 0.8113 GB, free: 380 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006529/1.034, allocations: 139.8 kB / 0.8115 GB, free: 240 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.103e-05/1.034, allocations: 9.188 kB / 0.8115 GB, free: 232 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009921/1.035, allocations: 107.5 kB / 0.8116 GB, free: 124 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.548e-05/1.035, allocations: 24 kB / 0.8116 GB, free: 100 kB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007133/1.035, allocations: 285.6 kB / 0.8119 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/1.036, allocations: 90.86 kB / 0.812 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001557/1.037, allocations: 0.7997 MB / 0.8127 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/1.037, allocations: 8 kB / 0.8127 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/1.037, allocations: 0 / 0.8127 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001177/1.038, allocations: 0.8192 MB / 0.8135 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003058/1.042, allocations: 1.852 MB / 0.8153 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/1.042, allocations: 0 / 0.8153 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008398/1.042, allocations: 175.3 kB / 0.8155 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/1.042, allocations: 4 kB / 0.8155 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.113e-05/1.042, allocations: 19.98 kB / 0.8155 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.341e-06/1.042, allocations: 4 kB / 0.8155 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.042, allocations: 3.938 kB / 0.8155 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001885/1.044, allocations: 1.197 MB / 0.8167 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004941/1.045, allocations: 243.9 kB / 0.8169 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/1.045, allocations: 23.92 kB / 0.817 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007143/1.046, allocations: 77.66 kB / 0.817 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/1.046, allocations: 40.5 kB / 0.8171 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-05/1.046, allocations: 24 kB / 0.8171 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005844/1.047, allocations: 451 kB / 0.8175 GB, free: 9.855 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/1.047, allocations: 0 / 0.8175 GB, free: 9.855 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009539/1.047, allocations: 339.2 kB / 0.8179 GB, free: 9.523 MB / 0.6387 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002255/1.05, allocations: 1.836 MB / 0.8197 GB, free: 7.66 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001165/1.051, allocations: 0.6798 MB / 0.8203 GB, free: 6.984 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.051, allocations: 0 / 0.8203 GB, free: 6.984 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000549/1.051, allocations: 367 kB / 0.8207 GB, free: 6.621 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002295/1.054, allocations: 0.5184 MB / 0.8212 GB, free: 6.121 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00884/1.063, allocations: 5.818 MB / 0.8269 GB, free: 188 kB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007092/1.063, allocations: 1.089 MB / 0.8279 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001014/1.064, allocations: 227.7 kB / 0.8281 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005019/1.065, allocations: 359.3 kB / 0.8285 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of SimCode: time 2.144e-06/1.065, allocations: 0 / 0.8285 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0445/1.109, allocations: 25.15 MB / 0.853 GB, free: 5.805 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001633/1.11, allocations: 196.3 kB / 0.8532 GB, free: 5.566 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.313/3.422, allocations: 0 / 0.8532 GB, free: 5.566 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_NaturalVentilation.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) Environment - environmentSimulation: