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.007452/0.007451, allocations: 99.98 kB / 15.73 MB, free: 6.016 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.001668/0.001668, allocations: 187.6 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.233/1.233, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.8004/0.8004, allocations: 143.1 MB / 433.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001162, allocations: 68.27 kB / 0.595 GB, free: 12.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1336, allocations: 82.03 MB / 0.6751 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.4873/0.6209, allocations: 204.3 MB / 0.8747 GB, free: 1.75 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.008973/0.6299, allocations: 6.397 MB / 0.8809 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00118/0.6311, allocations: 35.81 kB / 0.8809 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001877/0.633, allocations: 0.7617 MB / 0.8817 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006235/0.6393, allocations: 2.762 MB / 0.8844 GB, free: 7.762 MB / 0.6544 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.00173/0.6411, allocations: 0.7158 MB / 0.8851 GB, free: 7.055 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003836/0.6449, allocations: 3.288 MB / 0.8883 GB, free: 3.758 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001584/0.6465, allocations: 1.14 MB / 0.8894 GB, free: 2.598 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002296/0.6488, allocations: 1.289 MB / 0.8907 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002289/0.6512, allocations: 1.097 MB / 0.8917 GB, free: 216 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003442/0.6515, allocations: 128 kB / 0.8919 GB, free: 88 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00442/0.6559, allocations: 2.362 MB / 0.8942 GB, free: 13.72 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006935/0.6567, allocations: 0.5182 MB / 0.8947 GB, free: 13.2 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001234/0.6579, allocations: 0.7391 MB / 0.8954 GB, free: 12.46 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004727/0.6626, allocations: 2.892 MB / 0.8982 GB, free: 9.559 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.6627, allocations: 0 / 0.8982 GB, free: 9.559 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6627, allocations: 4 kB / 0.8982 GB, free: 9.555 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.479e-05/0.6627, allocations: 0 / 0.8982 GB, free: 9.555 MB / 0.67 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.004416/0.6672, allocations: 1.802 MB / 0.9 GB, free: 7.695 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.6672, allocations: 19.97 kB / 0.9 GB, free: 7.676 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002466/0.6675, allocations: 164.6 kB / 0.9002 GB, free: 7.504 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002304/0.6698, allocations: 346.9 kB / 0.9005 GB, free: 7.164 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001604/0.6714, allocations: 0.8825 MB / 0.9013 GB, free: 6.238 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.152e-05/0.6715, allocations: 81.95 kB / 0.9014 GB, free: 6.156 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001837/0.6717, allocations: 107.9 kB / 0.9015 GB, free: 6.051 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001929/0.6736, allocations: 1.183 MB / 0.9027 GB, free: 4.836 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.022e-05/0.6736, allocations: 4.875 kB / 0.9027 GB, free: 4.832 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.6738, allocations: 40 kB / 0.9027 GB, free: 4.793 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.655e-05/0.6738, allocations: 62.06 kB / 0.9028 GB, free: 4.73 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001847/0.6757, allocations: 1.246 MB / 0.904 GB, free: 3.477 MB / 0.67 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.006287/0.682, allocations: 5.123 MB / 0.909 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001364/0.6834, allocations: 1.151 MB / 0.9101 GB, free: 12.66 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006769/0.6841, allocations: 0.5089 MB / 0.9106 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 5.56e-05/0.6841, allocations: 20.78 kB / 0.9106 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000691/0.6848, allocations: 485.1 kB / 0.9111 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=76): time 3.125e-06/0.6848, allocations: 0 / 0.9111 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of matching and sorting (n=76): time 0.001878/0.6867, allocations: 1.169 MB / 0.9123 GB, free: 10.47 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.6868, allocations: 60.06 kB / 0.9123 GB, free: 10.4 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00067/0.6875, allocations: 0.5706 MB / 0.9129 GB, free: 9.82 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.594e-05/0.6875, allocations: 41.7 kB / 0.9129 GB, free: 9.773 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002713/0.6878, allocations: 472.6 kB / 0.9134 GB, free: 9.305 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002467/0.6881, allocations: 277.6 kB / 0.9136 GB, free: 9.031 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001964/0.6883, allocations: 126.6 kB / 0.9137 GB, free: 8.902 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.6884, allocations: 390.8 kB / 0.9141 GB, free: 8.512 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004576/0.6889, allocations: 333.8 kB / 0.9144 GB, free: 8.184 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005412/0.6894, allocations: 448.6 kB / 0.9149 GB, free: 7.711 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.6905, allocations: 0.8311 MB / 0.9157 GB, free: 6.844 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.6905, allocations: 0 / 0.9157 GB, free: 6.844 MB / 0.6856 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001331/0.6919, allocations: 0.9304 MB / 0.9166 GB, free: 5.906 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.6919, allocations: 8 kB / 0.9166 GB, free: 5.898 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.6919, allocations: 1.125 kB / 0.9166 GB, free: 5.898 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/0.6919, allocations: 11.94 kB / 0.9166 GB, free: 5.887 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006751/0.6926, allocations: 155.7 kB / 0.9168 GB, free: 5.734 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.687e-05/0.6926, allocations: 11.94 kB / 0.9168 GB, free: 5.723 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007872/0.6934, allocations: 63.52 kB / 0.9168 GB, free: 5.66 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.923e-05/0.6935, allocations: 23.98 kB / 0.9168 GB, free: 5.637 MB / 0.6856 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.0004363/0.6939, allocations: 341.6 kB / 0.9172 GB, free: 5.293 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/0.6941, allocations: 83.48 kB / 0.9173 GB, free: 5.211 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001928/0.6943, allocations: 107.7 kB / 0.9174 GB, free: 5.102 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.6943, allocations: 8 kB / 0.9174 GB, free: 5.094 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.6943, allocations: 0 / 0.9174 GB, free: 5.094 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001149/0.6955, allocations: 1.093 MB / 0.9184 GB, free: 3.914 MB / 0.6856 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.003116/0.6986, allocations: 2.307 MB / 0.9207 GB, free: 1.512 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.6986, allocations: 4 kB / 0.9207 GB, free: 1.508 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008419/0.6995, allocations: 175.8 kB / 0.9209 GB, free: 1.336 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.588e-06/0.6995, allocations: 4 kB / 0.9209 GB, free: 1.332 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.287e-05/0.6996, allocations: 16 kB / 0.9209 GB, free: 1.316 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.6996, allocations: 4 kB / 0.9209 GB, free: 1.312 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.6996, allocations: 3.938 kB / 0.9209 GB, free: 1.309 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/0.7013, allocations: 1.356 MB / 0.9222 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004397/0.7018, allocations: 256.4 kB / 0.9224 GB, free: 15.66 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/0.7019, allocations: 23.98 kB / 0.9225 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006612/0.7026, allocations: 23.86 kB / 0.9225 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.505e-05/0.7027, allocations: 44.59 kB / 0.9225 GB, free: 15.57 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.282e-05/0.7027, allocations: 27.98 kB / 0.9226 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0004637/0.7032, allocations: 411.1 kB / 0.923 GB, free: 15.15 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7032, allocations: 0 / 0.923 GB, free: 15.15 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008926/0.7041, allocations: 371.4 kB / 0.9233 GB, free: 14.79 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.002059/0.7062, allocations: 1.979 MB / 0.9252 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001129/0.7073, allocations: 0.8063 MB / 0.926 GB, free: 11.97 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.7073, allocations: 0 / 0.926 GB, free: 11.97 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.000503/0.7078, allocations: 423.5 kB / 0.9264 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002565/0.7104, allocations: 0.6002 MB / 0.927 GB, free: 10.97 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008997/0.7194, allocations: 7.278 MB / 0.9341 GB, free: 3.531 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006666/0.7201, allocations: 1.136 MB / 0.9352 GB, free: 2.363 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0008524/0.721, allocations: 271.2 kB / 0.9355 GB, free: 2.094 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005335/0.7215, allocations: 383.3 kB / 0.9359 GB, free: 1.723 MB / 0.7012 GB Notification: Performance of SimCode: time 8.42e-07/0.7215, allocations: 0 / 0.9359 GB, free: 1.723 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0491/0.7707, allocations: 25.97 MB / 0.9612 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.765/9.536, allocations: 7.891 kB / 0.9612 GB, free: 8.07 MB / 0.7325 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ZonalFlow.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)