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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8144/0.8144, allocations: 143.4 MB / 159.2 MB, free: 4.922 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001927/0.001927, allocations: 184.5 kB / 191.9 MB, free: 5.688 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.699/1.699, allocations: 222.9 MB / 447.4 MB, free: 5.836 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 103.2 kB / 0.517 GB, free: 3.703 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001932/0.001932, allocations: 280.9 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 75.89 kB / 0.6886 GB, free: 3.855 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4257/0.4274, allocations: 81.29 MB / 0.768 GB, free: 27.68 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor): time 0.5522/0.9797, allocations: 164.5 MB / 0.9286 GB, free: 1.133 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01259/0.9923, allocations: 8.531 MB / 0.937 GB, free: 0.9492 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002608/0.995, allocations: 30.84 kB / 0.937 GB, free: 0.9492 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002019/0.9971, allocations: 498.9 kB / 0.9375 GB, free: 0.9414 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.006009/1.003, allocations: 1.444 MB / 0.9389 GB, free: 0.8594 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003006/1.006, allocations: 0.8732 MB / 0.9397 GB, free: 0.8398 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.006481/1.013, allocations: 5.392 MB / 0.945 GB, free: 0.8203 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001975/1.015, allocations: 1.104 MB / 0.9461 GB, free: 0.6914 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003491/1.018, allocations: 1.302 MB / 0.9474 GB, free: 0.6797 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002774/1.021, allocations: 1.531 MB / 0.9489 GB, free: 0.6289 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0006977/1.022, allocations: 101.5 kB / 0.949 GB, free: 0.6289 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003081/1.025, allocations: 1.048 MB / 0.95 GB, free: 0.6133 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0007244/1.026, allocations: 0.5905 MB / 0.9506 GB, free: 0.543 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001308/1.027, allocations: 0.9376 MB / 0.9515 GB, free: 292 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.003213/1.03, allocations: 2.668 MB / 0.9541 GB, free: 15.92 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/1.03, allocations: 0 / 0.9541 GB, free: 15.92 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.022e-06/1.03, allocations: 0 / 0.9541 GB, free: 15.92 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.684e-05/1.03, allocations: 0 / 0.9541 GB, free: 15.92 MB / 0.573 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.004533/1.035, allocations: 2.254 MB / 0.9563 GB, free: 14.92 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/1.035, allocations: 8.094 kB / 0.9563 GB, free: 14.92 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005602/1.035, allocations: 196.7 kB / 0.9565 GB, free: 14.83 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002024/1.037, allocations: 1.161 MB / 0.9576 GB, free: 14.46 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.554e-05/1.037, allocations: 111.1 kB / 0.9577 GB, free: 14.46 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001949/1.038, allocations: 158.2 kB / 0.9579 GB, free: 14.45 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002824/1.04, allocations: 1.927 MB / 0.9597 GB, free: 14.31 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.606e-05/1.041, allocations: 3.938 kB / 0.9597 GB, free: 14.3 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001354/1.041, allocations: 61.75 kB / 0.9598 GB, free: 14.3 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.346e-05/1.041, allocations: 37.41 kB / 0.9598 GB, free: 14.3 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003763/1.044, allocations: 2.473 MB / 0.9623 GB, free: 13.95 MB / 0.573 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.00842/1.053, allocations: 6.092 MB / 0.9682 GB, free: 9.469 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003454/1.056, allocations: 2.8 MB / 0.9709 GB, free: 7.906 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002088/1.059, allocations: 1.422 MB / 0.9723 GB, free: 7.215 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00169/1.06, allocations: 1.736 MB / 0.974 GB, free: 5.266 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.899e-05/1.06, allocations: 63.91 kB / 0.9741 GB, free: 5.203 MB / 0.573 GB Notification: Performance of pre-optimization done (n=237): time 5.039e-06/1.06, allocations: 0 / 0.9741 GB, free: 5.203 MB / 0.573 GB Notification: Performance of matching and sorting (n=237): time 0.006724/1.067, allocations: 3.427 MB / 0.9774 GB, free: 3.453 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.335e-05/1.067, allocations: 79.91 kB / 0.9775 GB, free: 3.383 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/1.068, allocations: 0.7625 MB / 0.9783 GB, free: 2.609 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001486/1.068, allocations: 61.7 kB / 0.9783 GB, free: 2.543 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003029/1.069, allocations: 482.2 kB / 0.9788 GB, free: 2.062 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000682/1.069, allocations: 0.7887 MB / 0.9795 GB, free: 1.281 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004955/1.07, allocations: 350.5 kB / 0.9799 GB, free: 0.9336 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.033e-05/1.07, allocations: 301.1 kB / 0.9802 GB, free: 0.6367 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001418/1.071, allocations: 0.9058 MB / 0.981 GB, free: 15.73 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001729/1.073, allocations: 1.122 MB / 0.9821 GB, free: 14.55 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003448/1.077, allocations: 2.226 MB / 0.9843 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/1.077, allocations: 1.5 kB / 0.9843 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004011/1.081, allocations: 2.429 MB / 0.9867 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.036e-05/1.081, allocations: 8 kB / 0.9867 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/1.081, allocations: 0 / 0.9867 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.413e-05/1.081, allocations: 16 kB / 0.9867 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001745/1.083, allocations: 442.5 kB / 0.9871 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.161e-05/1.083, allocations: 18.91 kB / 0.9872 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/1.084, allocations: 206.3 kB / 0.9873 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001533/1.084, allocations: 71.98 kB / 0.9874 GB, free: 9.152 MB / 0.5886 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.0008281/1.085, allocations: 440 kB / 0.9878 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000404/1.085, allocations: 142.2 kB / 0.988 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004673/1.09, allocations: 2.731 MB / 0.9906 GB, free: 5.848 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/1.09, allocations: 24 kB / 0.9907 GB, free: 5.824 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/1.09, allocations: 0 / 0.9907 GB, free: 5.824 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003458/1.094, allocations: 2.38 MB / 0.993 GB, free: 3.391 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006578/1.1, allocations: 4.289 MB / 0.9972 GB, free: 15.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/1.1, allocations: 0 / 0.9972 GB, free: 15.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00178/1.102, allocations: 407.3 kB / 0.9976 GB, free: 14.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005392/1.103, allocations: 109.6 kB / 0.9977 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001523/1.103, allocations: 47.98 kB / 0.9977 GB, free: 14.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007164/1.103, allocations: 1.122 MB / 0.9988 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.161e-05/1.104, allocations: 4 kB / 0.9988 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1992/1.303, allocations: 47.58 MB / 1.045 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001566/1.304, allocations: 478.6 kB / 1.046 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004552/1.305, allocations: 44 kB / 1.046 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001417/1.306, allocations: 95.92 kB / 1.046 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000412/1.307, allocations: 137.8 kB / 1.046 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002364/1.307, allocations: 75.98 kB / 1.046 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000979/1.308, allocations: 0.5303 MB / 1.047 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.463e-06/1.308, allocations: 0 / 1.047 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.004467/1.312, allocations: 1.092 MB / 1.048 GB, free: 10.83 MB / 0.6511 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.001248/1.314, allocations: 441.8 kB / 1.048 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.004369/1.318, allocations: 2.313 MB / 1.05 GB, free: 8.16 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/1.318, allocations: 4 kB / 1.05 GB, free: 8.156 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002368/1.32, allocations: 1.274 MB / 1.052 GB, free: 6.926 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003978/1.324, allocations: 0.556 MB / 1.052 GB, free: 6.383 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01259/1.337, allocations: 6.009 MB / 1.058 GB, free: 324 kB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001886/1.339, allocations: 1.408 MB / 1.059 GB, free: 14.87 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.005171/1.344, allocations: 0.9142 MB / 1.06 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002007/1.346, allocations: 206.3 kB / 1.06 GB, free: 13.75 MB / 0.6667 GB Notification: Performance of SimCode: time 2.655e-06/1.346, allocations: 0 / 1.06 GB, free: 13.75 MB / 0.6667 GB Notification: Performance of Templates: time 0.0839/1.43, allocations: 47.64 MB / 1.107 GB, free: 14.54 MB / 0.7136 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)