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.007544/0.007544, allocations: 103.2 kB / 15.73 MB, free: 6.043 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.001828/0.001828, allocations: 194.1 kB / 16.68 MB, free: 5.965 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 4.145 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 1.044/1.044, allocations: 143 MB / 433.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002227, allocations: 71.88 kB / 0.595 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5194/0.5216, allocations: 82.03 MB / 0.6752 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.724/1.246, allocations: 204.3 MB / 0.8747 GB, free: 1.883 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01149/1.257, allocations: 6.391 MB / 0.8809 GB, free: 1.852 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0027/1.26, allocations: 39 kB / 0.8809 GB, free: 1.852 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002837/1.263, allocations: 0.7262 MB / 0.8816 GB, free: 1.836 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.007681/1.271, allocations: 2.683 MB / 0.8843 GB, free: 1.73 MB / 0.6856 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.002089/1.273, allocations: 0.7058 MB / 0.8849 GB, free: 1.715 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005234/1.278, allocations: 3.281 MB / 0.8882 GB, free: 1.703 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002142/1.28, allocations: 1.139 MB / 0.8893 GB, free: 1.59 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002913/1.283, allocations: 1.262 MB / 0.8905 GB, free: 1.59 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002334/1.285, allocations: 1.101 MB / 0.8916 GB, free: 1.586 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004518/1.286, allocations: 129.4 kB / 0.8917 GB, free: 1.586 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005266/1.291, allocations: 2.356 MB / 0.894 GB, free: 1.562 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0008744/1.292, allocations: 0.5131 MB / 0.8945 GB, free: 1.562 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002112/1.294, allocations: 0.7389 MB / 0.8952 GB, free: 1.562 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005493/1.3, allocations: 2.887 MB / 0.898 GB, free: 1.418 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/1.3, allocations: 0 / 0.898 GB, free: 1.418 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.844e-06/1.3, allocations: 4.031 kB / 0.898 GB, free: 1.418 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.967e-05/1.3, allocations: 0 / 0.898 GB, free: 1.418 MB / 0.6856 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.003985/1.304, allocations: 1.769 MB / 0.8998 GB, free: 16.59 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/1.304, allocations: 10.38 kB / 0.8998 GB, free: 16.59 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001847/1.304, allocations: 158.8 kB / 0.8999 GB, free: 16.55 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002168/1.306, allocations: 350.1 kB / 0.9003 GB, free: 16.49 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/1.307, allocations: 0.8777 MB / 0.9011 GB, free: 16.17 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.941e-05/1.307, allocations: 78.17 kB / 0.9012 GB, free: 16.16 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001561/1.308, allocations: 99.97 kB / 0.9013 GB, free: 16.16 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/1.309, allocations: 1.193 MB / 0.9025 GB, free: 16.08 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/1.309, allocations: 0.8438 kB / 0.9025 GB, free: 16.08 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/1.31, allocations: 42.55 kB / 0.9025 GB, free: 16.08 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.147e-05/1.31, allocations: 63.08 kB / 0.9026 GB, free: 16.08 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001634/1.311, allocations: 1.247 MB / 0.9038 GB, free: 16.06 MB / 0.7012 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.006334/1.318, allocations: 5.105 MB / 0.9088 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001461/1.319, allocations: 1.151 MB / 0.9099 GB, free: 13.17 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006201/1.32, allocations: 0.5041 MB / 0.9104 GB, free: 13.16 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 5.633e-05/1.32, allocations: 20.52 kB / 0.9104 GB, free: 13.16 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006686/1.32, allocations: 490.5 kB / 0.9109 GB, free: 13.1 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=76): time 3.116e-06/1.32, allocations: 1.031 kB / 0.9109 GB, free: 13.1 MB / 0.7012 GB Notification: Performance of matching and sorting (n=76): time 0.001919/1.322, allocations: 1.159 MB / 0.912 GB, free: 13.01 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/1.322, allocations: 60.41 kB / 0.9121 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007356/1.323, allocations: 0.5792 MB / 0.9126 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.721e-05/1.323, allocations: 44.25 kB / 0.9127 GB, free: 12.79 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003242/1.324, allocations: 461.7 kB / 0.9131 GB, free: 12.56 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003146/1.324, allocations: 270.2 kB / 0.9134 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002067/1.324, allocations: 132 kB / 0.9135 GB, free: 12.37 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001835/1.324, allocations: 383.3 kB / 0.9139 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004308/1.325, allocations: 335.1 kB / 0.9142 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005573/1.325, allocations: 448.1 kB / 0.9146 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/1.326, allocations: 0.8255 MB / 0.9154 GB, free: 11.85 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.929e-06/1.327, allocations: 4 kB / 0.9154 GB, free: 11.85 MB / 0.7012 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001498/1.328, allocations: 0.9301 MB / 0.9163 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/1.328, allocations: 9.25 kB / 0.9163 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/1.328, allocations: 1.031 kB / 0.9163 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.677e-05/1.328, allocations: 7 kB / 0.9163 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006946/1.329, allocations: 159.3 kB / 0.9165 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.831e-05/1.329, allocations: 15.31 kB / 0.9165 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008199/1.33, allocations: 56.19 kB / 0.9166 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-05/1.33, allocations: 30.91 kB / 0.9166 GB, free: 11.73 MB / 0.7012 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.0006082/1.33, allocations: 324 kB / 0.9169 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/1.33, allocations: 83.97 kB / 0.917 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002144/1.331, allocations: 108.5 kB / 0.9171 GB, free: 11.56 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/1.331, allocations: 7.938 kB / 0.9171 GB, free: 11.56 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.752e-05/1.331, allocations: 5.25 kB / 0.9171 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001231/1.332, allocations: 1.093 MB / 0.9182 GB, free: 11.1 MB / 0.7012 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.0035/1.335, allocations: 2.298 MB / 0.9204 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/1.336, allocations: 2.469 kB / 0.9204 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007937/1.336, allocations: 176.7 kB / 0.9206 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/1.336, allocations: 2.656 kB / 0.9206 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.153e-05/1.336, allocations: 21.14 kB / 0.9206 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/1.336, allocations: 4.281 kB / 0.9206 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.336, allocations: 1.062 kB / 0.9206 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001758/1.338, allocations: 1.363 MB / 0.9219 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004266/1.339, allocations: 250.7 kB / 0.9222 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/1.339, allocations: 15.66 kB / 0.9222 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000604/1.339, allocations: 24.69 kB / 0.9222 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.078e-05/1.339, allocations: 41.91 kB / 0.9222 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.525e-05/1.339, allocations: 26.33 kB / 0.9223 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0004899/1.34, allocations: 417.5 kB / 0.9227 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.232e-06/1.34, allocations: 0 / 0.9227 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0009447/1.341, allocations: 366 kB / 0.923 GB, free: 10.09 MB / 0.7012 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.00205/1.343, allocations: 1.987 MB / 0.925 GB, free: 9.348 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001035/1.344, allocations: 0.8019 MB / 0.9257 GB, free: 9.336 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.344, allocations: 2.406 kB / 0.9257 GB, free: 9.336 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0005424/1.345, allocations: 426.8 kB / 0.9262 GB, free: 9.332 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002609/1.347, allocations: 0.5783 MB / 0.9267 GB, free: 9.254 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01052/1.358, allocations: 7.254 MB / 0.9338 GB, free: 7.078 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006803/1.358, allocations: 1.135 MB / 0.9349 GB, free: 6.363 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0009203/1.359, allocations: 279.6 kB / 0.9352 GB, free: 6.301 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004825/1.36, allocations: 381.4 kB / 0.9355 GB, free: 6.293 MB / 0.7012 GB Notification: Performance of SimCode: time 1.292e-06/1.36, allocations: 2.344 kB / 0.9355 GB, free: 6.293 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06094/1.421, allocations: 26.39 MB / 0.9613 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.942/10.36, allocations: 14.52 kB / 0.9613 GB, free: 3.355 MB / 0.7169 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)