Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.ZonalFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ZonalFlow",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.0008814/0.0008813, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.00489/0.00489, allocations: 168.5 kB / 16.26 MB, free: 6.652 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.21/1.21, allocations: 223.3 MB / 240.3 MB, free: 5.371 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9057/0.9057, allocations: 143.2 MB / 434.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002843/0.0002843, allocations: 12 kB / 0.5165 GB, free: 11.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1364, allocations: 83.41 MB / 0.598 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.4008/0.5373, allocations: 199.3 MB / 0.7926 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008173/0.5455, allocations: 6.396 MB / 0.7989 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000816/0.5463, allocations: 31.81 kB / 0.7989 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001398/0.5477, allocations: 0.6376 MB / 0.7995 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004906/0.5527, allocations: 2.518 MB / 0.802 GB, free: 11.1 MB / 0.6231 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/IBPSA/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition ‘zonFlo.useDefaultProperties and initial()‘. Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.5539, allocations: 0.6463 MB / 0.8026 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003827/0.5577, allocations: 4.827 MB / 0.8073 GB, free: 5.613 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009585/0.5587, allocations: 0.9149 MB / 0.8082 GB, free: 4.684 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001288/0.56, allocations: 1.043 MB / 0.8092 GB, free: 3.637 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001581/0.5616, allocations: 1.101 MB / 0.8103 GB, free: 2.535 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 9.764e-05/0.5617, allocations: 56 kB / 0.8104 GB, free: 2.48 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003561/0.5653, allocations: 2.712 MB / 0.813 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003671/0.5656, allocations: 442.7 kB / 0.8134 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005598/0.5662, allocations: 0.6783 MB / 0.8141 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002715/0.5689, allocations: 2.94 MB / 0.817 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.5689, allocations: 0 / 0.817 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5689, allocations: 0 / 0.817 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.074e-05/0.569, allocations: 0 / 0.817 GB, free: 11.69 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.003011/0.572, allocations: 1.516 MB / 0.8185 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.572, allocations: 15.97 kB / 0.8185 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001736/0.5722, allocations: 168.6 kB / 0.8186 GB, free: 9.934 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001939/0.5741, allocations: 346.1 kB / 0.819 GB, free: 9.594 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.5752, allocations: 0.835 MB / 0.8198 GB, free: 8.715 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.105e-05/0.5753, allocations: 82 kB / 0.8199 GB, free: 8.633 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/0.5754, allocations: 103.9 kB / 0.82 GB, free: 8.531 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/0.5771, allocations: 1.196 MB / 0.8211 GB, free: 7.305 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.5771, allocations: 8 kB / 0.8211 GB, free: 7.297 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.09e-05/0.5772, allocations: 40 kB / 0.8212 GB, free: 7.258 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.177e-05/0.5773, allocations: 62.06 kB / 0.8212 GB, free: 7.195 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001674/0.5789, allocations: 1.242 MB / 0.8224 GB, free: 5.945 MB / 0.6387 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.005075/0.584, allocations: 5.079 MB / 0.8274 GB, free: 416 kB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/0.5853, allocations: 1.158 MB / 0.8285 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006283/0.586, allocations: 0.5012 MB / 0.829 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.15e-05/0.586, allocations: 8.656 kB / 0.829 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006267/0.5866, allocations: 496.6 kB / 0.8295 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=76): time 1.813e-06/0.5867, allocations: 0 / 0.8295 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.001651/0.5883, allocations: 1.157 MB / 0.8306 GB, free: 13 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.5884, allocations: 60.06 kB / 0.8307 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005555/0.5889, allocations: 0.5821 MB / 0.8313 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.269e-05/0.589, allocations: 45.64 kB / 0.8313 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002466/0.5892, allocations: 455.7 kB / 0.8317 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001879/0.5894, allocations: 276.1 kB / 0.832 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.116e-05/0.5895, allocations: 61.69 kB / 0.8321 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.5897, allocations: 390.8 kB / 0.8324 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004281/0.5901, allocations: 329.8 kB / 0.8327 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004856/0.5906, allocations: 444.8 kB / 0.8332 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.5916, allocations: 0.8233 MB / 0.834 GB, free: 9.449 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.5916, allocations: 0 / 0.834 GB, free: 9.449 MB / 0.6544 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001187/0.5928, allocations: 0.9338 MB / 0.8349 GB, free: 8.508 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.5928, allocations: 8.031 kB / 0.8349 GB, free: 8.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.5928, allocations: 4 kB / 0.8349 GB, free: 8.496 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.5928, allocations: 11.94 kB / 0.8349 GB, free: 8.484 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005805/0.5934, allocations: 148.6 kB / 0.835 GB, free: 8.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.5934, allocations: 15.92 kB / 0.8351 GB, free: 8.324 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008661/0.5943, allocations: 159.2 kB / 0.8352 GB, free: 8.168 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.164e-05/0.5944, allocations: 24 kB / 0.8352 GB, free: 8.145 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.000373/0.5947, allocations: 325.6 kB / 0.8355 GB, free: 7.816 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.5948, allocations: 83 kB / 0.8356 GB, free: 7.734 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002347/0.5951, allocations: 111.8 kB / 0.8357 GB, free: 7.617 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.5951, allocations: 11.94 kB / 0.8357 GB, free: 7.605 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.5951, allocations: 4 kB / 0.8357 GB, free: 7.602 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001088/0.5962, allocations: 1.093 MB / 0.8368 GB, free: 6.422 MB / 0.6544 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 postOpt removeSimpleEquations (simulation): time 0.002705/0.5989, allocations: 2.305 MB / 0.8391 GB, free: 4.027 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.5989, allocations: 0 / 0.8391 GB, free: 4.027 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007418/0.5997, allocations: 175.8 kB / 0.8392 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.5997, allocations: 4 kB / 0.8392 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.519e-05/0.5997, allocations: 23.98 kB / 0.8393 GB, free: 3.828 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.5998, allocations: 0 / 0.8393 GB, free: 3.828 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.5998, allocations: 4 kB / 0.8393 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/0.6013, allocations: 1.358 MB / 0.8406 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002931/0.6016, allocations: 248.1 kB / 0.8408 GB, free: 2.188 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.899e-05/0.6017, allocations: 19.98 kB / 0.8408 GB, free: 2.168 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007384/0.6025, allocations: 101.3 kB / 0.8409 GB, free: 2.07 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.011e-05/0.6026, allocations: 40.59 kB / 0.841 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.931e-05/0.6026, allocations: 31.98 kB / 0.841 GB, free: 2 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003993/0.603, allocations: 411 kB / 0.8414 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.252e-06/0.603, allocations: 0 / 0.8414 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007048/0.6037, allocations: 374.9 kB / 0.8418 GB, free: 1.234 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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.001907/0.6057, allocations: 1.974 MB / 0.8437 GB, free: 15.24 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0009785/0.6066, allocations: 0.8019 MB / 0.8445 GB, free: 14.43 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.6067, allocations: 0 / 0.8445 GB, free: 14.43 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004979/0.6072, allocations: 424.2 kB / 0.8449 GB, free: 14.02 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002602/0.6098, allocations: 0.5651 MB / 0.8454 GB, free: 13.48 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009454/0.6192, allocations: 8.007 MB / 0.8532 GB, free: 5.312 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006088/0.6199, allocations: 1.14 MB / 0.8544 GB, free: 4.145 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009373/0.6208, allocations: 276.8 kB / 0.8546 GB, free: 3.871 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004705/0.6213, allocations: 379.3 kB / 0.855 GB, free: 3.5 MB / 0.67 GB Notification: Performance of SimCode: time 8.42e-07/0.6213, allocations: 3.938 kB / 0.855 GB, free: 3.496 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.407/5.028, allocations: 24.6 MB / 0.879 GB, free: 207 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001491/5.029, allocations: 212.6 kB / 0.8792 GB, free: 206.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.905/7.934, allocations: 3.938 kB / 0.8792 GB, free: 206.8 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ZonalFlow.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)