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: translateModel(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow") translateModel(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 103.8 kB / 16.35 MB, free: 5.875 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.001049/0.001049, allocations: 194.4 kB / 17.3 MB, free: 5.516 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.272/1.272, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.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.8228/0.8228, allocations: 143.1 MB / 434.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 63.89 kB / 0.5156 GB, free: 14.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2946, allocations: 82.03 MB / 0.5957 GB, free: 16.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.4454/0.74, allocations: 204.3 MB / 0.7952 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007634/0.7476, allocations: 6.379 MB / 0.8014 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001075/0.7488, allocations: 40.06 kB / 0.8015 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001458/0.7503, allocations: 0.728 MB / 0.8022 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00516/0.7554, allocations: 2.674 MB / 0.8048 GB, free: 1.094 MB / 0.5762 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.001459/0.7569, allocations: 0.7157 MB / 0.8055 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003078/0.76, allocations: 3.268 MB / 0.8087 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001163/0.7612, allocations: 1.141 MB / 0.8098 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001771/0.763, allocations: 1.258 MB / 0.811 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001573/0.7645, allocations: 1.088 MB / 0.8121 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001469/0.7647, allocations: 127.9 kB / 0.8122 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003611/0.7683, allocations: 2.364 MB / 0.8145 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000463/0.7688, allocations: 0.5157 MB / 0.815 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007457/0.7695, allocations: 0.7379 MB / 0.8157 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003291/0.7728, allocations: 2.885 MB / 0.8185 GB, free: 248 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.7729, allocations: 0.75 kB / 0.8185 GB, free: 248 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.402e-06/0.7729, allocations: 0 / 0.8185 GB, free: 248 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.74e-05/0.7729, allocations: 0.75 kB / 0.8185 GB, free: 248 kB / 0.5762 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.003556/0.7765, allocations: 1.77 MB / 0.8203 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.7765, allocations: 8.938 kB / 0.8203 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002088/0.7786, allocations: 352.2 kB / 0.8206 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001364/0.78, allocations: 0.8759 MB / 0.8215 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.604e-05/0.78, allocations: 77.56 kB / 0.8215 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/0.7802, allocations: 101 kB / 0.8216 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/0.7818, allocations: 1.191 MB / 0.8228 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.7818, allocations: 0.875 kB / 0.8228 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.7819, allocations: 45.55 kB / 0.8229 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.007e-05/0.782, allocations: 58.02 kB / 0.8229 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001675/0.7837, allocations: 1.251 MB / 0.8241 GB, free: 14.52 MB / 0.5919 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.005684/0.7894, allocations: 5.098 MB / 0.8291 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/0.7907, allocations: 1.156 MB / 0.8302 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006511/0.7914, allocations: 0.5002 MB / 0.8307 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.031e-05/0.7914, allocations: 23.7 kB / 0.8307 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000631/0.7921, allocations: 483.6 kB / 0.8312 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 2.605e-06/0.7921, allocations: 0.8125 kB / 0.8312 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.001791/0.7939, allocations: 1.154 MB / 0.8323 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.7939, allocations: 59.19 kB / 0.8324 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006252/0.7946, allocations: 0.5793 MB / 0.833 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.457e-05/0.7946, allocations: 37.77 kB / 0.833 GB, free: 8.32 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002747/0.7949, allocations: 462 kB / 0.8334 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002156/0.7951, allocations: 271.4 kB / 0.8337 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002078/0.7954, allocations: 132.9 kB / 0.8338 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.7955, allocations: 386.7 kB / 0.8342 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004376/0.796, allocations: 333.1 kB / 0.8345 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005245/0.7965, allocations: 460.9 kB / 0.8349 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009947/0.7975, allocations: 0.8167 MB / 0.8357 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.7975, allocations: 2.625 kB / 0.8357 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001215/0.7987, allocations: 0.9374 MB / 0.8367 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.7988, allocations: 5.719 kB / 0.8367 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.7988, allocations: 7.938 kB / 0.8367 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.7988, allocations: 8.125 kB / 0.8367 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006234/0.7994, allocations: 153.8 kB / 0.8368 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.7994, allocations: 8.75 kB / 0.8368 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006301/0.8001, allocations: 63.61 kB / 0.8369 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.715e-05/0.8001, allocations: 22.16 kB / 0.8369 GB, free: 5.742 MB / 0.5919 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.0003831/0.8005, allocations: 336.6 kB / 0.8372 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.8006, allocations: 81.31 kB / 0.8373 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002092/0.8008, allocations: 113.4 kB / 0.8374 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.8009, allocations: 6.25 kB / 0.8374 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.8009, allocations: 0 / 0.8374 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001168/0.802, allocations: 1.095 MB / 0.8385 GB, free: 4.543 MB / 0.5919 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.002992/0.805, allocations: 2.313 MB / 0.8408 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.8051, allocations: 4.031 kB / 0.8408 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007983/0.8059, allocations: 170.2 kB / 0.8409 GB, free: 2.004 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.8059, allocations: 4 kB / 0.8409 GB, free: 2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.872e-05/0.8059, allocations: 19.98 kB / 0.841 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.806, allocations: 4 kB / 0.841 GB, free: 1.977 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.806, allocations: 3.938 kB / 0.841 GB, free: 1.973 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001717/0.8077, allocations: 1.362 MB / 0.8423 GB, free: 0.5938 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003911/0.8081, allocations: 248 kB / 0.8425 GB, free: 340 kB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.798e-05/0.8082, allocations: 16 kB / 0.8425 GB, free: 324 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005679/0.8088, allocations: 26.05 kB / 0.8426 GB, free: 300 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.145e-05/0.8089, allocations: 44.53 kB / 0.8426 GB, free: 256 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.201e-05/0.8089, allocations: 23.98 kB / 0.8426 GB, free: 232 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004286/0.8094, allocations: 415.1 kB / 0.843 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8094, allocations: 0 / 0.843 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008086/0.8102, allocations: 371.1 kB / 0.8434 GB, free: 15.46 MB / 0.6075 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.0002753/0.8105, allocations: 180.2 kB / 0.8436 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001106/0.8116, allocations: 0.7979 MB / 0.8443 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.8116, allocations: 0 / 0.8443 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005127/0.8121, allocations: 432.1 kB / 0.8447 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002182/0.8143, allocations: 0.5883 MB / 0.8453 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002894/0.8172, allocations: 2.165 MB / 0.8474 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006473/0.8179, allocations: 1.14 MB / 0.8485 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007477/0.8186, allocations: 275.1 kB / 0.8488 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002182/0.8188, allocations: 67.44 kB / 0.8489 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of SimCode: time 7.82e-07/0.8188, allocations: 0 / 0.8489 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of Templates: time 0.0271/0.8459, allocations: 19.11 MB / 0.8675 GB, free: 7.059 MB / 0.6231 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)