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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, 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.001194/0.001194, allocations: 191.7 kB / 16.25 MB, free: 6.586 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.346/1.346, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002119/0.002119, allocations: 286.7 kB / 290.4 MB, free: 2.105 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9635/0.9635, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003254/0.003254, allocations: 89 kB / 0.5947 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1755, allocations: 86.99 MB / 0.6796 GB, free: 1.094 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors): time 0.5021/0.6776, allocations: 215.7 MB / 0.8903 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02461/0.7023, allocations: 20.31 MB / 0.9101 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003005/0.7053, allocations: 45.34 kB / 0.9101 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003283/0.7086, allocations: 1.134 MB / 0.9112 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0103/0.719, allocations: 3.838 MB / 0.915 GB, free: 6.93 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004069/0.7231, allocations: 1.413 MB / 0.9164 GB, free: 5.523 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.008187/0.7313, allocations: 6.963 MB / 0.9232 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003169/0.7345, allocations: 2.326 MB / 0.9254 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004537/0.739, allocations: 2.395 MB / 0.9278 GB, free: 9.766 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005282/0.7443, allocations: 2.61 MB / 0.9303 GB, free: 7.16 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0007469/0.7451, allocations: 344 kB / 0.9307 GB, free: 6.824 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007831/0.7529, allocations: 3.632 MB / 0.9342 GB, free: 3.184 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00188/0.7549, allocations: 1.454 MB / 0.9356 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002772/0.7576, allocations: 1.867 MB / 0.9374 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.009125/0.7668, allocations: 5.963 MB / 0.9433 GB, free: 9.871 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.7668, allocations: 0 / 0.9433 GB, free: 9.871 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7668, allocations: 0 / 0.9433 GB, free: 9.871 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001165/0.767, allocations: 0 / 0.9433 GB, free: 9.871 MB / 0.6544 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.009927/0.7769, allocations: 3.945 MB / 0.9471 GB, free: 5.863 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.7769, allocations: 8.031 kB / 0.9471 GB, free: 5.855 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004994/0.7819, allocations: 0.829 MB / 0.9479 GB, free: 5.023 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00409/0.7861, allocations: 1.879 MB / 0.9498 GB, free: 3.086 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001593/0.7862, allocations: 201.4 kB / 0.95 GB, free: 2.887 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000638/0.7869, allocations: 272 kB / 0.9502 GB, free: 2.621 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006665/0.7936, allocations: 3.283 MB / 0.9534 GB, free: 15.3 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.259e-05/0.7937, allocations: 3.906 kB / 0.9534 GB, free: 15.29 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003833/0.7941, allocations: 108 kB / 0.9535 GB, free: 15.19 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001231/0.7942, allocations: 125.4 kB / 0.9537 GB, free: 15.06 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007487/0.8017, allocations: 4.627 MB / 0.9582 GB, free: 10.42 MB / 0.67 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.01649/0.8182, allocations: 10.87 MB / 0.9688 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006123/0.8244, allocations: 4.848 MB / 0.9735 GB, free: 9.992 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003521/0.8279, allocations: 2.524 MB / 0.976 GB, free: 7.465 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001114/0.829, allocations: 0.8721 MB / 0.9768 GB, free: 6.426 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.474e-05/0.8291, allocations: 73.7 kB / 0.9769 GB, free: 6.344 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=399): time 5.641e-06/0.8292, allocations: 0 / 0.9769 GB, free: 6.344 MB / 0.6856 GB Notification: Performance of matching and sorting (n=399): time 0.01005/0.8392, allocations: 6.03 MB / 0.9828 GB, free: 232 kB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.675e-05/0.8393, allocations: 94.55 kB / 0.9829 GB, free: 124 kB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001953/0.8412, allocations: 1.228 MB / 0.9841 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002565/0.8415, allocations: 93.7 kB / 0.9842 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005621/0.8421, allocations: 0.8135 MB / 0.985 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001163/0.8433, allocations: 1.328 MB / 0.9863 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009693/0.8442, allocations: 0.543 MB / 0.9868 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.8444, allocations: 305.1 kB / 0.9871 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002712/0.8471, allocations: 1.603 MB / 0.9887 GB, free: 10.16 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00282/0.8499, allocations: 1.909 MB / 0.9905 GB, free: 8.207 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005489/0.8554, allocations: 3.839 MB / 0.9943 GB, free: 4.309 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.819e-06/0.8555, allocations: 0 / 0.9943 GB, free: 4.309 MB / 0.7012 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006538/0.862, allocations: 4.191 MB / 0.9984 GB, free: 96 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/0.862, allocations: 11.94 kB / 0.9984 GB, free: 84 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.8621, allocations: 0 / 0.9984 GB, free: 84 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.688e-05/0.8621, allocations: 23.94 kB / 0.9984 GB, free: 60 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002798/0.8649, allocations: 0.6826 MB / 0.9991 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-05/0.865, allocations: 19.98 kB / 0.9991 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002796/0.8678, allocations: 401.3 kB / 0.9995 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002661/0.8681, allocations: 116 kB / 0.9996 GB, free: 14.85 MB / 0.7169 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.001324/0.8694, allocations: 0.7293 MB / 1 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006186/0.87, allocations: 249 kB / 1.001 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007364/0.8774, allocations: 4.634 MB / 1.005 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.228e-05/0.8774, allocations: 39.94 kB / 1.005 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.707e-05/0.8775, allocations: 4 kB / 1.005 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005767/0.8832, allocations: 3.961 MB / 1.009 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01346/0.8967, allocations: 8.276 MB / 1.017 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.858e-05/0.8968, allocations: 4 kB / 1.017 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003051/0.8998, allocations: 0.6593 MB / 1.018 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005367/0.9004, allocations: 134.5 kB / 1.018 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004421/0.9009, allocations: 87.91 kB / 1.018 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004268/0.9052, allocations: 5.036 MB / 1.023 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.9052, allocations: 0 / 1.023 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01241/0.9176, allocations: 6.818 MB / 1.029 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002261/0.9199, allocations: 0.759 MB / 1.03 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007/0.9206, allocations: 68 kB / 1.03 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002758/0.9234, allocations: 226.7 kB / 1.031 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005789/0.924, allocations: 222.8 kB / 1.031 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003508/0.9244, allocations: 112 kB / 1.031 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001384/0.9258, allocations: 0.8606 MB / 1.032 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.1e-07/0.9258, allocations: 0 / 1.032 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003185/0.929, allocations: 1.088 MB / 1.033 GB, free: 12.19 MB / 0.7481 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.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,volC.dynBal.medium.Xi[1],volC.dynBal.U,volC.dynBal.m,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.0008063/0.9298, allocations: 343.1 kB / 1.033 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.02322/0.953, allocations: 11.49 MB / 1.044 GB, free: 352 kB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/0.9531, allocations: 0 / 1.044 GB, free: 352 kB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0041/0.9572, allocations: 2.551 MB / 1.047 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005467/0.9627, allocations: 1.073 MB / 1.048 GB, free: 12.7 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01225/0.975, allocations: 7.841 MB / 1.055 GB, free: 4.812 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002088/0.9771, allocations: 1.942 MB / 1.057 GB, free: 2.828 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.004752/0.9819, allocations: 1.223 MB / 1.059 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001406/0.9833, allocations: 243.4 kB / 1.059 GB, free: 1.359 MB / 0.7637 GB Notification: Performance of SimCode: time 1.503e-06/0.9833, allocations: 0 / 1.059 GB, free: 1.359 MB / 0.7637 GB Notification: Performance of Templates: time 0.3735/1.357, allocations: 47.48 MB / 1.105 GB, free: 272.7 MB / 0.7637 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)