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.008671/0.008672, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.001513/0.001513, allocations: 190 kB / 16.67 MB, free: 5.969 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002934/0.002934, allocations: 283.4 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.072/1.072, allocations: 169.3 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002309/0.002309, allocations: 91.84 kB / 0.6814 GB, free: 7.016 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6503/0.6526, allocations: 86.99 MB / 0.7664 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneRoom): time 0.9283/1.581, allocations: 213.6 MB / 0.975 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.017/1.598, allocations: 10.21 MB / 0.9849 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003008/1.601, allocations: 37.78 kB / 0.985 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003034/1.604, allocations: 0.8403 MB / 0.9858 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01046/1.615, allocations: 2.887 MB / 0.9886 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004453/1.619, allocations: 1.42 MB / 0.99 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005507/1.625, allocations: 3.164 MB / 0.9931 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001719/1.626, allocations: 1.028 MB / 0.9941 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002537/1.629, allocations: 1.127 MB / 0.9952 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002516/1.631, allocations: 1.082 MB / 0.9963 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002215/1.632, allocations: 123.6 kB / 0.9964 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007344/1.639, allocations: 2.73 MB / 0.999 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007392/1.64, allocations: 0.4943 MB / 0.9995 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001303/1.641, allocations: 0.7257 MB / 1 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007101/1.648, allocations: 2.821 MB / 1.003 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/1.648, allocations: 0.8438 kB / 1.003 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.364e-06/1.648, allocations: 0 / 1.003 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.096e-05/1.648, allocations: 0.75 kB / 1.003 GB, free: 1.164 MB / 0.7169 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.004346/1.653, allocations: 1.838 MB / 1.005 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/1.653, allocations: 8.062 kB / 1.005 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002854/1.656, allocations: 433.7 kB / 1.005 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/1.657, allocations: 0.9068 MB / 1.006 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.526e-05/1.657, allocations: 73.19 kB / 1.006 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/1.657, allocations: 91.64 kB / 1.006 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001994/1.659, allocations: 1.204 MB / 1.007 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.123e-05/1.659, allocations: 3.188 kB / 1.007 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/1.659, allocations: 38.78 kB / 1.007 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.908e-05/1.66, allocations: 53.78 kB / 1.008 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/1.661, allocations: 1.068 MB / 1.009 GB, free: 15.68 MB / 0.7325 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.005769/1.667, allocations: 4.768 MB / 1.013 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/1.669, allocations: 0.9857 MB / 1.014 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001116/1.67, allocations: 0.592 MB / 1.015 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007608/1.671, allocations: 0.6771 MB / 1.015 GB, free: 12 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/1.671, allocations: 41.31 kB / 1.015 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=82): time 2.855e-06/1.671, allocations: 1 kB / 1.015 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of matching and sorting (n=83): time 0.004958/1.676, allocations: 2.315 MB / 1.018 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/1.676, allocations: 61.31 kB / 1.018 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008374/1.676, allocations: 0.639 MB / 1.018 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.309e-05/1.677, allocations: 41.45 kB / 1.018 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003333/1.677, allocations: 467.9 kB / 1.019 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002811/1.677, allocations: 309.6 kB / 1.019 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002234/1.677, allocations: 133.6 kB / 1.019 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002018/1.678, allocations: 397.1 kB / 1.02 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006383/1.678, allocations: 321.4 kB / 1.02 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006202/1.679, allocations: 433.7 kB / 1.02 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/1.68, allocations: 0.7825 MB / 1.021 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.68, allocations: 0.8438 kB / 1.021 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001708/1.682, allocations: 0.9514 MB / 1.022 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/1.682, allocations: 4.75 kB / 1.022 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/1.682, allocations: 2.938 kB / 1.022 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003554/1.682, allocations: 59.8 kB / 1.022 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006916/1.683, allocations: 157.1 kB / 1.022 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006413/1.684, allocations: 0.6121 MB / 1.023 GB, free: 9.664 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009206/1.685, allocations: 19.72 kB / 1.023 GB, free: 9.664 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.135e-05/1.685, allocations: 27.41 kB / 1.023 GB, free: 9.664 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0006846/1.685, allocations: 307.8 kB / 1.023 GB, free: 9.551 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002095/1.686, allocations: 101.6 kB / 1.023 GB, free: 9.496 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001866/1.687, allocations: 0.9252 MB / 1.024 GB, free: 9.426 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/1.687, allocations: 7.031 kB / 1.024 GB, free: 9.426 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-06/1.687, allocations: 4.344 kB / 1.024 GB, free: 9.426 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001314/1.689, allocations: 0.9297 MB / 1.025 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003727/1.692, allocations: 2.12 MB / 1.027 GB, free: 8.816 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/1.693, allocations: 3.984 kB / 1.027 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008972/1.693, allocations: 187.4 kB / 1.027 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/1.693, allocations: 3.375 kB / 1.027 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.66e-05/1.694, allocations: 22.45 kB / 1.027 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/1.694, allocations: 6.312 kB / 1.027 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.76e-06/1.694, allocations: 3.938 kB / 1.027 GB, free: 8.809 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002223/1.696, allocations: 1.393 MB / 1.029 GB, free: 8.59 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004898/1.696, allocations: 253.2 kB / 1.029 GB, free: 8.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/1.696, allocations: 21.47 kB / 1.029 GB, free: 8.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006391/1.697, allocations: 26.39 kB / 1.029 GB, free: 8.445 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/1.697, allocations: 50.45 kB / 1.029 GB, free: 8.445 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.358e-05/1.697, allocations: 28.8 kB / 1.029 GB, free: 8.445 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006703/1.698, allocations: 455 kB / 1.03 GB, free: 8.352 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.21e-07/1.698, allocations: 0 / 1.03 GB, free: 8.352 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001079/1.699, allocations: 319.7 kB / 1.03 GB, free: 8.348 MB / 0.7325 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 (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.0004756/1.7, allocations: 212.7 kB / 1.03 GB, free: 8.254 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001567/1.701, allocations: 0.8117 MB / 1.031 GB, free: 8.234 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/1.701, allocations: 0.9062 kB / 1.031 GB, free: 8.234 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000632/1.702, allocations: 444 kB / 1.031 GB, free: 8.234 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002562/1.704, allocations: 0.6002 MB / 1.032 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004173/1.708, allocations: 2.31 MB / 1.034 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007391/1.709, allocations: 1.123 MB / 1.035 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001097/1.71, allocations: 249.6 kB / 1.036 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002531/1.711, allocations: 83.98 kB / 1.036 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of SimCode: time 1.253e-06/1.711, allocations: 0 / 1.036 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of Templates: time 0.03862/1.749, allocations: 20.67 MB / 1.056 GB, free: 6.781 MB / 0.7481 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)