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.00837/0.00837, allocations: 102.6 kB / 15.73 MB, free: 6.062 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.001298/0.001298, allocations: 198.1 kB / 16.68 MB, free: 5.977 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.397/1.397, allocations: 222.9 MB / 240.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00246/0.00246, allocations: 279 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.045/1.045, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 95.84 kB / 0.6814 GB, free: 7.012 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6975/0.6996, allocations: 86.98 MB / 0.7664 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors): time 0.9552/1.655, allocations: 218.5 MB / 0.9797 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02868/1.684, allocations: 20.44 MB / 0.9997 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004404/1.688, allocations: 59.03 kB / 0.9998 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004306/1.692, allocations: 1.244 MB / 1.001 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01425/1.707, allocations: 4.091 MB / 1.005 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005494/1.712, allocations: 1.536 MB / 1.006 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01147/1.724, allocations: 6.97 MB / 1.013 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004987/1.729, allocations: 2.366 MB / 1.016 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008105/1.737, allocations: 2.391 MB / 1.018 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006879/1.744, allocations: 2.457 MB / 1.02 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.002011/1.746, allocations: 345.5 kB / 1.021 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01187/1.758, allocations: 3.461 MB / 1.024 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.003868/1.762, allocations: 1.452 MB / 1.025 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.007332/1.769, allocations: 1.864 MB / 1.027 GB, free: 368 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01776/1.787, allocations: 5.766 MB / 1.033 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/1.787, allocations: 0 / 1.033 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.166e-06/1.787, allocations: 0 / 1.033 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0002981/1.787, allocations: 0.875 kB / 1.033 GB, free: 15.68 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.02/1.807, allocations: 3.954 MB / 1.037 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.907e-05/1.807, allocations: 10.66 kB / 1.037 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007209/1.815, allocations: 0.8224 MB / 1.038 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007922/1.823, allocations: 1.936 MB / 1.039 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003635/1.823, allocations: 201 kB / 1.04 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001906/1.825, allocations: 277.3 kB / 1.04 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01334/1.838, allocations: 3.276 MB / 1.043 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001848/1.838, allocations: 2.688 kB / 1.043 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00133/1.84, allocations: 109.8 kB / 1.043 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002016/1.84, allocations: 130.1 kB / 1.043 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01209/1.852, allocations: 4.624 MB / 1.048 GB, free: 8.184 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.02731/1.879, allocations: 10.92 MB / 1.059 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008842/1.888, allocations: 4.87 MB / 1.063 GB, free: 7.914 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005321/1.894, allocations: 2.531 MB / 1.066 GB, free: 5.375 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001885/1.896, allocations: 0.8692 MB / 1.067 GB, free: 4.355 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001447/1.896, allocations: 73.69 kB / 1.067 GB, free: 4.273 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=399): time 1.61e-05/1.896, allocations: 0 / 1.067 GB, free: 4.273 MB / 0.7481 GB Notification: Performance of matching and sorting (n=399): time 0.01574/1.912, allocations: 6.021 MB / 1.073 GB, free: 14.17 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.363e-05/1.912, allocations: 101.1 kB / 1.073 GB, free: 14.06 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003042/1.915, allocations: 1.224 MB / 1.074 GB, free: 12.83 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0006937/1.916, allocations: 97.7 kB / 1.074 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008315/1.916, allocations: 0.8095 MB / 1.075 GB, free: 11.91 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.002077/1.918, allocations: 1.336 MB / 1.076 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001776/1.92, allocations: 0.543 MB / 1.077 GB, free: 10.04 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001575/1.92, allocations: 309.1 kB / 1.077 GB, free: 9.73 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003339/1.924, allocations: 1.603 MB / 1.078 GB, free: 8.125 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003631/1.927, allocations: 1.912 MB / 1.08 GB, free: 6.172 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007127/1.935, allocations: 3.83 MB / 1.084 GB, free: 2.293 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-05/1.935, allocations: 0 / 1.084 GB, free: 2.293 MB / 0.7637 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008662/1.943, allocations: 4.192 MB / 1.088 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.176e-05/1.943, allocations: 8.406 kB / 1.088 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.932e-05/1.943, allocations: 4 kB / 1.088 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.901e-05/1.943, allocations: 20 kB / 1.088 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003104/1.947, allocations: 0.6763 MB / 1.089 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.062e-05/1.947, allocations: 23.08 kB / 1.089 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003529/1.95, allocations: 237.3 kB / 1.089 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003823/1.951, allocations: 116 kB / 1.089 GB, free: 13.06 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.002137/1.953, allocations: 0.7327 MB / 1.09 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001297/1.954, allocations: 241.1 kB / 1.09 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009254/1.963, allocations: 4.629 MB / 1.095 GB, free: 7.449 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-05/1.963, allocations: 40 kB / 1.095 GB, free: 7.41 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-05/1.963, allocations: 4 kB / 1.095 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007033/1.971, allocations: 3.952 MB / 1.099 GB, free: 3.402 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01757/1.988, allocations: 8.286 MB / 1.107 GB, free: 11.13 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-05/1.988, allocations: 3.984 kB / 1.107 GB, free: 11.13 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003219/1.991, allocations: 0.6576 MB / 1.107 GB, free: 10.51 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000595/1.992, allocations: 138.5 kB / 1.107 GB, free: 10.36 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004307/1.993, allocations: 79.98 kB / 1.107 GB, free: 10.29 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004964/1.997, allocations: 5.034 MB / 1.112 GB, free: 4.863 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/1.998, allocations: 3.938 kB / 1.112 GB, free: 4.859 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01435/2.012, allocations: 6.827 MB / 1.119 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002799/2.015, allocations: 0.755 MB / 1.12 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001004/2.016, allocations: 79.92 kB / 1.12 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003531/2.019, allocations: 83.02 kB / 1.12 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009018/2.02, allocations: 225.9 kB / 1.12 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006024/2.021, allocations: 123.9 kB / 1.12 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002894/2.024, allocations: 0.8528 MB / 1.121 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.61e-07/2.024, allocations: 0 / 1.121 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.006828/2.031, allocations: 1.069 MB / 1.122 GB, free: 10.78 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.001718/2.032, allocations: 343.2 kB / 1.123 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01098/2.043, allocations: 4.066 MB / 1.126 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-05/2.044, allocations: 0 / 1.126 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.007186/2.051, allocations: 2.546 MB / 1.129 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01123/2.062, allocations: 1.061 MB / 1.13 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02031/2.082, allocations: 6.611 MB / 1.136 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00297/2.086, allocations: 1.931 MB / 1.138 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.006081/2.092, allocations: 1.231 MB / 1.14 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002062/2.094, allocations: 235.4 kB / 1.14 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of SimCode: time 8.71e-07/2.094, allocations: 0 / 1.14 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of Templates: time 0.09135/2.185, allocations: 48.33 MB / 1.187 GB, free: 9.168 MB / 0.8731 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)