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.001784/0.001784, allocations: 110.8 kB / 16.41 MB, free: 6.496 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.001996/0.001996, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002439/0.002439, allocations: 276.9 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9507/0.9507, allocations: 169.2 MB / 0.499 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 91.86 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4515/0.4536, allocations: 86.98 MB / 0.767 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors): time 0.7255/1.179, allocations: 218.5 MB / 0.9804 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0225/1.202, allocations: 20.44 MB / 1 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002876/1.205, allocations: 58.81 kB / 1 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00307/1.208, allocations: 1.248 MB / 1.002 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01035/1.218, allocations: 4.08 MB / 1.006 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003957/1.222, allocations: 1.542 MB / 1.007 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.007863/1.23, allocations: 6.962 MB / 1.014 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003666/1.234, allocations: 2.37 MB / 1.016 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005118/1.239, allocations: 2.394 MB / 1.019 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005151/1.244, allocations: 2.453 MB / 1.021 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001617/1.246, allocations: 343.7 kB / 1.021 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009019/1.255, allocations: 3.469 MB / 1.025 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002715/1.257, allocations: 1.448 MB / 1.026 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.005111/1.263, allocations: 1.867 MB / 1.028 GB, free: 412 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01236/1.275, allocations: 5.765 MB / 1.034 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/1.275, allocations: 1.062 kB / 1.034 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.853e-06/1.275, allocations: 0.9375 kB / 1.034 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0002146/1.275, allocations: 0 / 1.034 GB, free: 15.72 MB / 0.7325 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.01428/1.289, allocations: 3.95 MB / 1.037 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/1.29, allocations: 10.38 kB / 1.037 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005143/1.295, allocations: 0.8235 MB / 1.038 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004603/1.299, allocations: 1.938 MB / 1.04 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001417/1.3, allocations: 199.5 kB / 1.04 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006007/1.3, allocations: 276.5 kB / 1.041 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005631/1.306, allocations: 3.288 MB / 1.044 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.059e-05/1.306, allocations: 2.812 kB / 1.044 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002961/1.306, allocations: 115.1 kB / 1.044 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001121/1.306, allocations: 120.1 kB / 1.044 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00743/1.314, allocations: 4.621 MB / 1.049 GB, free: 8.164 MB / 0.7325 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.02053/1.334, allocations: 10.93 MB / 1.059 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006949/1.341, allocations: 4.865 MB / 1.064 GB, free: 7.895 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004401/1.346, allocations: 2.535 MB / 1.066 GB, free: 5.355 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001321/1.347, allocations: 0.8604 MB / 1.067 GB, free: 4.344 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.434e-05/1.347, allocations: 81.7 kB / 1.067 GB, free: 4.254 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=399): time 7.344e-06/1.347, allocations: 0 / 1.067 GB, free: 4.254 MB / 0.7481 GB Notification: Performance of matching and sorting (n=399): time 0.01133/1.359, allocations: 6.021 MB / 1.073 GB, free: 14.15 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.544e-05/1.359, allocations: 98.55 kB / 1.073 GB, free: 14.04 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002321/1.361, allocations: 1.228 MB / 1.075 GB, free: 12.81 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0005742/1.362, allocations: 93.7 kB / 1.075 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006472/1.362, allocations: 0.8134 MB / 1.075 GB, free: 11.89 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.001677/1.364, allocations: 1.334 MB / 1.077 GB, free: 10.57 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001656/1.366, allocations: 0.543 MB / 1.077 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.789e-05/1.366, allocations: 309.1 kB / 1.078 GB, free: 9.711 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002867/1.369, allocations: 1.603 MB / 1.079 GB, free: 8.105 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003114/1.372, allocations: 1.906 MB / 1.081 GB, free: 6.156 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006288/1.378, allocations: 3.832 MB / 1.085 GB, free: 2.277 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.446e-05/1.378, allocations: 4 kB / 1.085 GB, free: 2.273 MB / 0.7637 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007856/1.386, allocations: 4.186 MB / 1.089 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.188e-05/1.386, allocations: 6.812 kB / 1.089 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/1.386, allocations: 7.984 kB / 1.089 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.949e-05/1.386, allocations: 16 kB / 1.089 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003189/1.389, allocations: 0.6875 MB / 1.089 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.485e-05/1.389, allocations: 20 kB / 1.089 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002995/1.392, allocations: 237.3 kB / 1.09 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003966/1.393, allocations: 120 kB / 1.09 GB, free: 13.04 MB / 0.7794 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.001818/1.395, allocations: 0.7249 MB / 1.091 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001019/1.396, allocations: 245 kB / 1.091 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008707/1.404, allocations: 4.632 MB / 1.095 GB, free: 7.43 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.415e-05/1.404, allocations: 40 kB / 1.095 GB, free: 7.391 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.153e-05/1.404, allocations: 0 / 1.095 GB, free: 7.391 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006578/1.411, allocations: 3.96 MB / 1.099 GB, free: 3.379 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01504/1.426, allocations: 8.281 MB / 1.107 GB, free: 11.11 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/1.426, allocations: 0 / 1.107 GB, free: 11.11 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002991/1.429, allocations: 0.6654 MB / 1.108 GB, free: 10.48 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005104/1.43, allocations: 134.5 kB / 1.108 GB, free: 10.34 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003466/1.43, allocations: 79.98 kB / 1.108 GB, free: 10.26 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004074/1.434, allocations: 5.038 MB / 1.113 GB, free: 4.84 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/1.434, allocations: 11.97 kB / 1.113 GB, free: 4.828 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01161/1.446, allocations: 6.821 MB / 1.12 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00216/1.448, allocations: 0.7589 MB / 1.12 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008835/1.449, allocations: 68 kB / 1.121 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002552/1.451, allocations: 87.83 kB / 1.121 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000507/1.452, allocations: 222.8 kB / 1.121 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003398/1.452, allocations: 119.9 kB / 1.121 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001646/1.454, allocations: 0.8567 MB / 1.122 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.31e-07/1.454, allocations: 0 / 1.122 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003663/1.458, allocations: 1.073 MB / 1.123 GB, free: 10.76 MB / 0.8106 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.0008306/1.458, allocations: 338.8 kB / 1.123 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00677/1.465, allocations: 4.063 MB / 1.127 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/1.465, allocations: 4 kB / 1.127 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.004014/1.469, allocations: 2.544 MB / 1.13 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006732/1.476, allocations: 1.074 MB / 1.131 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01287/1.489, allocations: 6.749 MB / 1.137 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002056/1.491, allocations: 1.942 MB / 1.139 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002179/1.493, allocations: 283.4 kB / 1.139 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of SimCode: time 8.22e-07/1.493, allocations: 0 / 1.139 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of Templates: time 0.086/1.579, allocations: 58.38 MB / 1.196 GB, free: 15.62 MB / 0.8887 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)