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.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.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.001176/0.001176, allocations: 100 kB / 15.05 MB, free: 1.105 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.001292/0.001292, allocations: 177.3 kB / 15.95 MB, free: 216 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.261/1.261, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9425/0.9425, allocations: 143.3 MB / 434.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002957/0.0002957, allocations: 16 kB / 0.5159 GB, free: 11.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.15, allocations: 83.41 MB / 0.5973 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.404/0.554, allocations: 168.8 MB / 0.7622 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009115/0.5632, allocations: 6.532 MB / 0.7686 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007699/0.564, allocations: 27.81 kB / 0.7686 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001633/0.5656, allocations: 0.665 MB / 0.7693 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005085/0.5707, allocations: 2.072 MB / 0.7713 GB, free: 9.805 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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.001888/0.5726, allocations: 0.7929 MB / 0.7721 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002347/0.575, allocations: 1.84 MB / 0.7739 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009562/0.5759, allocations: 0.8217 MB / 0.7747 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002013/0.578, allocations: 1.141 MB / 0.7758 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008426/0.5788, allocations: 0.6616 MB / 0.7765 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000119/0.579, allocations: 56 kB / 0.7765 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002127/0.5811, allocations: 0.862 MB / 0.7773 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00035/0.5814, allocations: 402.9 kB / 0.7777 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002753/0.5817, allocations: 289.1 kB / 0.778 GB, free: 2.934 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001643/0.5834, allocations: 1.726 MB / 0.7797 GB, free: 1.211 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.5834, allocations: 0 / 0.7797 GB, free: 1.211 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.665e-06/0.5834, allocations: 4 kB / 0.7797 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.244e-05/0.5834, allocations: 0 / 0.7797 GB, free: 1.207 MB / 0.5919 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.003301/0.5867, allocations: 1.488 MB / 0.7811 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.5868, allocations: 15.97 kB / 0.7812 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002062/0.587, allocations: 160.6 kB / 0.7813 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002108/0.5891, allocations: 354.6 kB / 0.7817 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/0.5905, allocations: 0.8121 MB / 0.7824 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.621e-05/0.5906, allocations: 78.02 kB / 0.7825 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/0.5908, allocations: 99.98 kB / 0.7826 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00187/0.5926, allocations: 1.175 MB / 0.7838 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/0.5927, allocations: 4 kB / 0.7838 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.965e-05/0.5928, allocations: 43.94 kB / 0.7838 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.66e-05/0.5929, allocations: 62.06 kB / 0.7839 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001801/0.5947, allocations: 1.238 MB / 0.7851 GB, free: 11.54 MB / 0.6075 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.005904/0.6006, allocations: 5.079 MB / 0.79 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001372/0.602, allocations: 1.153 MB / 0.7912 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.543e-05/0.602, allocations: 20.78 kB / 0.7912 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006636/0.6027, allocations: 480.2 kB / 0.7916 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 2.385e-06/0.6027, allocations: 0 / 0.7916 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.001827/0.6046, allocations: 1.165 MB / 0.7928 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.6046, allocations: 60.06 kB / 0.7928 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006142/0.6052, allocations: 0.5666 MB / 0.7934 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.23e-05/0.6053, allocations: 41.7 kB / 0.7934 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000279/0.6056, allocations: 459.6 kB / 0.7939 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002146/0.6058, allocations: 276 kB / 0.7941 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.856e-05/0.6059, allocations: 16 kB / 0.7941 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.606, allocations: 382.7 kB / 0.7945 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004613/0.6065, allocations: 337.8 kB / 0.7948 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005369/0.607, allocations: 440.8 kB / 0.7953 GB, free: 496 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005441/0.6076, allocations: 399 kB / 0.7956 GB, free: 100 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.6076, allocations: 0 / 0.7956 GB, free: 100 kB / 0.6075 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001295/0.6089, allocations: 0.9297 MB / 0.7965 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.6089, allocations: 4 kB / 0.7965 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/0.6089, allocations: 4 kB / 0.7966 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.609, allocations: 8 kB / 0.7966 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006776/0.6096, allocations: 151.8 kB / 0.7967 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.511e-05/0.6097, allocations: 8 kB / 0.7967 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/0.6107, allocations: 164.1 kB / 0.7969 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.952e-05/0.6108, allocations: 24 kB / 0.7969 GB, free: 14.8 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004918/0.6113, allocations: 337.5 kB / 0.7972 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.6114, allocations: 79.06 kB / 0.7973 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002208/0.6116, allocations: 111.7 kB / 0.7974 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.6116, allocations: 8 kB / 0.7974 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.6116, allocations: 0.5 kB / 0.7974 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001205/0.6129, allocations: 1.093 MB / 0.7985 GB, free: 13.09 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 postOpt removeSimpleEquations (simulation): time 0.003173/0.616, allocations: 2.27 MB / 0.8007 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.6161, allocations: 1.5 kB / 0.8007 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008085/0.6169, allocations: 179.8 kB / 0.8009 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.6169, allocations: 4 kB / 0.8009 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.814e-05/0.6169, allocations: 15.98 kB / 0.8009 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.617, allocations: 4 kB / 0.8009 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.617, allocations: 3.953 kB / 0.8009 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/0.6186, allocations: 1.367 MB / 0.8022 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004131/0.619, allocations: 252 kB / 0.8025 GB, free: 8.867 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.6192, allocations: 16 kB / 0.8025 GB, free: 8.852 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007819/0.62, allocations: 105.2 kB / 0.8026 GB, free: 8.75 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.486e-05/0.62, allocations: 40.59 kB / 0.8026 GB, free: 8.711 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.321e-05/0.6201, allocations: 31.12 kB / 0.8026 GB, free: 8.684 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004394/0.6205, allocations: 407 kB / 0.803 GB, free: 8.289 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6205, allocations: 0 / 0.803 GB, free: 8.289 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008076/0.6214, allocations: 371 kB / 0.8034 GB, free: 7.926 MB / 0.6231 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 (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.002094/0.6235, allocations: 2.072 MB / 0.8054 GB, free: 5.828 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00108/0.6246, allocations: 0.7984 MB / 0.8062 GB, free: 5.027 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.6246, allocations: 0 / 0.8062 GB, free: 5.027 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005155/0.6251, allocations: 427.5 kB / 0.8066 GB, free: 4.613 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002423/0.6275, allocations: 0.5481 MB / 0.8071 GB, free: 4.086 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008104/0.6356, allocations: 7.482 MB / 0.8144 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006668/0.6363, allocations: 1.159 MB / 0.8156 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009481/0.6373, allocations: 278.7 kB / 0.8158 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004943/0.6378, allocations: 375.3 kB / 0.8162 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of SimCode: time 6.01e-07/0.6378, allocations: 0 / 0.8162 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03857/0.6764, allocations: 25.87 MB / 0.8415 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000146/0.6765, allocations: 176.6 kB / 0.8416 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.098/2.775, allocations: 0 / 0.8416 GB, free: 0.9727 MB / 0.6544 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/linux/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) Environment - environmentSimulation: