Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow") translateModel(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8198/0.8198, allocations: 141.8 MB / 149.3 MB, free: 9.223 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 184.6 kB / 182.2 MB, free: 9.453 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 221.5 MB / 436.4 MB, free: 13.33 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008629/0.0008629, allocations: 92.09 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00168/0.00168, allocations: 279.4 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.262e-05/1.265e-05, allocations: 4 kB / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3473, allocations: 82.77 MB / 0.7574 GB, free: 31.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.701/4.048, allocations: 1.882 GB / 2.639 GB, free: 137.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001926/4.049, allocations: 87.73 kB / 2.639 GB, free: 137.8 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 1.759/5.808, allocations: 0.6056 GB / 3.245 GB, free: 71.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.513e-06/5.808, allocations: 4 kB / 3.245 GB, free: 71.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001082/5.808, allocations: 24 kB / 3.245 GB, free: 71.28 MB / 0.698 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.005595/5.814, allocations: 1.54 MB / 3.246 GB, free: 69.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/5.814, allocations: 8.031 kB / 3.246 GB, free: 69.69 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002305/5.816, allocations: 342.2 kB / 3.246 GB, free: 69.36 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001569/5.818, allocations: 0.8353 MB / 3.247 GB, free: 68.49 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.985e-05/5.818, allocations: 32 kB / 3.247 GB, free: 68.46 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000204/5.818, allocations: 60 kB / 3.247 GB, free: 68.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001556/5.819, allocations: 0.988 MB / 3.248 GB, free: 67.41 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001554/5.821, allocations: 0.9607 MB / 3.249 GB, free: 66.42 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/5.821, allocations: 0 / 3.249 GB, free: 66.42 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.626e-05/5.821, allocations: 0 / 3.249 GB, free: 66.42 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.035e-05/5.821, allocations: 66.05 kB / 3.249 GB, free: 66.35 MB / 0.698 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.005037/5.826, allocations: 4.84 MB / 3.254 GB, free: 61.09 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001838/5.828, allocations: 3.388 MB / 3.257 GB, free: 57.11 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004852/5.829, allocations: 451.2 kB / 3.258 GB, free: 56.66 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.88e-05/5.829, allocations: 20.91 kB / 3.258 GB, free: 56.64 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004774/5.829, allocations: 400.4 kB / 3.258 GB, free: 56.25 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 2.695e-06/5.829, allocations: 4 kB / 3.258 GB, free: 56.24 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.001019/5.83, allocations: 0.6907 MB / 3.259 GB, free: 55.54 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.729e-05/5.83, allocations: 60.19 kB / 3.259 GB, free: 55.47 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003849/5.831, allocations: 414.3 kB / 3.259 GB, free: 55.05 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.486e-05/5.831, allocations: 25.7 kB / 3.259 GB, free: 55.02 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/5.831, allocations: 455.5 kB / 3.26 GB, free: 54.57 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001512/5.831, allocations: 260.2 kB / 3.26 GB, free: 54.31 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-05/5.831, allocations: 0 / 3.26 GB, free: 54.31 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.797e-05/5.831, allocations: 382.8 kB / 3.26 GB, free: 53.93 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003021/5.831, allocations: 261.4 kB / 3.261 GB, free: 53.67 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003376/5.832, allocations: 376.5 kB / 3.261 GB, free: 53.27 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003716/5.832, allocations: 344.4 kB / 3.261 GB, free: 52.93 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/5.832, allocations: 11.89 kB / 3.261 GB, free: 52.92 MB / 0.698 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0008789/5.833, allocations: 0.757 MB / 3.262 GB, free: 52.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/5.833, allocations: 4 kB / 3.262 GB, free: 52.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/5.833, allocations: 4 kB / 3.262 GB, free: 52.15 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/5.833, allocations: 4 kB / 3.262 GB, free: 52.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005916/5.834, allocations: 160.1 kB / 3.262 GB, free: 51.99 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/5.834, allocations: 15.94 kB / 3.262 GB, free: 51.97 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000909/5.835, allocations: 115.3 kB / 3.262 GB, free: 51.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.37e-05/5.835, allocations: 24 kB / 3.262 GB, free: 51.84 MB / 0.698 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 (91): * Single equations (assignments): 91 * 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.0001113/5.835, allocations: 112.9 kB / 3.263 GB, free: 51.72 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.713e-05/5.835, allocations: 75.11 kB / 3.263 GB, free: 51.64 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001693/5.835, allocations: 87.31 kB / 3.263 GB, free: 51.55 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/5.835, allocations: 8 kB / 3.263 GB, free: 51.55 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/5.835, allocations: 0 / 3.263 GB, free: 51.55 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007544/5.836, allocations: 0.9475 MB / 3.264 GB, free: 50.51 MB / 0.698 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 postOpt removeSimpleEquations (simulation): time 0.002494/5.838, allocations: 2.486 MB / 3.266 GB, free: 47.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/5.838, allocations: 4.031 kB / 3.266 GB, free: 47.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007322/5.839, allocations: 179.8 kB / 3.266 GB, free: 47.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/5.839, allocations: 4 kB / 3.266 GB, free: 47.66 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.741e-05/5.839, allocations: 15.94 kB / 3.266 GB, free: 47.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/5.839, allocations: 4 kB / 3.266 GB, free: 47.64 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/5.839, allocations: 0 / 3.266 GB, free: 47.64 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/5.84, allocations: 1.247 MB / 3.267 GB, free: 46.36 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003404/5.841, allocations: 240 kB / 3.268 GB, free: 46.11 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/5.841, allocations: 3.953 kB / 3.268 GB, free: 46.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008085/5.842, allocations: 91.75 kB / 3.268 GB, free: 46.01 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.82e-05/5.842, allocations: 56.66 kB / 3.268 GB, free: 45.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.314e-05/5.842, allocations: 23.98 kB / 3.268 GB, free: 45.93 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002847/5.842, allocations: 326.9 kB / 3.268 GB, free: 45.62 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/5.842, allocations: 0 / 3.268 GB, free: 45.62 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009909/5.843, allocations: 442.9 kB / 3.269 GB, free: 45.18 MB / 0.698 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.001847/5.845, allocations: 1.794 MB / 3.27 GB, free: 43.31 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007388/5.846, allocations: 0.6576 MB / 3.271 GB, free: 42.65 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/5.846, allocations: 0 / 3.271 GB, free: 42.65 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003358/5.846, allocations: 358.8 kB / 3.271 GB, free: 42.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002101/5.848, allocations: 496 kB / 3.272 GB, free: 41.82 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002214/5.85, allocations: 1.697 MB / 3.273 GB, free: 40.09 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005193/5.851, allocations: 1.155 MB / 3.275 GB, free: 38.91 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008048/5.852, allocations: 246.5 kB / 3.275 GB, free: 38.66 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/5.852, allocations: 75.42 kB / 3.275 GB, free: 38.59 MB / 0.698 GB Notification: Performance of SimCode: time 2.5e-07/5.852, allocations: 0 / 3.275 GB, free: 38.59 MB / 0.698 GB Notification: Performance of Templates: time 0.03071/5.883, allocations: 24.83 MB / 3.299 GB, free: 13.94 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)