Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors") translateModel(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8813/0.8813, allocations: 143.4 MB / 159.2 MB, free: 4.883 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001775/0.001775, allocations: 188.5 kB / 191.9 MB, free: 5.723 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.589/1.589, allocations: 222.9 MB / 447.3 MB, free: 5.848 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 99.77 kB / 0.517 GB, free: 3.719 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002141/0.002141, allocations: 281.6 kB / 0.5973 GB, free: 49.37 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 79.88 kB / 0.6885 GB, free: 3.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4594/0.461, allocations: 81.31 MB / 0.7679 GB, free: 27.64 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors): time 0.7122/1.173, allocations: 216.1 MB / 0.979 GB, free: 15.32 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.02939/1.203, allocations: 20.69 MB / 0.9992 GB, free: 8.867 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004663/1.207, allocations: 44.19 kB / 0.9992 GB, free: 8.852 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.004008/1.211, allocations: 1.092 MB / 1 GB, free: 8.105 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.01262/1.224, allocations: 3.83 MB / 1.004 GB, free: 5.805 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.004353/1.228, allocations: 1.371 MB / 1.005 GB, free: 4.879 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.01145/1.24, allocations: 9.502 MB / 1.015 GB, free: 14.05 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003631/1.244, allocations: 2.009 MB / 1.017 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0056/1.249, allocations: 2.04 MB / 1.019 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006716/1.256, allocations: 2.523 MB / 1.021 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.001377/1.257, allocations: 184 kB / 1.021 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009565/1.267, allocations: 3.951 MB / 1.025 GB, free: 4.012 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.002371/1.269, allocations: 1.298 MB / 1.026 GB, free: 2.727 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.004028/1.273, allocations: 1.692 MB / 1.028 GB, free: 1.043 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.01037/1.284, allocations: 5.822 MB / 1.034 GB, free: 11.49 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/1.284, allocations: 0 / 1.034 GB, free: 11.49 MB / 0.6042 GB Notification: Performance of FrontEnd: time 9.42e-07/1.284, allocations: 0 / 1.034 GB, free: 11.49 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.000165/1.284, allocations: 0 / 1.034 GB, free: 11.49 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.01084/1.295, allocations: 3.938 MB / 1.038 GB, free: 7.512 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.88e-05/1.295, allocations: 15.97 kB / 1.038 GB, free: 7.496 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004636/1.3, allocations: 0.8257 MB / 1.038 GB, free: 6.672 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005004/1.305, allocations: 1.867 MB / 1.04 GB, free: 4.781 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001418/1.305, allocations: 208 kB / 1.04 GB, free: 4.578 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004121/1.305, allocations: 266.5 kB / 1.041 GB, free: 4.32 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005557/1.311, allocations: 3.28 MB / 1.044 GB, free: 1.004 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.194e-05/1.311, allocations: 7.938 kB / 1.044 GB, free: 0.9961 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002229/1.311, allocations: 110.6 kB / 1.044 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001053/1.311, allocations: 129.4 kB / 1.044 GB, free: 0.7617 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007329/1.318, allocations: 4.608 MB / 1.049 GB, free: 12.14 MB / 0.6198 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.01739/1.336, allocations: 10.84 MB / 1.059 GB, free: 0.75 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006004/1.342, allocations: 4.863 MB / 1.064 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003576/1.346, allocations: 2.52 MB / 1.066 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001161/1.347, allocations: 0.8596 MB / 1.067 GB, free: 8.32 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.647e-05/1.347, allocations: 81.64 kB / 1.067 GB, free: 8.23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=399): time 5.671e-06/1.347, allocations: 0 / 1.067 GB, free: 8.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=399): time 0.0106/1.357, allocations: 6.011 MB / 1.073 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.629e-05/1.358, allocations: 102.5 kB / 1.073 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002529/1.36, allocations: 1.215 MB / 1.074 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0003911/1.36, allocations: 93.7 kB / 1.075 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008202/1.361, allocations: 0.8057 MB / 1.075 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.001874/1.363, allocations: 1.335 MB / 1.077 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001162/1.364, allocations: 0.5469 MB / 1.077 GB, free: 14 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001037/1.365, allocations: 301.1 kB / 1.077 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002961/1.367, allocations: 1.599 MB / 1.079 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003095/1.371, allocations: 1.927 MB / 1.081 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006193/1.377, allocations: 3.831 MB / 1.085 GB, free: 6.23 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-05/1.377, allocations: 0 / 1.085 GB, free: 6.23 MB / 0.6511 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008285/1.385, allocations: 4.187 MB / 1.089 GB, free: 2.02 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/1.385, allocations: 8 kB / 1.089 GB, free: 2.012 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.099e-05/1.385, allocations: 7.938 kB / 1.089 GB, free: 2.004 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.322e-05/1.385, allocations: 16 kB / 1.089 GB, free: 1.988 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003097/1.388, allocations: 0.6869 MB / 1.089 GB, free: 1.301 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.731e-05/1.388, allocations: 23.92 kB / 1.089 GB, free: 1.277 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004096/1.393, allocations: 362.7 kB / 1.09 GB, free: 0.9219 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004621/1.393, allocations: 116 kB / 1.09 GB, free: 0.8086 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (430): * Single equations (assignments): 430 * 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.001981/1.395, allocations: 0.7235 MB / 1.091 GB, free: 76 kB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009851/1.396, allocations: 241.2 kB / 1.091 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00994/1.406, allocations: 4.63 MB / 1.095 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.679e-05/1.406, allocations: 39.94 kB / 1.095 GB, free: 11.12 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.929e-05/1.406, allocations: 8 kB / 1.095 GB, free: 11.11 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006857/1.413, allocations: 3.946 MB / 1.099 GB, free: 7.109 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02141/1.434, allocations: 8.259 MB / 1.107 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/1.435, allocations: 0 / 1.107 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003239/1.438, allocations: 0.6749 MB / 1.108 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005824/1.438, allocations: 134.5 kB / 1.108 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005049/1.439, allocations: 87.91 kB / 1.108 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004519/1.443, allocations: 4.563 MB / 1.113 GB, free: 8.992 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.443, allocations: 8.094 kB / 1.113 GB, free: 8.984 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.7198/2.163, allocations: 78.76 MB / 1.19 GB, free: 300.1 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003331/2.167, allocations: 0.7606 MB / 1.19 GB, free: 300 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009398/2.168, allocations: 69.92 kB / 1.19 GB, free: 300 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00334/2.171, allocations: 213.7 kB / 1.191 GB, free: 300 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007558/2.172, allocations: 227.1 kB / 1.191 GB, free: 300 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002931/2.172, allocations: 109.9 kB / 1.191 GB, free: 300 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001462/2.173, allocations: 0.8511 MB / 1.192 GB, free: 299.9 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.5e-07/2.173, allocations: 0 / 1.192 GB, free: 299.9 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.01139/2.185, allocations: 1.876 MB / 1.194 GB, free: 299.8 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],volB.dynBal.U,volB.dynBal.m,volB.dynBal.mXi[1],volC.dynBal.U,volC.dynBal.m,volC.dynBal.mXi[1],dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.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 (393): * Single equations (assignments): 390 * 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): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001556/2.186, allocations: 370.4 kB / 1.194 GB, free: 299.7 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00876/2.195, allocations: 4.047 MB / 1.198 GB, free: 299.6 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/2.195, allocations: 0 / 1.198 GB, free: 299.6 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.003558/2.199, allocations: 2.557 MB / 1.2 GB, free: 298.6 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00513/2.204, allocations: 1.022 MB / 1.201 GB, free: 298.3 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01373/2.218, allocations: 10.34 MB / 1.211 GB, free: 292.9 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00204/2.22, allocations: 2.069 MB / 1.214 GB, free: 292 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.006468/2.226, allocations: 1.49 MB / 1.215 GB, free: 291.8 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002374/2.229, allocations: 300.6 kB / 1.215 GB, free: 291.8 MB / 0.7448 GB Notification: Performance of SimCode: time 1.072e-06/2.229, allocations: 0 / 1.215 GB, free: 291.8 MB / 0.7448 GB Notification: Performance of Templates: time 0.1019/2.331, allocations: 78.79 MB / 1.292 GB, free: 217.1 MB / 0.7448 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)