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.007413/0.007413, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001693/0.001693, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.507/1.507, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002628/0.002629, allocations: 283.7 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.073/1.073, allocations: 169.3 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 95.84 kB / 0.6814 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5563/0.5582, allocations: 86.99 MB / 0.7664 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor): time 0.1877/0.7459, allocations: 166.9 MB / 0.9294 GB, free: 12.35 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01394/0.7599, allocations: 8.49 MB / 0.9377 GB, free: 3.832 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002422/0.7624, allocations: 35.81 kB / 0.9377 GB, free: 3.797 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.002262/0.7647, allocations: 0.5667 MB / 0.9382 GB, free: 3.227 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.005327/0.7701, allocations: 1.541 MB / 0.9398 GB, free: 1.68 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003457/0.7735, allocations: 1.001 MB / 0.9407 GB, free: 0.6836 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.005986/0.7796, allocations: 4.097 MB / 0.9447 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002519/0.7822, allocations: 1.323 MB / 0.946 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004212/0.7864, allocations: 1.517 MB / 0.9475 GB, free: 9.715 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003137/0.7896, allocations: 1.518 MB / 0.949 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0007897/0.7904, allocations: 188 kB / 0.9492 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00357/0.794, allocations: 1.096 MB / 0.9502 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001272/0.7953, allocations: 0.674 MB / 0.9509 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002578/0.7979, allocations: 1.023 MB / 0.9519 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005414/0.8033, allocations: 2.764 MB / 0.9546 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.8033, allocations: 0 / 0.9546 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.244e-06/0.8033, allocations: 3.938 kB / 0.9546 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001146/0.8034, allocations: 0 / 0.9546 GB, free: 2.434 MB / 0.7169 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.006048/0.8095, allocations: 2.266 MB / 0.9568 GB, free: 112 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.8096, allocations: 8.031 kB / 0.9568 GB, free: 104 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5123/1.322, allocations: 192.3 kB / 0.957 GB, free: 190 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004922/1.327, allocations: 1.186 MB / 0.9582 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002223/1.327, allocations: 111.9 kB / 0.9583 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000479/1.328, allocations: 147.9 kB / 0.9584 GB, free: 189.4 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00619/1.334, allocations: 1.922 MB / 0.9603 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-05/1.334, allocations: 10 kB / 0.9603 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001699/1.334, allocations: 61.22 kB / 0.9604 GB, free: 188.6 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.373e-05/1.334, allocations: 37.5 kB / 0.9604 GB, free: 188.6 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005471/1.34, allocations: 2.475 MB / 0.9628 GB, free: 188 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.008395/1.348, allocations: 6.109 MB / 0.9688 GB, free: 184.1 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002843/1.351, allocations: 2.803 MB / 0.9715 GB, free: 182.6 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001697/1.353, allocations: 1.424 MB / 0.9729 GB, free: 181.6 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001153/1.354, allocations: 1.733 MB / 0.9746 GB, free: 179.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/1.354, allocations: 58.91 kB / 0.9746 GB, free: 179.4 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=237): time 4.559e-06/1.354, allocations: 0 / 0.9746 GB, free: 179.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=237): time 0.00453/1.358, allocations: 3.431 MB / 0.978 GB, free: 175.9 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/1.359, allocations: 77.41 kB / 0.9781 GB, free: 175.8 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008752/1.359, allocations: 0.7744 MB / 0.9788 GB, free: 175.1 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001144/1.36, allocations: 65.7 kB / 0.9789 GB, free: 175 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002645/1.36, allocations: 0.4891 MB / 0.9794 GB, free: 174.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004877/1.36, allocations: 0.7878 MB / 0.9801 GB, free: 173.7 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003941/1.361, allocations: 339.6 kB / 0.9805 GB, free: 173.4 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.85e-05/1.361, allocations: 312.4 kB / 0.9808 GB, free: 173.1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001123/1.362, allocations: 0.898 MB / 0.9816 GB, free: 172.2 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00137/1.363, allocations: 1.123 MB / 0.9827 GB, free: 171 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002597/1.366, allocations: 2.227 MB / 0.9849 GB, free: 168.7 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/1.366, allocations: 2.875 kB / 0.9849 GB, free: 168.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.00325/1.369, allocations: 2.438 MB / 0.9873 GB, free: 166.3 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/1.369, allocations: 10.53 kB / 0.9873 GB, free: 166.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/1.369, allocations: 7.875 kB / 0.9873 GB, free: 166.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.109e-05/1.369, allocations: 12 kB / 0.9873 GB, free: 166.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/1.371, allocations: 435.4 kB / 0.9877 GB, free: 165.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.288e-05/1.371, allocations: 21.88 kB / 0.9878 GB, free: 165.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/1.372, allocations: 154.3 kB / 0.9879 GB, free: 165.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/1.372, allocations: 75.92 kB / 0.988 GB, free: 165.6 MB / 0.7169 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.0006562/1.373, allocations: 440.8 kB / 0.9884 GB, free: 165.2 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002479/1.373, allocations: 142.3 kB / 0.9885 GB, free: 165 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003674/1.377, allocations: 2.72 MB / 0.9912 GB, free: 162.3 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/1.377, allocations: 27.31 kB / 0.9912 GB, free: 162.3 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/1.377, allocations: 0 / 0.9912 GB, free: 162.3 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002613/1.379, allocations: 2.381 MB / 0.9935 GB, free: 159.8 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004871/1.384, allocations: 4.302 MB / 0.9977 GB, free: 155.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/1.384, allocations: 4 kB / 0.9977 GB, free: 155.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001411/1.386, allocations: 405 kB / 0.9981 GB, free: 155.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005246/1.386, allocations: 101.3 kB / 0.9982 GB, free: 155 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/1.386, allocations: 51.98 kB / 0.9983 GB, free: 155 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000482/1.387, allocations: 1.124 MB / 0.9994 GB, free: 153.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/1.387, allocations: 0 / 0.9994 GB, free: 153.8 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004616/1.391, allocations: 4.061 MB / 1.003 GB, free: 149.7 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006909/1.392, allocations: 470.7 kB / 1.004 GB, free: 149.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000189/1.392, allocations: 47.94 kB / 1.004 GB, free: 149.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008039/1.393, allocations: 59.5 kB / 1.004 GB, free: 149.1 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002188/1.393, allocations: 133.8 kB / 1.004 GB, free: 149 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/1.393, allocations: 71.97 kB / 1.004 GB, free: 148.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005692/1.394, allocations: 0.542 MB / 1.005 GB, free: 148.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/1.394, allocations: 3.938 kB / 1.005 GB, free: 148.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001333/1.395, allocations: 0.6539 MB / 1.005 GB, free: 147.7 MB / 0.7169 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.0006416/1.396, allocations: 396.5 kB / 1.006 GB, free: 147.4 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002967/1.399, allocations: 2.321 MB / 1.008 GB, free: 145.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/1.399, allocations: 4.25 kB / 1.008 GB, free: 145.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001755/1.401, allocations: 1.284 MB / 1.009 GB, free: 143.8 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002388/1.403, allocations: 0.5774 MB / 1.01 GB, free: 143.2 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004569/1.408, allocations: 3.753 MB / 1.013 GB, free: 139.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006286/1.408, allocations: 1.338 MB / 1.015 GB, free: 138.1 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001792/1.41, allocations: 0.7229 MB / 1.015 GB, free: 137.4 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004625/1.411, allocations: 155.4 kB / 1.016 GB, free: 137.2 MB / 0.7169 GB Notification: Performance of SimCode: time 9.22e-07/1.411, allocations: 0 / 1.016 GB, free: 137.2 MB / 0.7169 GB Notification: Performance of Templates: time 0.03937/1.45, allocations: 28.47 MB / 1.043 GB, free: 109.1 MB / 0.7169 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)