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.001328/0.001328, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001508/0.001508, allocations: 192.7 kB / 16.13 MB, free: 6.707 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.373/1.373, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002225/0.002225, allocations: 287 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9807/0.9807, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 89.45 kB / 0.5945 GB, free: 28.37 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1756, allocations: 86.99 MB / 0.6794 GB, free: 1.203 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors): time 0.5843/0.7599, allocations: 216.2 MB / 0.8905 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02522/0.7852, allocations: 20.72 MB / 0.9108 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002875/0.7881, allocations: 51.69 kB / 0.9108 GB, free: 11 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003514/0.7916, allocations: 1.092 MB / 0.9119 GB, free: 9.906 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01034/0.802, allocations: 3.846 MB / 0.9156 GB, free: 6.043 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004015/0.806, allocations: 1.39 MB / 0.917 GB, free: 4.66 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.009725/0.8158, allocations: 9.533 MB / 0.9263 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003445/0.8192, allocations: 2.003 MB / 0.9282 GB, free: 9.047 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004319/0.8236, allocations: 2.024 MB / 0.9302 GB, free: 7.016 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005427/0.829, allocations: 2.534 MB / 0.9327 GB, free: 4.48 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0009274/0.83, allocations: 184 kB / 0.9329 GB, free: 4.301 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008121/0.8381, allocations: 3.947 MB / 0.9367 GB, free: 352 kB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002116/0.8402, allocations: 1.301 MB / 0.938 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00415/0.8444, allocations: 1.691 MB / 0.9397 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01018/0.8546, allocations: 5.827 MB / 0.9453 GB, free: 7.496 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.8546, allocations: 0 / 0.9453 GB, free: 7.496 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.437e-06/0.8546, allocations: 0 / 0.9453 GB, free: 7.496 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001571/0.8548, allocations: 7.938 kB / 0.9454 GB, free: 7.488 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.01092/0.8657, allocations: 3.949 MB / 0.9492 GB, free: 3.477 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.8658, allocations: 8.031 kB / 0.9492 GB, free: 3.469 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005624/0.8714, allocations: 0.8352 MB / 0.95 GB, free: 2.629 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00414/0.8756, allocations: 1.883 MB / 0.9519 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001553/0.8757, allocations: 197.4 kB / 0.9521 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005814/0.8763, allocations: 268 kB / 0.9523 GB, free: 236 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006557/0.8829, allocations: 3.287 MB / 0.9555 GB, free: 12.9 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-05/0.883, allocations: 7.906 kB / 0.9555 GB, free: 12.89 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003264/0.8833, allocations: 108 kB / 0.9556 GB, free: 12.79 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001302/0.8834, allocations: 125.4 kB / 0.9558 GB, free: 12.66 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00774/0.8912, allocations: 4.619 MB / 0.9603 GB, free: 8.031 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.01784/0.9091, allocations: 10.87 MB / 0.9709 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006438/0.9155, allocations: 4.856 MB / 0.9756 GB, free: 7.594 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003595/0.9191, allocations: 2.528 MB / 0.9781 GB, free: 5.062 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001144/0.9203, allocations: 0.8602 MB / 0.9789 GB, free: 4.035 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.929e-05/0.9204, allocations: 81.64 kB / 0.979 GB, free: 3.945 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=399): time 5.34e-06/0.9204, allocations: 0 / 0.979 GB, free: 3.945 MB / 0.6856 GB Notification: Performance of matching and sorting (n=399): time 0.009479/0.9299, allocations: 6.026 MB / 0.9849 GB, free: 13.83 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.93, allocations: 90.55 kB / 0.985 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001633/0.9316, allocations: 1.228 MB / 0.9862 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.000253/0.9319, allocations: 93.7 kB / 0.9863 GB, free: 12.4 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005386/0.9324, allocations: 0.8134 MB / 0.9871 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.00109/0.9335, allocations: 1.332 MB / 0.9884 GB, free: 10.22 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007803/0.9343, allocations: 0.5508 MB / 0.9889 GB, free: 9.664 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 8.147e-05/0.9344, allocations: 309.1 kB / 0.9892 GB, free: 9.359 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002308/0.9367, allocations: 1.599 MB / 0.9908 GB, free: 7.758 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002559/0.9393, allocations: 1.905 MB / 0.9926 GB, free: 5.809 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00538/0.9447, allocations: 3.831 MB / 0.9964 GB, free: 1.918 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.934e-06/0.9447, allocations: 4 kB / 0.9964 GB, free: 1.914 MB / 0.7012 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006325/0.951, allocations: 4.191 MB / 1 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.9511, allocations: 11.94 kB / 1 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.9511, allocations: 416 / 1 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.874e-05/0.9511, allocations: 24 kB / 1 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002733/0.9539, allocations: 0.6865 MB / 1.001 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.812e-05/0.9539, allocations: 16 kB / 1.001 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002546/0.9564, allocations: 401.1 kB / 1.002 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002115/0.9567, allocations: 124 kB / 1.002 GB, free: 12.45 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.001213/0.9579, allocations: 0.7254 MB / 1.002 GB, free: 11.71 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004451/0.9583, allocations: 245 kB / 1.003 GB, free: 11.47 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007033/0.9654, allocations: 4.632 MB / 1.007 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.711e-05/0.9654, allocations: 39.94 kB / 1.007 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.9654, allocations: 4 kB / 1.007 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005639/0.9711, allocations: 3.957 MB / 1.011 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01199/0.9831, allocations: 8.273 MB / 1.019 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.9831, allocations: 0 / 1.019 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002782/0.9859, allocations: 0.6592 MB / 1.02 GB, free: 9.711 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000443/0.9864, allocations: 142.5 kB / 1.02 GB, free: 9.562 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002061/0.9866, allocations: 87.91 kB / 1.02 GB, free: 9.477 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003551/0.9901, allocations: 4.513 MB / 1.024 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.9902, allocations: 4.062 kB / 1.024 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009782/0.9999, allocations: 6.82 MB / 1.031 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001899/1.002, allocations: 0.7629 MB / 1.032 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004175/1.002, allocations: 68 kB / 1.032 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002038/1.004, allocations: 217.5 kB / 1.032 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004176/1.005, allocations: 226.8 kB / 1.032 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002124/1.005, allocations: 108 kB / 1.032 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001108/1.006, allocations: 0.8645 MB / 1.033 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.91e-07/1.006, allocations: 3.938 kB / 1.033 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002364/1.008, allocations: 1.092 MB / 1.034 GB, free: 10.32 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.0005684/1.009, allocations: 339 kB / 1.035 GB, free: 9.98 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.005827/1.015, allocations: 4.039 MB / 1.039 GB, free: 5.93 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/1.015, allocations: 0 / 1.039 GB, free: 5.93 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.003398/1.018, allocations: 2.552 MB / 1.041 GB, free: 3.34 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004506/1.023, allocations: 1.027 MB / 1.042 GB, free: 2.324 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009806/1.033, allocations: 7.842 MB / 1.05 GB, free: 10.44 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001473/1.034, allocations: 1.939 MB / 1.052 GB, free: 8.457 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.003533/1.038, allocations: 1.223 MB / 1.053 GB, free: 7.227 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008763/1.039, allocations: 243.4 kB / 1.053 GB, free: 6.988 MB / 0.7637 GB Notification: Performance of SimCode: time 8.52e-07/1.039, allocations: 0 / 1.053 GB, free: 6.988 MB / 0.7637 GB Notification: Performance of Templates: time 0.3297/1.368, allocations: 45.62 MB / 1.098 GB, free: 276.9 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)