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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.004771/0.004771, allocations: 101.6 kB / 15.73 MB, free: 5.996 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.001308/0.001308, allocations: 190.5 kB / 16.67 MB, free: 5.93 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.018/1.018, allocations: 143.3 MB / 433.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 63.89 kB / 0.5953 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.3935, allocations: 82.03 MB / 0.6754 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.6541/1.048, allocations: 204.3 MB / 0.8749 GB, free: 1.895 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.009594/1.057, allocations: 6.394 MB / 0.8812 GB, free: 1.863 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001542/1.059, allocations: 35.12 kB / 0.8812 GB, free: 1.863 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001822/1.061, allocations: 0.7254 MB / 0.8819 GB, free: 1.852 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006954/1.068, allocations: 2.675 MB / 0.8845 GB, free: 1.746 MB / 0.6856 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.002025/1.07, allocations: 0.7148 MB / 0.8852 GB, free: 1.727 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005686/1.075, allocations: 3.276 MB / 0.8884 GB, free: 1.715 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001779/1.077, allocations: 1.134 MB / 0.8895 GB, free: 1.605 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003004/1.08, allocations: 1.248 MB / 0.8907 GB, free: 1.605 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002629/1.083, allocations: 1.101 MB / 0.8918 GB, free: 1.605 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002772/1.083, allocations: 128.5 kB / 0.8919 GB, free: 1.605 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005177/1.088, allocations: 2.358 MB / 0.8942 GB, free: 1.582 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006369/1.089, allocations: 0.5129 MB / 0.8947 GB, free: 1.582 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001166/1.09, allocations: 0.7421 MB / 0.8955 GB, free: 1.582 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004451/1.095, allocations: 2.894 MB / 0.8983 GB, free: 1.43 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/1.095, allocations: 0.9375 kB / 0.8983 GB, free: 1.43 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.492e-06/1.095, allocations: 0 / 0.8983 GB, free: 1.43 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.891e-05/1.095, allocations: 2.219 kB / 0.8983 GB, free: 1.43 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.003762/1.098, allocations: 1.807 MB / 0.9001 GB, free: 16.57 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/1.099, allocations: 8 kB / 0.9001 GB, free: 16.57 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001818/1.099, allocations: 164.2 kB / 0.9002 GB, free: 16.52 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002052/1.101, allocations: 360.2 kB / 0.9006 GB, free: 16.45 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/1.102, allocations: 0.8747 MB / 0.9014 GB, free: 16.13 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.793e-05/1.102, allocations: 84.02 kB / 0.9015 GB, free: 16.12 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/1.102, allocations: 105.1 kB / 0.9016 GB, free: 16.12 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/1.104, allocations: 1.19 MB / 0.9028 GB, free: 16.04 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/1.104, allocations: 4.953 kB / 0.9028 GB, free: 16.04 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.452e-05/1.104, allocations: 44.3 kB / 0.9028 GB, free: 16.04 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.35e-05/1.104, allocations: 62.62 kB / 0.9029 GB, free: 16.03 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001553/1.106, allocations: 1.243 MB / 0.9041 GB, free: 16.02 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.007159/1.113, allocations: 5.117 MB / 0.9091 GB, free: 13.51 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001823/1.115, allocations: 1.16 MB / 0.9102 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008298/1.115, allocations: 0.501 MB / 0.9107 GB, free: 13.1 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 6.928e-05/1.116, allocations: 18.22 kB / 0.9107 GB, free: 13.1 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008545/1.116, allocations: 489.3 kB / 0.9112 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=76): time 3.696e-06/1.116, allocations: 2.109 kB / 0.9112 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of matching and sorting (n=76): time 0.002378/1.119, allocations: 1.154 MB / 0.9123 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/1.119, allocations: 69.91 kB / 0.9124 GB, free: 12.89 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008653/1.12, allocations: 0.5762 MB / 0.9129 GB, free: 12.76 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.528e-05/1.12, allocations: 39.83 kB / 0.913 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003818/1.12, allocations: 479 kB / 0.9134 GB, free: 12.49 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003329/1.121, allocations: 277.7 kB / 0.9137 GB, free: 12.31 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001915/1.121, allocations: 130.5 kB / 0.9138 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002/1.121, allocations: 383.3 kB / 0.9142 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004145/1.121, allocations: 335.2 kB / 0.9145 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005498/1.122, allocations: 447.5 kB / 0.9149 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009277/1.123, allocations: 0.826 MB / 0.9157 GB, free: 11.78 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/1.123, allocations: 2.438 kB / 0.9157 GB, free: 11.78 MB / 0.7012 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001208/1.124, allocations: 0.9291 MB / 0.9167 GB, free: 11.69 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/1.124, allocations: 7.906 kB / 0.9167 GB, free: 11.69 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-06/1.124, allocations: 2.938 kB / 0.9167 GB, free: 11.69 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/1.124, allocations: 6.344 kB / 0.9167 GB, free: 11.69 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000643/1.125, allocations: 160 kB / 0.9168 GB, free: 11.69 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/1.125, allocations: 8.969 kB / 0.9168 GB, free: 11.69 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006927/1.126, allocations: 61.73 kB / 0.9169 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.555e-05/1.126, allocations: 23.12 kB / 0.9169 GB, free: 11.65 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.0004469/1.126, allocations: 336.2 kB / 0.9172 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/1.126, allocations: 85.45 kB / 0.9173 GB, free: 11.49 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002096/1.126, allocations: 111.5 kB / 0.9174 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/1.126, allocations: 9.062 kB / 0.9174 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-05/1.127, allocations: 3.938 kB / 0.9174 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001214/1.128, allocations: 1.089 MB / 0.9185 GB, free: 11.02 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.002986/1.131, allocations: 2.311 MB / 0.9208 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/1.131, allocations: 0.625 kB / 0.9208 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007466/1.131, allocations: 178.3 kB / 0.9209 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/1.132, allocations: 5.031 kB / 0.9209 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.553e-05/1.132, allocations: 17.97 kB / 0.9209 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.826e-06/1.132, allocations: 8.219 kB / 0.921 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/1.132, allocations: 0 / 0.921 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/1.133, allocations: 1.359 MB / 0.9223 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003459/1.134, allocations: 255.1 kB / 0.9225 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.85e-05/1.134, allocations: 19.16 kB / 0.9225 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000561/1.134, allocations: 24.84 kB / 0.9226 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.226e-05/1.134, allocations: 40.36 kB / 0.9226 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.036e-05/1.134, allocations: 25.2 kB / 0.9226 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0004113/1.135, allocations: 416 kB / 0.923 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1e-07/1.135, allocations: 0.9688 kB / 0.923 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.000833/1.136, allocations: 373.2 kB / 0.9234 GB, free: 9.996 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.002118/1.138, allocations: 1.991 MB / 0.9253 GB, free: 9.25 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0009991/1.139, allocations: 0.7973 MB / 0.9261 GB, free: 9.238 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/1.139, allocations: 0 / 0.9261 GB, free: 9.238 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0004646/1.139, allocations: 432.1 kB / 0.9265 GB, free: 9.234 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002717/1.142, allocations: 0.5882 MB / 0.9271 GB, free: 9.156 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009011/1.151, allocations: 7.285 MB / 0.9342 GB, free: 6.938 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007288/1.152, allocations: 1.143 MB / 0.9353 GB, free: 6.223 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0008957/1.153, allocations: 277.7 kB / 0.9356 GB, free: 6.164 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004512/1.153, allocations: 376.5 kB / 0.9359 GB, free: 6.16 MB / 0.7012 GB Notification: Performance of SimCode: time 8.41e-07/1.153, allocations: 0 / 0.9359 GB, free: 6.16 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4306/1.584, allocations: 25.97 MB / 0.9613 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.776/11.36, allocations: 14.06 kB / 0.9613 GB, free: 3.645 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)