Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.PressurizationData.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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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(Buildings.Airflow.Multizone.Examples.PressurizationData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pow_1dat1.V_flow|pow_1dat.V_flow|pow_1dat1.dp|pow_1dat.dp",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.PressurizationData") translateModel(Buildings.Airflow.Multizone.Examples.PressurizationData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pow_1dat1.V_flow|pow_1dat.V_flow|pow_1dat1.dp|pow_1dat.dp",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.PressurizationData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001624/0.001625, allocations: 103.2 kB / 16.35 MB, free: 5.875 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.001641/0.001641, allocations: 196 kB / 17.3 MB, free: 5.516 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.549/2.549, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001352, allocations: 63.59 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3335, allocations: 153 MB / 1.027 GB, free: 2.035 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PressurizationData): time 0.8937/1.227, allocations: 187.3 MB / 1.21 GB, free: 13.42 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02687/1.254, allocations: 15.99 MB / 1.225 GB, free: 480 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003063/1.257, allocations: 38.84 kB / 1.225 GB, free: 468 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002775/1.26, allocations: 0.718 MB / 1.226 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.008449/1.269, allocations: 2.256 MB / 1.228 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00642/1.275, allocations: 1.821 MB / 1.23 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.006866/1.282, allocations: 3.634 MB / 1.233 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004175/1.286, allocations: 1.932 MB / 1.235 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004734/1.291, allocations: 1.499 MB / 1.237 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002677/1.294, allocations: 1.244 MB / 1.238 GB, free: 4.934 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0008721/1.295, allocations: 215.9 kB / 1.238 GB, free: 4.723 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005041/1.3, allocations: 1.946 MB / 1.24 GB, free: 2.773 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0008669/1.3, allocations: 0.6503 MB / 1.241 GB, free: 2.121 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001662/1.302, allocations: 1.147 MB / 1.242 GB, free: 0.9688 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.005912/1.308, allocations: 3.54 MB / 1.245 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/1.308, allocations: 0 / 1.245 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of FrontEnd: time 4.058e-06/1.308, allocations: 0 / 1.245 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.68e-05/1.308, allocations: 3.938 kB / 1.245 GB, free: 13.41 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.004893/1.313, allocations: 2.538 MB / 1.248 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/1.313, allocations: 12.03 kB / 1.248 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003556/1.317, allocations: 0.5165 MB / 1.248 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002679/1.319, allocations: 1.314 MB / 1.25 GB, free: 8.91 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/1.32, allocations: 127.2 kB / 1.25 GB, free: 8.785 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002351/1.32, allocations: 160 kB / 1.25 GB, free: 8.629 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00326/1.323, allocations: 1.856 MB / 1.252 GB, free: 6.695 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.075e-05/1.323, allocations: 7.984 kB / 1.252 GB, free: 6.688 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001565/1.323, allocations: 72 kB / 1.252 GB, free: 6.617 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-05/1.323, allocations: 67.14 kB / 1.252 GB, free: 6.551 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003091/1.326, allocations: 1.87 MB / 1.254 GB, free: 4.676 MB / 0.9512 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.009292/1.336, allocations: 6.518 MB / 1.26 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002713/1.338, allocations: 1.578 MB / 1.262 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001065/1.34, allocations: 0.6476 MB / 1.262 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007024/1.34, allocations: 0.6259 MB / 1.263 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001666/1.342, allocations: 0.8722 MB / 1.264 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=142): time 3.807e-06/1.342, allocations: 4 kB / 1.264 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of matching and sorting (n=142): time 0.006132/1.348, allocations: 2.325 MB / 1.266 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000136/1.348, allocations: 197.2 kB / 1.266 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001742/1.35, allocations: 1.096 MB / 1.267 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001583/1.35, allocations: 53.7 kB / 1.267 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006676/1.351, allocations: 0.712 MB / 1.268 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004507/1.351, allocations: 481.1 kB / 1.268 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003928/1.352, allocations: 259.4 kB / 1.269 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001664/1.352, allocations: 361.9 kB / 1.269 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009555/1.353, allocations: 0.5035 MB / 1.27 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001128/1.354, allocations: 0.6673 MB / 1.27 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002108/1.356, allocations: 1.177 MB / 1.271 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/1.356, allocations: 0 / 1.271 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.003472/1.36, allocations: 1.564 MB / 1.273 GB, free: 232 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/1.36, allocations: 6.344 kB / 1.273 GB, free: 228 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/1.36, allocations: 8.156 kB / 1.273 GB, free: 220 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007871/1.36, allocations: 142.4 kB / 1.273 GB, free: 68 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00137/1.362, allocations: 307.6 kB / 1.273 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004371/1.366, allocations: 4.537 MB / 1.278 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/1.368, allocations: 134.9 kB / 1.278 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/1.368, allocations: 59.97 kB / 1.278 GB, free: 10.61 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 159 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008777/1.369, allocations: 431.1 kB / 1.278 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00032/1.369, allocations: 154.1 kB / 1.278 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003854/1.373, allocations: 1.808 MB / 1.28 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/1.373, allocations: 16 kB / 1.28 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/1.373, allocations: 0 / 1.28 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0029/1.376, allocations: 1.486 MB / 1.282 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006348/1.382, allocations: 3.493 MB / 1.285 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/1.382, allocations: 0 / 1.285 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001398/1.384, allocations: 295.6 kB / 1.285 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006299/1.384, allocations: 130.5 kB / 1.286 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001136/1.385, allocations: 43.97 kB / 1.286 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004132/1.389, allocations: 4.542 MB / 1.29 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.315e-05/1.389, allocations: 4.031 kB / 1.29 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004932/1.394, allocations: 2.438 MB / 1.292 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/1.395, allocations: 430.8 kB / 1.293 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002238/1.395, allocations: 39.89 kB / 1.293 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/1.396, allocations: 81.17 kB / 1.293 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002421/1.396, allocations: 109.2 kB / 1.293 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001449/1.397, allocations: 67.95 kB / 1.293 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001089/1.398, allocations: 0.7539 MB / 1.294 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.71e-07/1.398, allocations: 0 / 1.294 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001639/1.399, allocations: 0.6392 MB / 1.294 GB, free: 9.062 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (room.dynBal.medium.Xi[1],room.dynBal.U,room.dynBal.m,pow_1dat.mExc,pow_1dat1.mExc) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001743/1.401, allocations: 0.7567 MB / 1.295 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003116/1.404, allocations: 1.651 MB / 1.297 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/1.404, allocations: 4.438 kB / 1.297 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001784/1.406, allocations: 1.07 MB / 1.298 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00308/1.409, allocations: 0.7108 MB / 1.299 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00594/1.415, allocations: 3.35 MB / 1.302 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/1.416, allocations: 1.39 MB / 1.303 GB, free: 208 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001783/1.418, allocations: 464.5 kB / 1.304 GB, free: 15.74 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004666/1.418, allocations: 171.4 kB / 1.304 GB, free: 15.57 MB / 1.014 GB Notification: Performance of SimCode: time 7.12e-07/1.418, allocations: 0 / 1.304 GB, free: 15.57 MB / 1.014 GB Notification: Performance of Templates: time 0.05674/1.475, allocations: 32.02 MB / 1.335 GB, free: 15.93 MB / 1.045 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PressurizationData.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PressurizationData.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.PressurizationData -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.PressurizationData.pipe 2>&1)