Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors") translateModel(Buildings.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.413/1.413, allocations: 252 MB / 267.6 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001156/0.001156, allocations: 174.4 kB / 327.3 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.661/1.661, allocations: 205.4 MB / 0.5783 GB, free: 20.52 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008531/0.000853, allocations: 85.83 kB / 0.6829 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003416/0.0003416, allocations: 11.17 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2091, allocations: 106.3 MB / 0.9008 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.6337/0.8428, allocations: 199 MB / 1.095 GB, free: 3.695 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02555/0.8683, allocations: 20.12 MB / 1.115 GB, free: 3.324 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003587/0.872, allocations: 42.97 kB / 1.115 GB, free: 3.324 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003342/0.8754, allocations: 0.8135 MB / 1.116 GB, free: 3.316 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01019/0.8856, allocations: 3.025 MB / 1.119 GB, free: 3.172 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004059/0.8897, allocations: 1.048 MB / 1.12 GB, free: 3.148 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01036/0.9, allocations: 8.001 MB / 1.127 GB, free: 3.109 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004206/0.9043, allocations: 1.72 MB / 1.129 GB, free: 2.918 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005612/0.9099, allocations: 2 MB / 1.131 GB, free: 2.914 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005322/0.9153, allocations: 2.405 MB / 1.133 GB, free: 2.902 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001452/0.9168, allocations: 159 kB / 1.134 GB, free: 2.902 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007779/0.9246, allocations: 1.724 MB / 1.135 GB, free: 2.863 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.003488/0.9281, allocations: 1.261 MB / 1.136 GB, free: 2.656 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.003489/0.9316, allocations: 0.6317 MB / 1.137 GB, free: 18.62 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.007998/0.9397, allocations: 3.953 MB / 1.141 GB, free: 16.64 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.9397, allocations: 3.156 kB / 1.141 GB, free: 16.64 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9397, allocations: 0 / 1.141 GB, free: 16.64 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002518/0.94, allocations: 0 / 1.141 GB, free: 16.64 MB / 0.7136 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.01127/0.9513, allocations: 3.476 MB / 1.144 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.9513, allocations: 8 kB / 1.144 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005967/0.9573, allocations: 0.8237 MB / 1.145 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005477/0.9628, allocations: 1.812 MB / 1.147 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002734/0.9631, allocations: 205.2 kB / 1.147 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001143/0.9643, allocations: 275.7 kB / 1.147 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009188/0.9735, allocations: 3.26 MB / 1.151 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001621/0.9737, allocations: 6.469 kB / 1.151 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007528/0.9745, allocations: 109.6 kB / 1.151 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001529/0.9747, allocations: 123.4 kB / 1.151 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008982/0.9836, allocations: 4.598 MB / 1.155 GB, free: 11.84 MB / 0.7136 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.01995/1.004, allocations: 10.86 MB / 1.166 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006711/1.01, allocations: 4.845 MB / 1.171 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003929/1.014, allocations: 2.512 MB / 1.173 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001258/1.016, allocations: 0.8742 MB / 1.174 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.247e-05/1.016, allocations: 79.2 kB / 1.174 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=399): time 7.514e-06/1.016, allocations: 0 / 1.174 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of matching and sorting (n=399): time 0.01068/1.026, allocations: 5.993 MB / 1.18 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.695e-05/1.027, allocations: 90.55 kB / 1.18 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002166/1.029, allocations: 1.207 MB / 1.181 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003277/1.029, allocations: 94.45 kB / 1.181 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006053/1.03, allocations: 0.8021 MB / 1.182 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001364/1.031, allocations: 1.329 MB / 1.183 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002461/1.031, allocations: 67.88 kB / 1.183 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000244/1.032, allocations: 440.4 kB / 1.184 GB, free: 9.965 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002601/1.034, allocations: 1.598 MB / 1.185 GB, free: 8.918 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003021/1.037, allocations: 1.906 MB / 1.187 GB, free: 7.566 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003105/1.04, allocations: 1.889 MB / 1.189 GB, free: 6.414 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.251e-05/1.04, allocations: 0 / 1.189 GB, free: 6.414 MB / 0.7292 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006981/1.047, allocations: 4.157 MB / 1.193 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/1.047, allocations: 8 kB / 1.193 GB, free: 3.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/1.047, allocations: 6.625 kB / 1.193 GB, free: 3.586 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.464e-05/1.047, allocations: 19.95 kB / 1.193 GB, free: 3.566 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002963/1.05, allocations: 0.6796 MB / 1.194 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.987e-05/1.051, allocations: 18.62 kB / 1.194 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003178/1.054, allocations: 379.4 kB / 1.194 GB, free: 2.621 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003563/1.054, allocations: 109 kB / 1.194 GB, free: 2.539 MB / 0.7292 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001557/1.056, allocations: 0.7257 MB / 1.195 GB, free: 2.102 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007881/1.056, allocations: 237.1 kB / 1.195 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007845/1.064, allocations: 4.622 MB / 1.2 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.554e-05/1.064, allocations: 40 kB / 1.2 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.062e-05/1.064, allocations: 0 / 1.2 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005802/1.07, allocations: 3.938 MB / 1.204 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01385/1.084, allocations: 8.243 MB / 1.212 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.928e-06/1.084, allocations: 0 / 1.212 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003036/1.087, allocations: 0.6684 MB / 1.212 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005017/1.088, allocations: 138.5 kB / 1.212 GB, free: 4.398 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002838/1.088, allocations: 86.59 kB / 1.213 GB, free: 4.316 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003946/1.092, allocations: 4.555 MB / 1.217 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.092, allocations: 3.953 kB / 1.217 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01114/1.103, allocations: 6.989 MB / 1.224 GB, free: 8.34 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001808/1.105, allocations: 0.7589 MB / 1.225 GB, free: 7.559 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005829/1.106, allocations: 68 kB / 1.225 GB, free: 7.492 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002656/1.108, allocations: 218.5 kB / 1.225 GB, free: 7.281 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004038/1.109, allocations: 225.5 kB / 1.225 GB, free: 7.062 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002826/1.109, allocations: 108 kB / 1.225 GB, free: 6.957 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001494/1.11, allocations: 0.8405 MB / 1.226 GB, free: 6.113 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.1e-07/1.11, allocations: 3.938 kB / 1.226 GB, free: 6.109 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.003253/1.114, allocations: 1.084 MB / 1.227 GB, free: 5.023 MB / 0.7605 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007476/1.114, allocations: 356.8 kB / 1.227 GB, free: 4.715 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.006401/1.121, allocations: 4.018 MB / 1.231 GB, free: 0.7305 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/1.121, allocations: 4.812 kB / 1.231 GB, free: 0.7266 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.003855/1.125, allocations: 2.541 MB / 1.234 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006453/1.131, allocations: 1.043 MB / 1.235 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01267/1.144, allocations: 7.985 MB / 1.243 GB, free: 5.156 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001999/1.146, allocations: 1.939 MB / 1.245 GB, free: 3.18 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002196/1.148, allocations: 275.4 kB / 1.245 GB, free: 2.91 MB / 0.7761 GB Notification: Performance of SimCode: time 1.654e-06/1.148, allocations: 0 / 1.245 GB, free: 2.91 MB / 0.7761 GB Notification: Performance of Templates: time 0.08236/1.231, allocations: 57.79 MB / 1.301 GB, free: 9.227 MB / 0.8386 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)