Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.2801/0.2821, allocations: 80.81 MB / 0.5904 GB, free: 22.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.4347/0.7169, allocations: 191.6 MB / 0.7775 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005632/0.7225, allocations: 4.926 MB / 0.7823 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006953/0.7233, allocations: 30.19 kB / 0.7824 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.7244, allocations: 0.583 MB / 0.7829 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003614/0.728, allocations: 2.119 MB / 0.785 GB, free: 1.473 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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.001378/0.7294, allocations: 0.7296 MB / 0.7857 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002364/0.7318, allocations: 2.613 MB / 0.7883 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008199/0.7326, allocations: 0.7697 MB / 0.789 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00117/0.7338, allocations: 0.9214 MB / 0.7899 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001194/0.735, allocations: 0.809 MB / 0.7907 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000132/0.7351, allocations: 95.84 kB / 0.7908 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002893/0.738, allocations: 1.846 MB / 0.7926 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003164/0.7383, allocations: 402.3 kB / 0.793 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005113/0.7389, allocations: 0.5602 MB / 0.7935 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002199/0.7411, allocations: 2.102 MB / 0.7956 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.7411, allocations: 3.125 kB / 0.7956 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7411, allocations: 0 / 0.7956 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.7411, allocations: 0.7188 kB / 0.7956 GB, free: 1.16 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 182 * Number of variables: 182 Notification: Performance of Generate backend data structure: time 0.002388/0.7435, allocations: 1.426 MB / 0.797 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.7435, allocations: 7.969 kB / 0.797 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001855/0.7454, allocations: 319.8 kB / 0.7973 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008315/0.7463, allocations: 0.7109 MB / 0.798 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.056e-05/0.7463, allocations: 53.09 kB / 0.798 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.539e-05/0.7464, allocations: 77.27 kB / 0.7981 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009849/0.7474, allocations: 0.8038 MB / 0.7989 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.7474, allocations: 0.9688 kB / 0.7989 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.679e-05/0.7475, allocations: 33.31 kB / 0.7989 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-05/0.7475, allocations: 36.36 kB / 0.799 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009435/0.7485, allocations: 0.8016 MB / 0.7997 GB, free: 16 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.003468/0.7519, allocations: 3.727 MB / 0.8034 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006665/0.7526, allocations: 0.6987 MB / 0.8041 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003855/0.753, allocations: 358.8 kB / 0.8044 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.094e-05/0.7531, allocations: 11.14 kB / 0.8044 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000421/0.7535, allocations: 378.4 kB / 0.8048 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=58): time 1.522e-06/0.7535, allocations: 0 / 0.8048 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of matching and sorting (n=58): time 0.001097/0.7546, allocations: 0.8176 MB / 0.8056 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.7546, allocations: 57.97 kB / 0.8056 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004262/0.7551, allocations: 0.491 MB / 0.8061 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.244e-05/0.7551, allocations: 38.64 kB / 0.8061 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000187/0.7553, allocations: 360.7 kB / 0.8065 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001611/0.7555, allocations: 213 kB / 0.8067 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.7556, allocations: 110.9 kB / 0.8068 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.7557, allocations: 368.8 kB / 0.8071 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002657/0.756, allocations: 231.5 kB / 0.8074 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000323/0.7563, allocations: 332.5 kB / 0.8077 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006315/0.757, allocations: 0.585 MB / 0.8083 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.757, allocations: 1.625 kB / 0.8083 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007625/0.7578, allocations: 0.6691 MB / 0.8089 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.7578, allocations: 9.656 kB / 0.8089 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.7578, allocations: 3.438 kB / 0.8089 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.7578, allocations: 5.094 kB / 0.8089 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004453/0.7583, allocations: 126.6 kB / 0.8091 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.7583, allocations: 7.406 kB / 0.8091 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005346/0.7588, allocations: 43.56 kB / 0.8091 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.188e-05/0.7589, allocations: 24.19 kB / 0.8091 GB, free: 12.55 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (71): * Single equations (assignments): 71 * 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.0002533/0.7591, allocations: 271.5 kB / 0.8094 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.118e-05/0.7592, allocations: 73.03 kB / 0.8095 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000145/0.7594, allocations: 79.33 kB / 0.8095 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.7594, allocations: 12.03 kB / 0.8095 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.7594, allocations: 3.875 kB / 0.8095 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006707/0.7601, allocations: 0.7025 MB / 0.8102 GB, free: 12.13 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.001954/0.762, allocations: 1.816 MB / 0.812 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.762, allocations: 0 / 0.812 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006071/0.7626, allocations: 146.8 kB / 0.8121 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.7627, allocations: 4.312 kB / 0.8121 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.253e-05/0.7627, allocations: 14.61 kB / 0.8122 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.7627, allocations: 3.406 kB / 0.8122 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.7627, allocations: 0 / 0.8122 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.7638, allocations: 1.07 MB / 0.8132 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002353/0.764, allocations: 221.2 kB / 0.8134 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.776e-05/0.7641, allocations: 13.34 kB / 0.8134 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005058/0.7646, allocations: 21.05 kB / 0.8135 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.75e-05/0.7647, allocations: 30.31 kB / 0.8135 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.711e-05/0.7647, allocations: 23.94 kB / 0.8135 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003022/0.765, allocations: 351.1 kB / 0.8138 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.765, allocations: 0.7812 kB / 0.8138 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005982/0.7656, allocations: 290.9 kB / 0.8141 GB, free: 11.14 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.U,rooA.dynBal.m,rooA.dynBal.mXi[1],rooB.dynBal.U,rooB.dynBal.m,rooB.dynBal.mXi[1]) * 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 (58): * Single equations (assignments): 58 * 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.0001936/0.7658, allocations: 157.7 kB / 0.8143 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008969/0.7667, allocations: 0.6872 MB / 0.8149 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.7667, allocations: 0.7812 kB / 0.8149 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002913/0.767, allocations: 297.4 kB / 0.8152 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001812/0.7689, allocations: 481.6 kB / 0.8157 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002123/0.771, allocations: 1.733 MB / 0.8174 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005077/0.7715, allocations: 1.025 MB / 0.8184 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006503/0.7722, allocations: 202.7 kB / 0.8186 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/0.7723, allocations: 56.84 kB / 0.8186 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of SimCode: time 2.31e-07/0.7723, allocations: 0 / 0.8186 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of Templates: time 0.02004/0.7924, allocations: 15.35 MB / 0.8336 GB, free: 360 kB / 0.5919 GB make -j1 -f Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)