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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.7533/0.7533, allocations: 127.3 MB / 139.8 MB, free: 15.46 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00157/0.00157, allocations: 183.9 kB / 169.7 MB, free: 1.73 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.997/1.997, allocations: 205.1 MB / 404.5 MB, free: 1.578 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 83.5 kB / 481.8 MB, free: 4.238 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.208e-05/4.221e-05, allocations: 4 kB / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.188, allocations: 76.75 MB / 0.6282 GB, free: 9.914 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.325/6.513, allocations: 2.153 GB / 2.781 GB, free: 175.7 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004429/6.513, allocations: 90.62 kB / 2.781 GB, free: 175.6 MB / 0.6511 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: The standard says that initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition useDefaultProperties and initial(). Notification: Performance of FrontEnd - DAE generated: time 2.331/8.845, allocations: 0.5973 GB / 3.378 GB, free: 67.38 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.422e-06/8.845, allocations: 0 / 3.378 GB, free: 67.38 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.000154/8.845, allocations: 28 kB / 3.378 GB, free: 67.35 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.006674/8.851, allocations: 1.556 MB / 3.38 GB, free: 65.75 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.913e-05/8.852, allocations: 12.03 kB / 3.38 GB, free: 65.73 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006138/8.852, allocations: 160.7 kB / 3.38 GB, free: 65.57 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002696/8.855, allocations: 338.1 kB / 3.38 GB, free: 65.23 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002437/8.857, allocations: 0.8939 MB / 3.381 GB, free: 64.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.509e-05/8.857, allocations: 78.05 kB / 3.381 GB, free: 64.22 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003317/8.858, allocations: 104 kB / 3.381 GB, free: 64.12 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002605/8.86, allocations: 1.106 MB / 3.382 GB, free: 62.98 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.481e-05/8.86, allocations: 0 / 3.382 GB, free: 62.98 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001912/8.861, allocations: 44 kB / 3.382 GB, free: 62.94 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-05/8.861, allocations: 54.11 kB / 3.382 GB, free: 62.89 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002073/8.863, allocations: 1.156 MB / 3.384 GB, free: 61.72 MB / 0.6511 GB Warning: The model contains alias variables with conflicting start and/or 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.007304/8.87, allocations: 5.052 MB / 3.389 GB, free: 56.21 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/8.871, allocations: 0.9457 MB / 3.389 GB, free: 55.22 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006186/8.872, allocations: 0.4956 MB / 3.39 GB, free: 54.73 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.621e-05/8.872, allocations: 20.91 kB / 3.39 GB, free: 54.71 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007311/8.873, allocations: 490 kB / 3.39 GB, free: 54.21 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=76): time 3.487e-06/8.873, allocations: 0 / 3.39 GB, free: 54.21 MB / 0.6511 GB Notification: Performance of matching and sorting (n=76): time 0.00158/8.874, allocations: 0.8313 MB / 3.391 GB, free: 53.38 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/8.874, allocations: 64.19 kB / 3.391 GB, free: 53.3 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007625/8.875, allocations: 0.5033 MB / 3.392 GB, free: 52.79 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001074/8.875, allocations: 45.64 kB / 3.392 GB, free: 52.74 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002597/8.876, allocations: 451.8 kB / 3.392 GB, free: 52.29 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002575/8.876, allocations: 268.1 kB / 3.392 GB, free: 52.02 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.739e-05/8.876, allocations: 16 kB / 3.393 GB, free: 52.01 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000157/8.876, allocations: 386.8 kB / 3.393 GB, free: 51.62 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004622/8.877, allocations: 317.5 kB / 3.393 GB, free: 51.31 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004956/8.877, allocations: 444.5 kB / 3.394 GB, free: 50.84 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005435/8.878, allocations: 401.9 kB / 3.394 GB, free: 50.45 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/8.878, allocations: 0 / 3.394 GB, free: 50.45 MB / 0.6511 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001325/8.879, allocations: 0.913 MB / 3.395 GB, free: 49.52 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/8.879, allocations: 8 kB / 3.395 GB, free: 49.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/8.879, allocations: 7.953 kB / 3.395 GB, free: 49.51 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/8.879, allocations: 7.938 kB / 3.395 GB, free: 49.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006562/8.88, allocations: 147.8 kB / 3.395 GB, free: 49.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.188e-05/8.88, allocations: 19.86 kB / 3.395 GB, free: 49.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/8.881, allocations: 139.5 kB / 3.395 GB, free: 49.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.892e-05/8.881, allocations: 24 kB / 3.395 GB, free: 49.18 MB / 0.6511 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 90 * 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.0002059/8.881, allocations: 149.5 kB / 3.395 GB, free: 49.02 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002145/8.882, allocations: 79.06 kB / 3.395 GB, free: 48.95 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000328/8.882, allocations: 111.8 kB / 3.396 GB, free: 48.83 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.427e-06/8.882, allocations: 11.95 kB / 3.396 GB, free: 48.82 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/8.882, allocations: 0 / 3.396 GB, free: 48.82 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001103/8.883, allocations: 1.08 MB / 3.397 GB, free: 47.65 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003554/8.887, allocations: 2.172 MB / 3.399 GB, free: 45.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/8.887, allocations: 0 / 3.399 GB, free: 45.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007974/8.887, allocations: 171.8 kB / 3.399 GB, free: 45.24 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.494e-05/8.887, allocations: 4 kB / 3.399 GB, free: 45.24 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.17e-05/8.888, allocations: 20.03 kB / 3.399 GB, free: 45.22 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.69e-06/8.888, allocations: 4 kB / 3.399 GB, free: 45.21 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/8.888, allocations: 0 / 3.399 GB, free: 45.21 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001872/8.889, allocations: 1.493 MB / 3.4 GB, free: 43.7 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000718/8.89, allocations: 260 kB / 3.401 GB, free: 43.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002038/8.89, allocations: 19.94 kB / 3.401 GB, free: 43.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/8.891, allocations: 103.8 kB / 3.401 GB, free: 43.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.334e-05/8.892, allocations: 44.72 kB / 3.401 GB, free: 43.26 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.539e-05/8.892, allocations: 23.98 kB / 3.401 GB, free: 43.23 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005617/8.892, allocations: 407.2 kB / 3.401 GB, free: 42.84 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.51e-07/8.892, allocations: 0 / 3.401 GB, free: 42.84 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002076/8.894, allocations: 0.5068 MB / 3.402 GB, free: 42.34 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.U,rooA.dynBal.m,rooA.dynBal.mXi[1],rooB.dynBal.U,rooB.dynBal.m,rooB.dynBal.mXi[1]) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete 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.00468/8.899, allocations: 3.643 MB / 3.405 GB, free: 38.59 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001181/8.9, allocations: 0.789 MB / 3.406 GB, free: 37.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/8.9, allocations: 3.938 kB / 3.406 GB, free: 37.79 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.00048/8.901, allocations: 420.4 kB / 3.406 GB, free: 37.38 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002827/8.904, allocations: 0.5445 MB / 3.407 GB, free: 36.84 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004483/8.908, allocations: 2.086 MB / 3.409 GB, free: 34.71 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008262/8.909, allocations: 1.167 MB / 3.41 GB, free: 33.52 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001201/8.91, allocations: 275.1 kB / 3.41 GB, free: 33.24 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006074/8.911, allocations: 375.3 kB / 3.411 GB, free: 32.88 MB / 0.6511 GB Notification: Performance of SimCode: time 1.944e-06/8.911, allocations: 0 / 3.411 GB, free: 32.88 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6001/9.511, allocations: 55.54 MB / 3.465 GB, free: 116.6 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001773/9.511, allocations: 152.7 kB / 3.465 GB, free: 116.4 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.106/13.62, allocations: 0 / 3.465 GB, free: 116.4 MB / 0.6667 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)