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.001191/0.001191, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.218/1.218, allocations: 222.9 MB / 240.2 MB, free: 4.387 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 0.8844/0.8844, allocations: 143 MB / 433.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 67.91 kB / 0.5143 GB, free: 11.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1347, allocations: 82.04 MB / 0.5944 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.4012/0.536, allocations: 204.3 MB / 0.7939 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008955/0.545, allocations: 6.369 MB / 0.8001 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009599/0.546, allocations: 39.81 kB / 0.8001 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001548/0.5475, allocations: 0.7343 MB / 0.8009 GB, free: 9.629 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004991/0.5526, allocations: 2.672 MB / 0.8035 GB, free: 6.945 MB / 0.6231 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.001346/0.5539, allocations: 0.6993 MB / 0.8042 GB, free: 6.25 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002842/0.5568, allocations: 3.271 MB / 0.8074 GB, free: 2.965 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001166/0.5579, allocations: 1.15 MB / 0.8085 GB, free: 1.793 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001476/0.5594, allocations: 1.246 MB / 0.8097 GB, free: 0.543 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001506/0.5609, allocations: 1.094 MB / 0.8108 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001625/0.5611, allocations: 128 kB / 0.8109 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00345/0.5646, allocations: 2.354 MB / 0.8132 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004185/0.565, allocations: 0.5182 MB / 0.8137 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006504/0.5657, allocations: 0.7391 MB / 0.8144 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002865/0.5685, allocations: 2.867 MB / 0.8172 GB, free: 8.832 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.5685, allocations: 0 / 0.8172 GB, free: 8.832 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5686, allocations: 0 / 0.8172 GB, free: 8.832 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.426e-05/0.5686, allocations: 0 / 0.8172 GB, free: 8.832 MB / 0.6387 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.003338/0.5719, allocations: 1.773 MB / 0.8189 GB, free: 7.008 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.572, allocations: 8.031 kB / 0.8189 GB, free: 7 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001698/0.5721, allocations: 164.6 kB / 0.8191 GB, free: 6.828 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001974/0.5741, allocations: 342.2 kB / 0.8194 GB, free: 6.492 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.5752, allocations: 0.8505 MB / 0.8203 GB, free: 5.598 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.089e-05/0.5753, allocations: 78.02 kB / 0.8203 GB, free: 5.52 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/0.5754, allocations: 104 kB / 0.8204 GB, free: 5.418 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001627/0.5771, allocations: 1.187 MB / 0.8216 GB, free: 4.199 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/0.5771, allocations: 0.9375 kB / 0.8216 GB, free: 4.199 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.029e-05/0.5772, allocations: 39.98 kB / 0.8216 GB, free: 4.16 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.387e-05/0.5773, allocations: 66.06 kB / 0.8217 GB, free: 4.094 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001675/0.5789, allocations: 1.242 MB / 0.8229 GB, free: 2.844 MB / 0.6387 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.005334/0.5843, allocations: 5.146 MB / 0.8279 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/0.5856, allocations: 1.153 MB / 0.8291 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000629/0.5862, allocations: 0.5012 MB / 0.8296 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.007e-05/0.5863, allocations: 20.78 kB / 0.8296 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006188/0.5869, allocations: 487.8 kB / 0.83 GB, free: 11 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=76): time 2.174e-06/0.5869, allocations: 4 kB / 0.83 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.001707/0.5886, allocations: 1.161 MB / 0.8312 GB, free: 9.824 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.5887, allocations: 60.06 kB / 0.8312 GB, free: 9.754 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005709/0.5893, allocations: 0.5782 MB / 0.8318 GB, free: 9.168 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.058e-05/0.5893, allocations: 41.7 kB / 0.8318 GB, free: 9.121 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002594/0.5896, allocations: 455.7 kB / 0.8323 GB, free: 8.668 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002018/0.5898, allocations: 272.1 kB / 0.8325 GB, free: 8.398 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002039/0.59, allocations: 142.5 kB / 0.8327 GB, free: 8.254 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.5901, allocations: 382.8 kB / 0.833 GB, free: 7.871 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004333/0.5906, allocations: 329.8 kB / 0.8333 GB, free: 7.547 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004963/0.5911, allocations: 444.8 kB / 0.8338 GB, free: 7.078 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009838/0.5921, allocations: 0.8271 MB / 0.8346 GB, free: 6.215 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.5921, allocations: 0 / 0.8346 GB, free: 6.215 MB / 0.6544 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001181/0.5933, allocations: 0.9337 MB / 0.8355 GB, free: 5.273 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.5933, allocations: 13.55 kB / 0.8355 GB, free: 5.262 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.5933, allocations: 0 / 0.8355 GB, free: 5.262 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.5933, allocations: 11.94 kB / 0.8355 GB, free: 5.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006101/0.594, allocations: 155.8 kB / 0.8357 GB, free: 5.098 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.594, allocations: 5.172 kB / 0.8357 GB, free: 5.094 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006327/0.5946, allocations: 63.36 kB / 0.8357 GB, free: 5.031 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.289e-05/0.5947, allocations: 24 kB / 0.8357 GB, free: 5.008 MB / 0.6544 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.0003476/0.595, allocations: 333.8 kB / 0.8361 GB, free: 4.672 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.5951, allocations: 79.06 kB / 0.8361 GB, free: 4.594 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001918/0.5953, allocations: 107.8 kB / 0.8362 GB, free: 4.48 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.5953, allocations: 7.938 kB / 0.8363 GB, free: 4.473 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.5954, allocations: 11.88 kB / 0.8363 GB, free: 4.461 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001171/0.5965, allocations: 1.085 MB / 0.8373 GB, free: 3.289 MB / 0.6544 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.002634/0.5992, allocations: 2.312 MB / 0.8396 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.5992, allocations: 0 / 0.8396 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007612/0.6, allocations: 167.8 kB / 0.8397 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.146e-06/0.6, allocations: 4 kB / 0.8397 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.482e-05/0.6, allocations: 19.94 kB / 0.8398 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.6, allocations: 4 kB / 0.8398 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.6, allocations: 3.984 kB / 0.8398 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001598/0.6016, allocations: 1.354 MB / 0.8411 GB, free: 15.32 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002922/0.6019, allocations: 256 kB / 0.8413 GB, free: 15.05 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.654e-05/0.6021, allocations: 12 kB / 0.8414 GB, free: 15.04 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000561/0.6026, allocations: 27.92 kB / 0.8414 GB, free: 15.01 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.665e-05/0.6027, allocations: 40.59 kB / 0.8414 GB, free: 14.97 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-05/0.6028, allocations: 31.98 kB / 0.8414 GB, free: 14.94 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0003869/0.6032, allocations: 415 kB / 0.8418 GB, free: 14.54 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6032, allocations: 0 / 0.8418 GB, free: 14.54 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007326/0.6039, allocations: 367.1 kB / 0.8422 GB, free: 14.18 MB / 0.67 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.001911/0.6058, allocations: 1.98 MB / 0.8441 GB, free: 12.18 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001555/0.6074, allocations: 1.028 MB / 0.8451 GB, free: 11.15 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.6074, allocations: 3.938 kB / 0.8451 GB, free: 11.14 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004907/0.6079, allocations: 431.5 kB / 0.8455 GB, free: 10.73 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002324/0.6102, allocations: 0.5884 MB / 0.8461 GB, free: 10.19 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007951/0.6182, allocations: 7.484 MB / 0.8534 GB, free: 2.547 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00059/0.6188, allocations: 1.136 MB / 0.8545 GB, free: 1.383 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008497/0.6196, allocations: 280.2 kB / 0.8548 GB, free: 1.105 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004503/0.6201, allocations: 375.3 kB / 0.8552 GB, free: 0.7383 MB / 0.67 GB Notification: Performance of SimCode: time 2.3e-07/0.6201, allocations: 0 / 0.8552 GB, free: 0.7383 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.535/2.156, allocations: 25.78 MB / 0.8803 GB, free: 211 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/15.03, allocations: 11.2 kB / 0.8804 GB, free: 211 MB / 0.67 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)