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/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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004616/0.004615, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.00101/0.00101, allocations: 193.6 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.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7365/0.7365, allocations: 132.2 MB / 422.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 59.91 kB / 0.5813 GB, free: 7.59 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4138/0.4149, allocations: 80.2 MB / 0.6597 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.TrickleVent): time 0.2058/0.6208, allocations: 187.1 MB / 0.8424 GB, free: 10.5 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02572/0.6465, allocations: 16.29 MB / 0.8583 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002954/0.6496, allocations: 51.75 kB / 0.8583 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002562/0.6521, allocations: 0.7255 MB / 0.859 GB, free: 9.379 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.007321/0.6595, allocations: 2.351 MB / 0.8613 GB, free: 7.023 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005531/0.6651, allocations: 1.946 MB / 0.8632 GB, free: 5.094 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005564/0.6706, allocations: 3.573 MB / 0.8667 GB, free: 1.508 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4053/1.076, allocations: 2.049 MB / 0.8687 GB, free: 4.742 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003974/1.08, allocations: 1.481 MB / 0.8702 GB, free: 4.742 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002161/1.082, allocations: 1.247 MB / 0.8714 GB, free: 4.742 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005/1.083, allocations: 219.5 kB / 0.8716 GB, free: 4.742 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004692/1.087, allocations: 2.16 MB / 0.8737 GB, free: 4.742 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001076/1.088, allocations: 0.7422 MB / 0.8744 GB, free: 4.742 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001973/1.09, allocations: 1.199 MB / 0.8756 GB, free: 4.742 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007846/1.098, allocations: 3.852 MB / 0.8794 GB, free: 4.344 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/1.098, allocations: 1.078 kB / 0.8794 GB, free: 4.344 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.245e-06/1.098, allocations: 4.969 kB / 0.8794 GB, free: 4.344 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.403e-05/1.098, allocations: 0 / 0.8794 GB, free: 4.344 MB / 0.6856 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.005888/1.104, allocations: 2.824 MB / 0.8821 GB, free: 2.945 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/1.104, allocations: 10.16 kB / 0.8821 GB, free: 2.945 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003571/1.108, allocations: 0.5553 MB / 0.8827 GB, free: 2.805 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002455/1.11, allocations: 1.536 MB / 0.8842 GB, free: 2.332 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/1.111, allocations: 128.2 kB / 0.8843 GB, free: 2.328 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002524/1.111, allocations: 177.4 kB / 0.8845 GB, free: 2.324 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003496/1.114, allocations: 1.982 MB / 0.8864 GB, free: 2.074 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.086e-05/1.114, allocations: 2.375 kB / 0.8864 GB, free: 2.074 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001549/1.114, allocations: 78.72 kB / 0.8865 GB, free: 2.074 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-05/1.115, allocations: 71.62 kB / 0.8866 GB, free: 2.07 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0034/1.118, allocations: 2.039 MB / 0.8886 GB, free: 2.055 MB / 0.6856 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.01144/1.129, allocations: 7.186 MB / 0.8956 GB, free: 15.13 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002681/1.132, allocations: 1.595 MB / 0.8971 GB, free: 14.91 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00138/1.134, allocations: 0.7261 MB / 0.8978 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00075/1.134, allocations: 0.6522 MB / 0.8985 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001592/1.136, allocations: 0.9058 MB / 0.8994 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=142): time 3.647e-06/1.136, allocations: 0.9688 kB / 0.8994 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of matching and sorting (n=142): time 0.005204/1.141, allocations: 2.523 MB / 0.9018 GB, free: 13.67 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/1.141, allocations: 225.1 kB / 0.902 GB, free: 13.42 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001802/1.143, allocations: 1.478 MB / 0.9035 GB, free: 13.24 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001297/1.143, allocations: 55.95 kB / 0.9035 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006147/1.144, allocations: 0.8342 MB / 0.9043 GB, free: 12.9 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004524/1.144, allocations: 0.5027 MB / 0.9048 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004235/1.145, allocations: 252.9 kB / 0.9051 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001744/1.145, allocations: 358.7 kB / 0.9054 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/1.146, allocations: 0.5614 MB / 0.906 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/1.147, allocations: 0.735 MB / 0.9067 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001915/1.149, allocations: 1.305 MB / 0.908 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/1.149, allocations: 0.9688 kB / 0.908 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.003121/1.152, allocations: 1.715 MB / 0.9096 GB, free: 11.85 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/1.152, allocations: 11.12 kB / 0.9097 GB, free: 11.85 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/1.152, allocations: 2.75 kB / 0.9097 GB, free: 11.85 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007131/1.153, allocations: 139.9 kB / 0.9098 GB, free: 11.83 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/1.154, allocations: 309.5 kB / 0.9101 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003811/1.158, allocations: 4.538 MB / 0.9145 GB, free: 7.746 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001583/1.16, allocations: 151.7 kB / 0.9147 GB, free: 7.68 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/1.16, allocations: 57.19 kB / 0.9147 GB, free: 7.68 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001625/1.161, allocations: 0.9152 MB / 0.9156 GB, free: 7.594 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001053/1.162, allocations: 0.7193 MB / 0.9163 GB, free: 7.477 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001939/1.164, allocations: 1.287 MB / 0.9176 GB, free: 7.391 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.891e-06/1.164, allocations: 3.938 kB / 0.9176 GB, free: 7.387 MB / 0.7012 GB Notification: Performance of matching and sorting (n=164) (initialization_lambda0): time 0.003534/1.168, allocations: 1.685 MB / 0.9192 GB, free: 7.203 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/1.168, allocations: 10.16 kB / 0.9192 GB, free: 7.203 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/1.168, allocations: 0 / 0.9192 GB, free: 7.203 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006773/1.169, allocations: 146.3 kB / 0.9194 GB, free: 7.18 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/1.17, allocations: 300.9 kB / 0.9197 GB, free: 7.18 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004064/1.174, allocations: 4.543 MB / 0.9241 GB, free: 3.102 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001672/1.176, allocations: 122 kB / 0.9242 GB, free: 3.055 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001348/1.176, allocations: 55.53 kB / 0.9243 GB, free: 3.055 MB / 0.7012 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.0004625/1.176, allocations: 259 kB / 0.9245 GB, free: 2.875 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005988/1.177, allocations: 188.2 kB / 0.9247 GB, free: 2.777 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004427/1.181, allocations: 1.921 MB / 0.9266 GB, free: 2.629 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/1.181, allocations: 13.59 kB / 0.9266 GB, free: 2.629 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-05/1.181, allocations: 11.5 kB / 0.9266 GB, free: 2.621 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002955/1.184, allocations: 1.578 MB / 0.9281 GB, free: 2.406 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007626/1.192, allocations: 3.68 MB / 0.9317 GB, free: 1.98 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/1.192, allocations: 3.938 kB / 0.9317 GB, free: 1.977 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001318/1.193, allocations: 313.2 kB / 0.932 GB, free: 1.977 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005961/1.194, allocations: 138.5 kB / 0.9322 GB, free: 1.945 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001283/1.194, allocations: 41.23 kB / 0.9322 GB, free: 1.945 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004404/1.198, allocations: 4.544 MB / 0.9366 GB, free: 13.87 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.198, allocations: 0 / 0.9366 GB, free: 13.87 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005094/1.203, allocations: 2.689 MB / 0.9393 GB, free: 13.56 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001258/1.205, allocations: 447.2 kB / 0.9397 GB, free: 13.35 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005294/1.205, allocations: 33.31 kB / 0.9397 GB, free: 13.35 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001536/1.207, allocations: 89.25 kB / 0.9398 GB, free: 13.34 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002534/1.207, allocations: 102.6 kB / 0.9399 GB, free: 13.34 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000157/1.207, allocations: 56.95 kB / 0.94 GB, free: 13.34 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001774/1.209, allocations: 1.038 MB / 0.941 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.5e-07/1.209, allocations: 0 / 0.941 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00403/1.213, allocations: 1.086 MB / 0.942 GB, free: 13.04 MB / 0.7169 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.002477/1.216, allocations: 0.788 MB / 0.9428 GB, free: 12.85 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004974/1.221, allocations: 2.906 MB / 0.9456 GB, free: 12.15 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.094e-06/1.221, allocations: 1.562 kB / 0.9456 GB, free: 12.15 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001714/1.222, allocations: 1.136 MB / 0.9467 GB, free: 11.81 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003536/1.226, allocations: 0.7376 MB / 0.9475 GB, free: 11.74 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008245/1.234, allocations: 4.011 MB / 0.9514 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00177/1.236, allocations: 1.52 MB / 0.9529 GB, free: 9.465 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00263/1.239, allocations: 0.5909 MB / 0.9534 GB, free: 9.297 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006053/1.239, allocations: 160.1 kB / 0.9536 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of SimCode: time 7.12e-07/1.239, allocations: 8 kB / 0.9536 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of Templates: time 0.05724/1.296, allocations: 34.77 MB / 0.9876 GB, free: 8.02 MB / 0.7481 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)