Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.PressurizationData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PressurizationData") translateModel(BuildingSystems.Airflow.Multizone.Examples.PressurizationData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001009/0.001009, allocations: 91.28 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.001248/0.001248, allocations: 176.7 kB / 15.95 MB, free: 188 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.502/1.502, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001803/0.001803, allocations: 274.6 kB / 291.3 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9723/0.9723, allocations: 169.5 MB / 0.5 GB, free: 14.24 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007178/0.000718, allocations: 11.38 kB / 0.598 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1865, allocations: 88.55 MB / 0.6845 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PressurizationData): time 0.5383/0.7248, allocations: 169.6 MB / 0.85 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01784/0.7427, allocations: 14.78 MB / 0.8645 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001705/0.7444, allocations: 38.19 kB / 0.8645 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001377/0.7458, allocations: 479.8 kB / 0.865 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004614/0.7505, allocations: 1.687 MB / 0.8666 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003603/0.7541, allocations: 1.323 MB / 0.8679 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003859/0.7579, allocations: 3.673 MB / 0.8715 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001915/0.7599, allocations: 1.461 MB / 0.8729 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001914/0.7618, allocations: 1.139 MB / 0.874 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001254/0.7631, allocations: 1.019 MB / 0.875 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001579/0.7632, allocations: 60.12 kB / 0.8751 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00285/0.7661, allocations: 1.183 MB / 0.8762 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004458/0.7665, allocations: 469.2 kB / 0.8767 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004435/0.767, allocations: 399.9 kB / 0.8771 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002685/0.7697, allocations: 2.483 MB / 0.8795 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.7697, allocations: 3.938 kB / 0.8795 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.542e-06/0.7697, allocations: 0 / 0.8795 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.58e-05/0.7697, allocations: 0 / 0.8795 GB, free: 8.586 MB / 0.5919 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.003705/0.7734, allocations: 2.137 MB / 0.8816 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.7735, allocations: 8.031 kB / 0.8816 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003062/0.7766, allocations: 0.5321 MB / 0.8821 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001876/0.7784, allocations: 1.21 MB / 0.8833 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.627e-05/0.7786, allocations: 123.3 kB / 0.8834 GB, free: 4.457 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002061/0.7788, allocations: 163.9 kB / 0.8836 GB, free: 4.297 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00294/0.7817, allocations: 1.858 MB / 0.8854 GB, free: 2.363 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.45e-05/0.7818, allocations: 0 / 0.8854 GB, free: 2.363 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001505/0.7819, allocations: 72 kB / 0.8855 GB, free: 2.293 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-05/0.782, allocations: 63.14 kB / 0.8855 GB, free: 2.23 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002944/0.7849, allocations: 1.866 MB / 0.8873 GB, free: 368 kB / 0.5919 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.00817/0.7931, allocations: 6.314 MB / 0.8935 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002473/0.7956, allocations: 1.579 MB / 0.895 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001015/0.7966, allocations: 0.6521 MB / 0.8957 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000629/0.7973, allocations: 0.6298 MB / 0.8963 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001397/0.7987, allocations: 0.8684 MB / 0.8971 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=142): time 2.946e-06/0.7987, allocations: 0 / 0.8971 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of matching and sorting (n=142): time 0.005059/0.8038, allocations: 2.341 MB / 0.8994 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.892e-05/0.8039, allocations: 197.2 kB / 0.8996 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001358/0.8052, allocations: 1.088 MB / 0.9007 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001089/0.8054, allocations: 61.64 kB / 0.9007 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005344/0.8059, allocations: 0.7043 MB / 0.9014 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003814/0.8063, allocations: 477 kB / 0.9019 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.163e-05/0.8064, allocations: 31.94 kB / 0.9019 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.8065, allocations: 357.9 kB / 0.9023 GB, free: 412 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009003/0.8074, allocations: 0.4958 MB / 0.9027 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/0.8084, allocations: 0.6633 MB / 0.9034 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.8095, allocations: 0.5803 MB / 0.904 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.8095, allocations: 4 kB / 0.904 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.003031/0.8125, allocations: 1.56 MB / 0.9055 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.8126, allocations: 4 kB / 0.9055 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.8126, allocations: 4 kB / 0.9055 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007082/0.8133, allocations: 146.6 kB / 0.9056 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/0.8146, allocations: 307.6 kB / 0.9059 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003531/0.8181, allocations: 4.225 MB / 0.9101 GB, free: 7.953 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/0.8196, allocations: 193.4 kB / 0.9102 GB, free: 7.766 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.8197, allocations: 55.97 kB / 0.9103 GB, free: 7.711 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: 17 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0007895/0.8205, allocations: 419.2 kB / 0.9107 GB, free: 7.293 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002211/0.8207, allocations: 154.1 kB / 0.9108 GB, free: 7.141 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003582/0.8243, allocations: 1.816 MB / 0.9126 GB, free: 5.305 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/0.8243, allocations: 16 kB / 0.9126 GB, free: 5.289 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.8243, allocations: 3.953 kB / 0.9126 GB, free: 5.285 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002658/0.827, allocations: 1.482 MB / 0.9141 GB, free: 3.762 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005377/0.8324, allocations: 3.499 MB / 0.9175 GB, free: 204 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.8324, allocations: 0 / 0.9175 GB, free: 204 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/0.8337, allocations: 291.6 kB / 0.9178 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000603/0.8343, allocations: 146.4 kB / 0.9179 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.274e-05/0.8344, allocations: 51.92 kB / 0.918 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003335/0.8378, allocations: 4.222 MB / 0.9221 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.8378, allocations: 4.031 kB / 0.9221 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004272/0.8421, allocations: 2.428 MB / 0.9245 GB, free: 8.629 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008528/0.8429, allocations: 446.6 kB / 0.9249 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002066/0.8431, allocations: 31.95 kB / 0.9249 GB, free: 8.141 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/0.8444, allocations: 154.2 kB / 0.9251 GB, free: 7.992 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001962/0.8446, allocations: 109.3 kB / 0.9252 GB, free: 7.887 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001192/0.8447, allocations: 63.95 kB / 0.9252 GB, free: 7.824 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001016/0.8457, allocations: 0.7383 MB / 0.9259 GB, free: 7.082 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2e-07/0.8457, allocations: 0 / 0.9259 GB, free: 7.082 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001815/0.8475, allocations: 0.6313 MB / 0.9266 GB, free: 6.449 MB / 0.6387 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001665/0.8492, allocations: 0.7491 MB / 0.9273 GB, free: 5.879 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00281/0.852, allocations: 1.64 MB / 0.9289 GB, free: 4.199 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.8521, allocations: 4.625 kB / 0.9289 GB, free: 4.195 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00157/0.8536, allocations: 1.069 MB / 0.9299 GB, free: 3.086 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002765/0.8564, allocations: 0.6522 MB / 0.9306 GB, free: 2.441 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006673/0.8631, allocations: 4.327 MB / 0.9348 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008931/0.864, allocations: 1.394 MB / 0.9362 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001829/0.8659, allocations: 468.3 kB / 0.9366 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000442/0.8663, allocations: 167.4 kB / 0.9368 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of SimCode: time 7.61e-07/0.8663, allocations: 0 / 0.9368 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of Templates: time 0.04511/0.9114, allocations: 29.17 MB / 0.9653 GB, free: 15.24 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PressurizationData.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PressurizationData.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PressurizationData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PressurizationData.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PressurizationData.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PressurizationData -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PressurizationData.pipe 2>&1)