Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Airflow.Multizone.Examples.OneRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom") translateModel(BuildingSystems.Airflow.Multizone.Examples.OneRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007801/0.0007801, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.0008247/0.0008249, allocations: 172.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 223.3 MB / 240 MB, free: 5.211 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00177/0.00177, allocations: 263.2 kB / 291.3 MB, free: 1.773 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9915/0.9915, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000455/0.000455, allocations: 14.69 kB / 0.598 GB, free: 28.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2023/0.2028, allocations: 88.54 MB / 0.6845 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneRoom): time 0.5981/0.801, allocations: 194.6 MB / 0.8745 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01416/0.8152, allocations: 9.52 MB / 0.8838 GB, free: 2.535 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001572/0.8168, allocations: 37.88 kB / 0.8839 GB, free: 2.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001852/0.8187, allocations: 0.5448 MB / 0.8844 GB, free: 2.062 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00602/0.8247, allocations: 2.1 MB / 0.8864 GB, free: 452 kB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003102/0.8278, allocations: 0.9683 MB / 0.8874 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005074/0.8329, allocations: 3.887 MB / 0.8912 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001283/0.8342, allocations: 0.7519 MB / 0.8919 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001922/0.8362, allocations: 0.9766 MB / 0.8929 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001788/0.838, allocations: 1.027 MB / 0.8939 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001436/0.8381, allocations: 63.94 kB / 0.8939 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00453/0.8426, allocations: 1.34 MB / 0.8952 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005053/0.8432, allocations: 434.7 kB / 0.8957 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004654/0.8436, allocations: 285.1 kB / 0.8959 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002983/0.8466, allocations: 1.835 MB / 0.8977 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.8467, allocations: 4 kB / 0.8977 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.244e-06/0.8467, allocations: 0 / 0.8977 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.528e-05/0.8467, allocations: 0 / 0.8977 GB, free: 5.895 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.003805/0.8505, allocations: 1.562 MB / 0.8992 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.715e-05/0.8506, allocations: 8.031 kB / 0.8993 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002826/0.8534, allocations: 438 kB / 0.8997 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.8548, allocations: 0.8206 MB / 0.9005 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.994e-05/0.8549, allocations: 80.23 kB / 0.9006 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.855, allocations: 95.94 kB / 0.9006 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002093/0.8571, allocations: 1.194 MB / 0.9018 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.74e-05/0.8571, allocations: 4 kB / 0.9018 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.294e-05/0.8572, allocations: 36 kB / 0.9018 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.609e-05/0.8573, allocations: 49.98 kB / 0.9019 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001977/0.8593, allocations: 1.07 MB / 0.9029 GB, free: 432 kB / 0.6075 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.005783/0.8651, allocations: 4.731 MB / 0.9076 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001516/0.8666, allocations: 0.9925 MB / 0.9085 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001014/0.8676, allocations: 0.5564 MB / 0.9091 GB, free: 9.707 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007336/0.8684, allocations: 0.6772 MB / 0.9097 GB, free: 8.879 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.95e-05/0.8685, allocations: 51.16 kB / 0.9098 GB, free: 8.82 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=82): time 2.996e-06/0.8685, allocations: 0 / 0.9098 GB, free: 8.82 MB / 0.6231 GB Notification: Performance of matching and sorting (n=83): time 0.004778/0.8732, allocations: 2.3 MB / 0.912 GB, free: 6.469 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.8733, allocations: 64.41 kB / 0.9121 GB, free: 6.391 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008012/0.8741, allocations: 0.6334 MB / 0.9127 GB, free: 5.754 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.049e-05/0.8742, allocations: 41.7 kB / 0.9127 GB, free: 5.707 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000349/0.8745, allocations: 456 kB / 0.9132 GB, free: 5.254 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002654/0.8748, allocations: 287.7 kB / 0.9135 GB, free: 4.969 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-05/0.8749, allocations: 16 kB / 0.9135 GB, free: 4.953 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002083/0.8751, allocations: 394.7 kB / 0.9138 GB, free: 4.559 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005959/0.8757, allocations: 321.8 kB / 0.9142 GB, free: 4.246 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006272/0.8763, allocations: 422.5 kB / 0.9146 GB, free: 3.805 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006097/0.8769, allocations: 378.8 kB / 0.9149 GB, free: 3.434 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.8769, allocations: 4 kB / 0.9149 GB, free: 3.43 MB / 0.6231 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00159/0.8785, allocations: 0.9424 MB / 0.9158 GB, free: 2.48 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.8786, allocations: 4 kB / 0.9158 GB, free: 2.477 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.8786, allocations: 4.25 kB / 0.9159 GB, free: 2.473 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003126/0.8789, allocations: 60.83 kB / 0.9159 GB, free: 2.41 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006922/0.8796, allocations: 155.8 kB / 0.9161 GB, free: 2.258 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006507/0.8803, allocations: 0.5992 MB / 0.9166 GB, free: 1.633 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009559/0.8813, allocations: 117.4 kB / 0.9168 GB, free: 1.52 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.746e-05/0.8813, allocations: 31.98 kB / 0.9168 GB, free: 1.488 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.000594/0.8819, allocations: 312.2 kB / 0.9171 GB, free: 1.176 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.8821, allocations: 86.97 kB / 0.9172 GB, free: 1.09 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001623/0.8837, allocations: 0.9285 MB / 0.9181 GB, free: 152 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.8837, allocations: 8 kB / 0.9181 GB, free: 144 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.8837, allocations: 0 / 0.9181 GB, free: 144 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001362/0.8851, allocations: 0.9309 MB / 0.919 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003199/0.8883, allocations: 2.107 MB / 0.921 GB, free: 13 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.8883, allocations: 0 / 0.921 GB, free: 13 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009004/0.8892, allocations: 191.8 kB / 0.9212 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.301e-06/0.8892, allocations: 0 / 0.9212 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.312e-05/0.8893, allocations: 23.98 kB / 0.9213 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.8893, allocations: 0 / 0.9213 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.8893, allocations: 8.859 kB / 0.9213 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001873/0.8912, allocations: 1.391 MB / 0.9226 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003824/0.8916, allocations: 248 kB / 0.9229 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.8917, allocations: 19.98 kB / 0.9229 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007296/0.8925, allocations: 79.78 kB / 0.923 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.8926, allocations: 52.86 kB / 0.923 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.063e-05/0.8926, allocations: 35.98 kB / 0.923 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005834/0.8932, allocations: 455 kB / 0.9235 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8932, allocations: 3.938 kB / 0.9235 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008548/0.8941, allocations: 319.9 kB / 0.9238 GB, free: 10.17 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 83 * 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.0003692/0.8945, allocations: 209.5 kB / 0.924 GB, free: 9.961 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001428/0.8959, allocations: 0.8091 MB / 0.9248 GB, free: 9.152 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.8959, allocations: 0 / 0.9248 GB, free: 9.152 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006366/0.8966, allocations: 433.6 kB / 0.9252 GB, free: 8.727 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002301/0.8989, allocations: 0.5686 MB / 0.9257 GB, free: 8.164 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004098/0.903, allocations: 2.845 MB / 0.9285 GB, free: 5.293 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007939/0.9038, allocations: 1.128 MB / 0.9296 GB, free: 4.137 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00104/0.9048, allocations: 247.8 kB / 0.9299 GB, free: 3.891 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002369/0.9051, allocations: 71.44 kB / 0.9299 GB, free: 3.82 MB / 0.6387 GB Notification: Performance of SimCode: time 8.01e-07/0.9051, allocations: 0 / 0.9299 GB, free: 3.82 MB / 0.6387 GB Notification: Performance of Templates: time 0.03285/0.9379, allocations: 18.85 MB / 0.9483 GB, free: 1.242 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe 2>&1)