Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.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.OneOpenDoor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor") translateModel(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008298/0.008298, allocations: 101.6 kB / 15.73 MB, free: 6.031 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.001253/0.001254, allocations: 194.8 kB / 16.67 MB, free: 5.969 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.542/1.542, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002406/0.002406, allocations: 286.6 kB / 290.8 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.041/1.041, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001708/0.001708, allocations: 87.86 kB / 0.6814 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2208, allocations: 86.98 MB / 0.7664 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor): time 0.7347/0.9556, allocations: 166.9 MB / 0.9294 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01374/0.9694, allocations: 8.486 MB / 0.9377 GB, free: 3.402 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002173/0.9716, allocations: 35.81 kB / 0.9377 GB, free: 3.367 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001894/0.9735, allocations: 0.5706 MB / 0.9382 GB, free: 2.793 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.004843/0.9784, allocations: 1.539 MB / 0.9398 GB, free: 1.246 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002915/0.9814, allocations: 0.9937 MB / 0.9407 GB, free: 264 kB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005374/0.9867, allocations: 4.105 MB / 0.9447 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002242/0.989, allocations: 1.315 MB / 0.946 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0041/0.9931, allocations: 1.519 MB / 0.9475 GB, free: 9.289 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002981/0.9961, allocations: 1.511 MB / 0.949 GB, free: 7.773 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0007758/0.9969, allocations: 188 kB / 0.9492 GB, free: 7.59 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003362/1, allocations: 1.108 MB / 0.9502 GB, free: 6.48 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001137/1.001, allocations: 0.674 MB / 0.9509 GB, free: 5.805 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002464/1.004, allocations: 1.031 MB / 0.9519 GB, free: 4.77 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.005407/1.009, allocations: 2.753 MB / 0.9546 GB, free: 2.012 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/1.009, allocations: 0 / 0.9546 GB, free: 2.012 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.114e-06/1.009, allocations: 0 / 0.9546 GB, free: 2.012 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001117/1.01, allocations: 0 / 0.9546 GB, free: 2.012 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.006305/1.016, allocations: 2.278 MB / 0.9568 GB, free: 15.67 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/1.016, allocations: 12.03 kB / 0.9568 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007199/1.017, allocations: 190.7 kB / 0.957 GB, free: 15.47 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002155/1.019, allocations: 1.18 MB / 0.9582 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.15e-05/1.019, allocations: 111.5 kB / 0.9583 GB, free: 14.14 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002103/1.019, allocations: 152 kB / 0.9584 GB, free: 14 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0031/1.022, allocations: 1.919 MB / 0.9603 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.971e-05/1.022, allocations: 7.906 kB / 0.9603 GB, free: 12.03 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001357/1.022, allocations: 60 kB / 0.9603 GB, free: 11.97 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.944e-05/1.022, allocations: 36 kB / 0.9604 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00366/1.026, allocations: 2.48 MB / 0.9628 GB, free: 9.449 MB / 0.7169 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.008445/1.035, allocations: 6.112 MB / 0.9688 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003519/1.038, allocations: 2.806 MB / 0.9715 GB, free: 148 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002011/1.04, allocations: 1.432 MB / 0.9729 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001592/1.042, allocations: 1.73 MB / 0.9746 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.592e-05/1.042, allocations: 60.5 kB / 0.9747 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=237): time 4.258e-06/1.042, allocations: 0 / 0.9747 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=237): time 0.005534/1.047, allocations: 3.43 MB / 0.978 GB, free: 9.07 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.191e-05/1.048, allocations: 81.39 kB / 0.9781 GB, free: 8.98 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/1.049, allocations: 0.7783 MB / 0.9788 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001358/1.049, allocations: 65.64 kB / 0.9789 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003387/1.049, allocations: 498.2 kB / 0.9794 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000653/1.05, allocations: 0.7891 MB / 0.9802 GB, free: 6.824 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004702/1.05, allocations: 347.6 kB / 0.9805 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.959e-05/1.05, allocations: 301.1 kB / 0.9808 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001368/1.052, allocations: 0.898 MB / 0.9816 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001549/1.053, allocations: 1.127 MB / 0.9828 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003164/1.056, allocations: 2.227 MB / 0.9849 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/1.056, allocations: 4 kB / 0.9849 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.003861/1.06, allocations: 2.436 MB / 0.9873 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.983e-05/1.06, allocations: 6.812 kB / 0.9873 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/1.06, allocations: 7.938 kB / 0.9873 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.945e-05/1.06, allocations: 12 kB / 0.9873 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001585/1.062, allocations: 435.4 kB / 0.9877 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.357e-05/1.062, allocations: 12 kB / 0.9878 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/1.063, allocations: 164.4 kB / 0.9879 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001767/1.063, allocations: 75.98 kB / 0.988 GB, free: 14.68 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (261): * Single equations (assignments): 261 * 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.0007976/1.064, allocations: 441.2 kB / 0.9884 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004361/1.065, allocations: 142.2 kB / 0.9885 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004525/1.069, allocations: 2.733 MB / 0.9912 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.611e-05/1.069, allocations: 24 kB / 0.9912 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/1.069, allocations: 0 / 0.9912 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00333/1.073, allocations: 2.373 MB / 0.9936 GB, free: 8.895 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006819/1.079, allocations: 4.31 MB / 0.9978 GB, free: 4.512 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/1.08, allocations: 3.938 kB / 0.9978 GB, free: 4.508 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001592/1.081, allocations: 411.5 kB / 0.9982 GB, free: 4.105 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005786/1.082, allocations: 93.62 kB / 0.9982 GB, free: 4.008 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001699/1.082, allocations: 51.98 kB / 0.9983 GB, free: 3.957 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007425/1.083, allocations: 1.12 MB / 0.9994 GB, free: 2.785 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/1.083, allocations: 4 kB / 0.9994 GB, free: 2.781 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006109/1.089, allocations: 4.057 MB / 1.003 GB, free: 14.69 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009744/1.09, allocations: 482.5 kB / 1.004 GB, free: 14.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003303/1.09, allocations: 41.12 kB / 1.004 GB, free: 14.16 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/1.091, allocations: 51.98 kB / 1.004 GB, free: 14.11 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002644/1.091, allocations: 137.8 kB / 1.004 GB, free: 13.98 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001516/1.092, allocations: 67.98 kB / 1.004 GB, free: 13.91 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0008597/1.093, allocations: 0.5498 MB / 1.005 GB, free: 13.36 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.51e-07/1.093, allocations: 0 / 1.005 GB, free: 13.36 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001722/1.094, allocations: 0.6475 MB / 1.005 GB, free: 12.71 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.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 (237): * Single equations (assignments): 235 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008885/1.095, allocations: 398.6 kB / 1.006 GB, free: 12.32 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003788/1.099, allocations: 2.325 MB / 1.008 GB, free: 9.996 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/1.099, allocations: 0 / 1.008 GB, free: 9.996 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002018/1.101, allocations: 1.284 MB / 1.009 GB, free: 8.715 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002953/1.104, allocations: 0.5737 MB / 1.01 GB, free: 8.156 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006357/1.11, allocations: 3.751 MB / 1.013 GB, free: 4.367 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001164/1.112, allocations: 1.335 MB / 1.015 GB, free: 3.004 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002553/1.114, allocations: 0.7306 MB / 1.015 GB, free: 2.266 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007389/1.115, allocations: 159.4 kB / 1.016 GB, free: 2.109 MB / 0.7637 GB Notification: Performance of SimCode: time 6.42e-07/1.115, allocations: 3.938 kB / 1.016 GB, free: 2.105 MB / 0.7637 GB Notification: Performance of Templates: time 0.05066/1.166, allocations: 28.88 MB / 1.044 GB, free: 5.566 MB / 0.795 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)