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.001349/0.001349, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00148/0.00148, allocations: 197 kB / 16.14 MB, free: 6.715 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.46/1.46, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002546/0.002546, allocations: 286.5 kB / 290.2 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.076/1.076, allocations: 178.6 MB / 0.5068 GB, free: 4.746 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002867/0.002867, allocations: 98.56 kB / 0.6057 GB, free: 25.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1926, allocations: 89.15 MB / 0.6928 GB, free: 4.809 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors): time 0.5857/0.7784, allocations: 216.1 MB / 0.9039 GB, free: 3.879 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0295/0.8079, allocations: 20.76 MB / 0.9241 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002756/0.8107, allocations: 51.69 kB / 0.9242 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003224/0.814, allocations: 1.089 MB / 0.9252 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01087/0.8249, allocations: 3.851 MB / 0.929 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004494/0.8294, allocations: 1.378 MB / 0.9304 GB, free: 8.684 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01194/0.8413, allocations: 9.517 MB / 0.9396 GB, free: 15.14 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003522/0.8449, allocations: 2.003 MB / 0.9416 GB, free: 13.09 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0047/0.8496, allocations: 2.032 MB / 0.9436 GB, free: 11.05 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005311/0.855, allocations: 2.552 MB / 0.9461 GB, free: 8.504 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0006142/0.8556, allocations: 184 kB / 0.9463 GB, free: 8.324 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008783/0.8644, allocations: 3.94 MB / 0.9501 GB, free: 4.375 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002251/0.8667, allocations: 1.297 MB / 0.9514 GB, free: 3.074 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003106/0.8698, allocations: 1.691 MB / 0.953 GB, free: 1.375 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.009189/0.879, allocations: 5.831 MB / 0.9587 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.879, allocations: 0 / 0.9587 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.272e-06/0.8791, allocations: 0 / 0.9587 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.57e-05/0.8791, allocations: 4 kB / 0.9587 GB, free: 11.52 MB / 0.6856 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.009953/0.8891, allocations: 3.937 MB / 0.9626 GB, free: 7.523 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.8892, allocations: 8.031 kB / 0.9626 GB, free: 7.516 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005164/0.8943, allocations: 0.8391 MB / 0.9634 GB, free: 6.672 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004337/0.8987, allocations: 1.875 MB / 0.9652 GB, free: 4.738 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001798/0.8989, allocations: 201.4 kB / 0.9654 GB, free: 4.539 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005411/0.8994, allocations: 271.9 kB / 0.9657 GB, free: 4.273 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006295/0.9057, allocations: 3.287 MB / 0.9689 GB, free: 0.9453 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.265e-05/0.9058, allocations: 0 / 0.9689 GB, free: 0.9453 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002714/0.9061, allocations: 108 kB / 0.969 GB, free: 0.8398 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001348/0.9062, allocations: 125.4 kB / 0.9691 GB, free: 0.7148 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007979/0.9142, allocations: 4.619 MB / 0.9736 GB, free: 12.08 MB / 0.7012 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.01844/0.9327, allocations: 10.87 MB / 0.9842 GB, free: 0.5312 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007326/0.94, allocations: 4.866 MB / 0.989 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004065/0.9441, allocations: 2.528 MB / 0.9915 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001226/0.9454, allocations: 0.8603 MB / 0.9923 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.823e-05/0.9455, allocations: 77.7 kB / 0.9924 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=399): time 5.44e-06/0.9455, allocations: 7.938 kB / 0.9924 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of matching and sorting (n=399): time 0.01207/0.9576, allocations: 6.019 MB / 0.9983 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.005e-05/0.9577, allocations: 90.55 kB / 0.9983 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002114/0.9598, allocations: 1.224 MB / 0.9995 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003255/0.9602, allocations: 93.7 kB / 0.9996 GB, free: 448 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007255/0.9609, allocations: 0.8174 MB / 1 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001549/0.9625, allocations: 1.328 MB / 1.002 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009188/0.9634, allocations: 0.5546 MB / 1.002 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.9635, allocations: 305.1 kB / 1.003 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002887/0.9664, allocations: 1.603 MB / 1.004 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003028/0.9695, allocations: 1.905 MB / 1.006 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006381/0.9759, allocations: 3.834 MB / 1.01 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-05/0.9759, allocations: 4 kB / 1.01 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007615/0.9835, allocations: 4.183 MB / 1.014 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.395e-05/0.9836, allocations: 11.94 kB / 1.014 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.9836, allocations: 416 / 1.014 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.758e-05/0.9837, allocations: 20 kB / 1.014 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00308/0.9868, allocations: 0.6866 MB / 1.015 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.816e-05/0.9868, allocations: 19.94 kB / 1.015 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00306/0.9899, allocations: 405 kB / 1.015 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002583/0.9902, allocations: 116 kB / 1.015 GB, free: 496 kB / 0.7325 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.001564/0.9917, allocations: 0.7235 MB / 1.016 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007367/0.9925, allocations: 245 kB / 1.016 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008314/1.001, allocations: 4.632 MB / 1.02 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.889e-05/1.001, allocations: 43.92 kB / 1.021 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-05/1.001, allocations: 4 kB / 1.021 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00656/1.007, allocations: 3.961 MB / 1.024 GB, free: 6.766 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01482/1.022, allocations: 8.265 MB / 1.032 GB, free: 14.41 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.716e-05/1.022, allocations: 4 kB / 1.032 GB, free: 14.41 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004987/1.027, allocations: 0.6593 MB / 1.033 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007432/1.028, allocations: 146.4 kB / 1.033 GB, free: 13.59 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006916/1.029, allocations: 87.91 kB / 1.033 GB, free: 13.51 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006558/1.035, allocations: 4.513 MB / 1.038 GB, free: 8.594 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/1.035, allocations: 4.062 kB / 1.038 GB, free: 8.59 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0216/1.057, allocations: 6.818 MB / 1.044 GB, free: 1.715 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003813/1.061, allocations: 0.7666 MB / 1.045 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009866/1.062, allocations: 68 kB / 1.045 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005077/1.067, allocations: 219.7 kB / 1.045 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001043/1.068, allocations: 218.9 kB / 1.046 GB, free: 444 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004761/1.069, allocations: 112 kB / 1.046 GB, free: 332 kB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.3933/1.462, allocations: 0.8599 MB / 1.047 GB, free: 281.2 MB / 0.7637 GB Notification: Performance of sort global known variables: time 5.61e-07/1.462, allocations: 0 / 1.047 GB, free: 281.2 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003943/1.466, allocations: 1.09 MB / 1.048 GB, free: 281.2 MB / 0.7637 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.0007336/1.467, allocations: 345.3 kB / 1.048 GB, free: 281.1 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.006743/1.474, allocations: 4.042 MB / 1.052 GB, free: 280.3 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/1.474, allocations: 1.812 kB / 1.052 GB, free: 280.3 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.003779/1.477, allocations: 2.547 MB / 1.054 GB, free: 279.2 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004999/1.482, allocations: 1.029 MB / 1.055 GB, free: 279 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/1.492, allocations: 7.849 MB / 1.063 GB, free: 275 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001646/1.494, allocations: 1.937 MB / 1.065 GB, free: 274.1 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.004421/1.499, allocations: 1.217 MB / 1.066 GB, free: 274 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001016/1.5, allocations: 237.4 kB / 1.066 GB, free: 274 MB / 0.7637 GB Notification: Performance of SimCode: time 1.132e-06/1.5, allocations: 0 / 1.066 GB, free: 274 MB / 0.7637 GB Notification: Performance of Templates: time 0.06824/1.568, allocations: 45.63 MB / 1.111 GB, free: 245.2 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)