Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.TrickleVent.conf.json 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/IDEAS 3.0.0/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Airflow.Multizone.Examples.TrickleVent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8640,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.TrickleVent") translateModel(IDEAS.Airflow.Multizone.Examples.TrickleVent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8640,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.TrickleVent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001748/0.001748, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7004/0.7004, allocations: 132.2 MB / 148.9 MB, free: 12.13 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.58/1.58, allocations: 222.9 MB / 403.4 MB, free: 7.066 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009753/0.0009753, allocations: 113.5 kB / 484.4 MB, free: 8.688 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001049/0.001049, allocations: 55.92 kB / 0.5619 GB, free: 71.01 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1334, allocations: 80.2 MB / 0.6402 GB, free: 6.742 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.TrickleVent): time 0.4971/0.6306, allocations: 184.8 MB / 0.8206 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.02344/0.6541, allocations: 16.39 MB / 0.8366 GB, free: 9.848 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001588/0.6557, allocations: 51.69 kB / 0.8367 GB, free: 9.797 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001633/0.6573, allocations: 0.6137 MB / 0.8373 GB, free: 9.18 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.005427/0.6628, allocations: 2.12 MB / 0.8393 GB, free: 7.059 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.005436/0.6683, allocations: 1.744 MB / 0.841 GB, free: 5.328 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.005715/0.674, allocations: 4.363 MB / 0.8453 GB, free: 0.9492 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002771/0.6768, allocations: 1.867 MB / 0.8471 GB, free: 15.03 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00465/0.6814, allocations: 1.321 MB / 0.8484 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002098/0.6835, allocations: 1.252 MB / 0.8496 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0003014/0.6839, allocations: 112 kB / 0.8497 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004809/0.6887, allocations: 2.284 MB / 0.852 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0007291/0.6894, allocations: 0.6423 MB / 0.8526 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.001271/0.6907, allocations: 1.092 MB / 0.8537 GB, free: 8.324 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.005477/0.6962, allocations: 3.77 MB / 0.8574 GB, free: 4.543 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.6962, allocations: 0 / 0.8574 GB, free: 4.543 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.032e-06/0.6962, allocations: 0 / 0.8574 GB, free: 4.543 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.596e-05/0.6963, allocations: 4 kB / 0.8574 GB, free: 4.539 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 441 * Number of variables: 441 Notification: Performance of Generate backend data structure: time 0.005019/0.7013, allocations: 2.751 MB / 0.86 GB, free: 1.719 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.7014, allocations: 8.031 kB / 0.86 GB, free: 1.711 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003356/0.7047, allocations: 0.5434 MB / 0.8606 GB, free: 1.164 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002431/0.7072, allocations: 1.47 MB / 0.862 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/0.7073, allocations: 123.5 kB / 0.8621 GB, free: 15.52 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002332/0.7075, allocations: 172 kB / 0.8623 GB, free: 15.35 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003367/0.7109, allocations: 1.99 MB / 0.8642 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.689e-05/0.711, allocations: 4 kB / 0.8642 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001596/0.7111, allocations: 72 kB / 0.8643 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.578e-05/0.7112, allocations: 71.3 kB / 0.8644 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003429/0.7146, allocations: 2.042 MB / 0.8664 GB, free: 11.09 MB / 0.6042 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.01007/0.7247, allocations: 7.212 MB / 0.8734 GB, free: 3.512 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002627/0.7274, allocations: 1.587 MB / 0.875 GB, free: 1.875 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001197/0.7286, allocations: 0.7256 MB / 0.8757 GB, free: 1.152 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007824/0.7294, allocations: 0.6494 MB / 0.8763 GB, free: 384 kB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001554/0.7309, allocations: 0.8997 MB / 0.8772 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=142): time 4.408e-06/0.731, allocations: 0 / 0.8772 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=142): time 0.005873/0.7368, allocations: 2.524 MB / 0.8797 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001502/0.737, allocations: 226.9 kB / 0.8799 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00203/0.7391, allocations: 1.479 MB / 0.8813 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001773/0.7392, allocations: 57.7 kB / 0.8814 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009375/0.7402, allocations: 0.819 MB / 0.8822 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005052/0.7407, allocations: 484.9 kB / 0.8826 GB, free: 9.719 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004679/0.7412, allocations: 250.8 kB / 0.8829 GB, free: 9.465 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.7413, allocations: 353.9 kB / 0.8832 GB, free: 9.113 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001053/0.7424, allocations: 0.5721 MB / 0.8838 GB, free: 8.539 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001212/0.7436, allocations: 0.7355 MB / 0.8845 GB, free: 7.762 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002209/0.7458, allocations: 1.305 MB / 0.8858 GB, free: 6.438 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.7459, allocations: 0 / 0.8858 GB, free: 6.438 MB / 0.6198 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.003781/0.7497, allocations: 1.708 MB / 0.8874 GB, free: 4.711 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.7497, allocations: 10.03 kB / 0.8874 GB, free: 4.703 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.7497, allocations: 0 / 0.8874 GB, free: 4.703 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007854/0.7505, allocations: 138.6 kB / 0.8876 GB, free: 4.559 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/0.7519, allocations: 311.5 kB / 0.8879 GB, free: 4.254 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003984/0.7559, allocations: 4.212 MB / 0.892 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/0.7576, allocations: 186.7 kB / 0.8922 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/0.7577, allocations: 55.97 kB / 0.8922 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001717/0.7594, allocations: 0.917 MB / 0.8931 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00114/0.7606, allocations: 0.7199 MB / 0.8938 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002132/0.7627, allocations: 1.283 MB / 0.8951 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.376e-06/0.7628, allocations: 0 / 0.8951 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=164) (initialization_lambda0): time 0.003453/0.7662, allocations: 1.68 MB / 0.8967 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.7662, allocations: 8 kB / 0.8967 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.7663, allocations: 192 / 0.8967 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007094/0.767, allocations: 142.5 kB / 0.8968 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/0.7683, allocations: 311.5 kB / 0.8971 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003829/0.7721, allocations: 4.225 MB / 0.9013 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/0.7738, allocations: 156.6 kB / 0.9014 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/0.7739, allocations: 51.97 kB / 0.9015 GB, free: 5.418 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (158): * Single equations (assignments): 155 * 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.0004382/0.7743, allocations: 266.1 kB / 0.9017 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000323/0.7747, allocations: 177.8 kB / 0.9019 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0041/0.7788, allocations: 1.928 MB / 0.9038 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.7788, allocations: 19.94 kB / 0.9038 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.7788, allocations: 4 kB / 0.9038 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003003/0.7818, allocations: 1.576 MB / 0.9053 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00635/0.7882, allocations: 3.675 MB / 0.9089 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.7882, allocations: 0 / 0.9089 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001397/0.7896, allocations: 315.6 kB / 0.9092 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006828/0.7903, allocations: 134.5 kB / 0.9094 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.462e-05/0.7904, allocations: 39.97 kB / 0.9094 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00366/0.7941, allocations: 4.233 MB / 0.9135 GB, free: 8.516 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.7941, allocations: 0 / 0.9135 GB, free: 8.516 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03714/0.8312, allocations: 15.39 MB / 0.9286 GB, free: 8.57 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001063/0.8323, allocations: 442.3 kB / 0.929 GB, free: 8.117 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003192/0.8327, allocations: 28 kB / 0.929 GB, free: 8.09 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001385/0.8341, allocations: 127.9 kB / 0.9291 GB, free: 7.965 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002466/0.8343, allocations: 97.17 kB / 0.9292 GB, free: 7.871 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001431/0.8345, allocations: 67.95 kB / 0.9293 GB, free: 7.805 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001483/0.836, allocations: 1.035 MB / 0.9303 GB, free: 6.773 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.8e-07/0.836, allocations: 0 / 0.9303 GB, free: 6.773 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004585/0.8406, allocations: 1.645 MB / 0.9319 GB, free: 5.125 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (room.dynBal.U,room.dynBal.m,room.dynBal.mXi[1],tabDat_m_flow.mExc,tabDat_V_flow.mExc) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002743/0.8433, allocations: 0.9531 MB / 0.9328 GB, free: 4.379 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.005074/0.8484, allocations: 2.893 MB / 0.9357 GB, free: 1.41 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.8484, allocations: 4.297 kB / 0.9357 GB, free: 1.406 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001859/0.8503, allocations: 1.128 MB / 0.9368 GB, free: 244 kB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003522/0.8538, allocations: 0.6942 MB / 0.9374 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009932/0.8638, allocations: 5.884 MB / 0.9432 GB, free: 9.602 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001664/0.8655, allocations: 1.553 MB / 0.9447 GB, free: 8.016 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002807/0.8683, allocations: 0.6295 MB / 0.9453 GB, free: 7.379 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006658/0.869, allocations: 179.4 kB / 0.9455 GB, free: 7.203 MB / 0.6823 GB Notification: Performance of SimCode: time 5.01e-07/0.869, allocations: 0 / 0.9455 GB, free: 7.203 MB / 0.6823 GB Notification: Performance of Templates: time 0.3172/1.186, allocations: 41.93 MB / 0.9864 GB, free: 239.1 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.TrickleVent.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.TrickleVent.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.TrickleVent.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.TrickleVent.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.TrickleVent.sim & ./IDEAS_IDEAS.Airflow.Multizone.Examples.TrickleVent -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.TrickleVent.pipe 2>&1)