Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.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.OneOpenDoor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor") translateModel(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00144/0.00144, allocations: 192.5 kB / 16.25 MB, free: 6.633 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.468/1.468, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002554/0.002554, allocations: 274.4 kB / 290.3 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.139/1.139, allocations: 178.6 MB / 0.507 GB, free: 4.758 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004328/0.004328, allocations: 98.23 kB / 0.6059 GB, free: 25.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1777, allocations: 89.15 MB / 0.693 GB, free: 4.766 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor): time 0.5067/0.6845, allocations: 164.7 MB / 0.8538 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0139/0.6984, allocations: 8.464 MB / 0.8621 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001988/0.7004, allocations: 34.72 kB / 0.8621 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001824/0.7023, allocations: 0.4921 MB / 0.8626 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004428/0.7068, allocations: 1.432 MB / 0.864 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002681/0.7094, allocations: 0.9085 MB / 0.8649 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004816/0.7143, allocations: 4.128 MB / 0.8689 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001895/0.7162, allocations: 1.308 MB / 0.8702 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00399/0.7202, allocations: 1.498 MB / 0.8716 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002391/0.7226, allocations: 1.571 MB / 0.8732 GB, free: 2.684 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002583/0.7229, allocations: 186.4 kB / 0.8733 GB, free: 2.684 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00255/0.7254, allocations: 1.117 MB / 0.8744 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007041/0.7261, allocations: 0.6701 MB / 0.8751 GB, free: 1.66 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001395/0.7275, allocations: 1.038 MB / 0.8761 GB, free: 0.6172 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003647/0.7312, allocations: 2.742 MB / 0.8788 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.7312, allocations: 4 kB / 0.8788 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.686e-06/0.7312, allocations: 0 / 0.8788 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.638e-05/0.7313, allocations: 3.938 kB / 0.8788 GB, free: 13.86 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.004663/0.7359, allocations: 2.263 MB / 0.881 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.736, allocations: 8.031 kB / 0.881 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005077/0.7365, allocations: 195.3 kB / 0.8812 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002095/0.7386, allocations: 1.17 MB / 0.8823 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.7387, allocations: 115 kB / 0.8824 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003026/0.739, allocations: 152 kB / 0.8826 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003309/0.7423, allocations: 1.923 MB / 0.8845 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.791e-05/0.7424, allocations: 3.906 kB / 0.8845 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001554/0.7426, allocations: 64.88 kB / 0.8845 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.238e-05/0.7426, allocations: 36 kB / 0.8846 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004248/0.7468, allocations: 2.471 MB / 0.887 GB, free: 5.324 MB / 0.6075 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.008951/0.7558, allocations: 6.1 MB / 0.8929 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003959/0.7598, allocations: 2.796 MB / 0.8957 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002243/0.7621, allocations: 1.417 MB / 0.897 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001987/0.7641, allocations: 1.742 MB / 0.8987 GB, free: 8.52 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.053e-05/0.7641, allocations: 56.56 kB / 0.8988 GB, free: 8.457 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=237): time 4.007e-06/0.7641, allocations: 4 kB / 0.8988 GB, free: 8.453 MB / 0.6231 GB Notification: Performance of matching and sorting (n=237): time 0.006182/0.7703, allocations: 3.438 MB / 0.9022 GB, free: 4.969 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.7704, allocations: 77.41 kB / 0.9022 GB, free: 4.879 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.7716, allocations: 0.7665 MB / 0.903 GB, free: 4.105 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001692/0.7718, allocations: 65.7 kB / 0.903 GB, free: 4.035 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004233/0.7722, allocations: 482.2 kB / 0.9035 GB, free: 3.555 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007747/0.773, allocations: 0.7892 MB / 0.9043 GB, free: 2.754 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005606/0.7735, allocations: 347.6 kB / 0.9046 GB, free: 2.406 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.7737, allocations: 301.1 kB / 0.9049 GB, free: 2.109 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001655/0.7754, allocations: 0.9019 MB / 0.9058 GB, free: 1.203 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001848/0.7772, allocations: 1.132 MB / 0.9069 GB, free: 8 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003718/0.7809, allocations: 2.217 MB / 0.909 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.804e-06/0.781, allocations: 4 kB / 0.909 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004452/0.7854, allocations: 2.436 MB / 0.9114 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.7855, allocations: 4 kB / 0.9114 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.7855, allocations: 4 kB / 0.9114 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.83e-05/0.7855, allocations: 15.94 kB / 0.9114 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001723/0.7873, allocations: 435.4 kB / 0.9119 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.744e-05/0.7873, allocations: 20.33 kB / 0.9119 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/0.7886, allocations: 194.3 kB / 0.9121 GB, free: 10.63 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001736/0.7888, allocations: 79.98 kB / 0.9121 GB, free: 10.55 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (261): * Single equations (assignments): 261 * 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 prepare postOptimizeDAE: time 0.0008663/0.7897, allocations: 441.2 kB / 0.9126 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003543/0.79, allocations: 142.3 kB / 0.9127 GB, free: 9.973 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005071/0.7951, allocations: 2.732 MB / 0.9154 GB, free: 7.223 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.503e-05/0.7952, allocations: 24 kB / 0.9154 GB, free: 7.199 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.7952, allocations: 0 / 0.9154 GB, free: 7.199 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003901/0.7991, allocations: 2.389 MB / 0.9177 GB, free: 4.754 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007302/0.8064, allocations: 4.288 MB / 0.9219 GB, free: 412 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/0.8064, allocations: 3.938 kB / 0.9219 GB, free: 408 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001731/0.8082, allocations: 407.4 kB / 0.9223 GB, free: 0 / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000606/0.8088, allocations: 109.7 kB / 0.9224 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001417/0.809, allocations: 47.98 kB / 0.9225 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009099/0.8099, allocations: 1.124 MB / 0.9236 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.8099, allocations: 0 / 0.9236 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006845/0.8167, allocations: 4.061 MB / 0.9275 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/0.8178, allocations: 486.4 kB / 0.928 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002451/0.8181, allocations: 36 kB / 0.928 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/0.8191, allocations: 107.9 kB / 0.9281 GB, free: 9.941 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002891/0.8194, allocations: 137.8 kB / 0.9283 GB, free: 9.805 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001478/0.8195, allocations: 67.98 kB / 0.9283 GB, free: 9.738 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008006/0.8203, allocations: 0.5342 MB / 0.9288 GB, free: 9.203 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8204, allocations: 0 / 0.9288 GB, free: 9.203 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001556/0.8219, allocations: 0.6475 MB / 0.9295 GB, free: 8.555 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.mExcBA) * 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 (237): * Single equations (assignments): 235 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000812/0.8227, allocations: 379.6 kB / 0.9298 GB, free: 8.176 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01044/0.8332, allocations: 4.855 MB / 0.9346 GB, free: 3.324 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.8332, allocations: 0.9375 kB / 0.9346 GB, free: 3.324 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002139/0.8354, allocations: 1.284 MB / 0.9358 GB, free: 2.043 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00265/0.838, allocations: 0.5734 MB / 0.9364 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006717/0.8448, allocations: 4.467 MB / 0.9408 GB, free: 12.99 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001073/0.8458, allocations: 1.339 MB / 0.9421 GB, free: 11.62 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002352/0.8482, allocations: 0.7267 MB / 0.9428 GB, free: 10.88 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005425/0.8488, allocations: 159.3 kB / 0.9429 GB, free: 10.73 MB / 0.67 GB Notification: Performance of SimCode: time 5.11e-07/0.8488, allocations: 0 / 0.9429 GB, free: 10.73 MB / 0.67 GB Notification: Performance of Templates: time 0.05256/0.9013, allocations: 27.59 MB / 0.9699 GB, free: 15.47 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)