Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_OneOpenDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_OneOpenDoor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 105.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002188/0.002188, allocations: 186.3 kB / 16.64 MB, free: 6.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.211/2.211, allocations: 205.1 MB / 222.5 MB, free: 4.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.837/1.837, allocations: 292.3 MB / 0.549 GB, free: 12.71 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 68.05 kB / 0.6718 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5085/0.5104, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 1.043/1.554, allocations: 166.9 MB / 0.9466 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01742/1.571, allocations: 8.406 MB / 0.9548 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003311/1.574, allocations: 33.41 kB / 0.9549 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002264/1.577, allocations: 0.5724 MB / 0.9554 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006256/1.583, allocations: 1.523 MB / 0.9569 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003495/1.587, allocations: 0.9843 MB / 0.9579 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.007302/1.594, allocations: 4.089 MB / 0.9619 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002658/1.597, allocations: 1.309 MB / 0.9632 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00516/1.602, allocations: 1.491 MB / 0.9646 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003741/1.605, allocations: 1.502 MB / 0.9661 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0005405/1.606, allocations: 191 kB / 0.9663 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004444/1.61, allocations: 1.107 MB / 0.9673 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0009795/1.611, allocations: 0.6686 MB / 0.968 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00226/1.614, allocations: 1.024 MB / 0.969 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005891/1.62, allocations: 2.757 MB / 0.9717 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/1.62, allocations: 0 / 0.9717 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.543e-06/1.62, allocations: 0 / 0.9717 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.714e-05/1.62, allocations: 0 / 0.9717 GB, free: 1.18 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.005609/1.625, allocations: 2.253 MB / 0.9739 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/1.625, allocations: 10.81 kB / 0.9739 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003098/1.626, allocations: 228.7 kB / 0.9741 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006012/1.626, allocations: 196 kB / 0.9743 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002288/1.629, allocations: 1.152 MB / 0.9754 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.922e-05/1.629, allocations: 115.8 kB / 0.9755 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002611/1.629, allocations: 154.2 kB / 0.9757 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003674/1.633, allocations: 1.924 MB / 0.9776 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.556e-05/1.633, allocations: 3.938 kB / 0.9776 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001517/1.633, allocations: 60.88 kB / 0.9776 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.993e-05/1.633, allocations: 37.44 kB / 0.9777 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004114/1.637, allocations: 2.48 MB / 0.9801 GB, free: 13.07 MB / 0.7325 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.009787/1.647, allocations: 6.109 MB / 0.986 GB, free: 8.289 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00396/1.651, allocations: 2.811 MB / 0.9888 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002292/1.653, allocations: 1.426 MB / 0.9902 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001887/1.655, allocations: 1.728 MB / 0.9919 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.431e-05/1.655, allocations: 56.91 kB / 0.9919 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=237): time 6.382e-06/1.655, allocations: 0 / 0.9919 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=237): time 0.00605/1.661, allocations: 3.434 MB / 0.9953 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.639e-05/1.661, allocations: 80.31 kB / 0.9954 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/1.663, allocations: 0.7679 MB / 0.9961 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002102/1.663, allocations: 67.92 kB / 0.9962 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004021/1.663, allocations: 487.6 kB / 0.9966 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008873/1.664, allocations: 0.7921 MB / 0.9974 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005459/1.665, allocations: 340.8 kB / 0.9977 GB, free: 404 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001377/1.665, allocations: 307.2 kB / 0.998 GB, free: 96 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001574/1.667, allocations: 0.9012 MB / 0.9989 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00174/1.668, allocations: 1.13 MB / 1 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003383/1.672, allocations: 2.224 MB / 1.002 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.235e-06/1.672, allocations: 0 / 1.002 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004361/1.676, allocations: 2.434 MB / 1.005 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/1.676, allocations: 4.875 kB / 1.005 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/1.676, allocations: 2.625 kB / 1.005 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.259e-05/1.676, allocations: 16.12 kB / 1.005 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001685/1.678, allocations: 436.7 kB / 1.005 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-05/1.678, allocations: 16.11 kB / 1.005 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/1.679, allocations: 159.4 kB / 1.005 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000177/1.68, allocations: 77.17 kB / 1.005 GB, free: 12.38 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.01024/1.69, allocations: 436.3 kB / 1.006 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004341/1.69, allocations: 140.5 kB / 1.006 GB, free: 12 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004248/1.695, allocations: 2.734 MB / 1.008 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.448e-05/1.695, allocations: 24.88 kB / 1.008 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/1.695, allocations: 0 / 1.008 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003429/1.698, allocations: 2.384 MB / 1.011 GB, free: 8.273 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006876/1.705, allocations: 4.287 MB / 1.015 GB, free: 3.973 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/1.705, allocations: 0 / 1.015 GB, free: 3.973 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001785/1.707, allocations: 415.4 kB / 1.015 GB, free: 3.566 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006834/1.708, allocations: 101.6 kB / 1.015 GB, free: 3.461 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001649/1.708, allocations: 47.98 kB / 1.016 GB, free: 3.414 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001009/1.709, allocations: 1.122 MB / 1.017 GB, free: 2.242 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.709, allocations: 4 kB / 1.017 GB, free: 2.238 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007418/1.716, allocations: 4.059 MB / 1.021 GB, free: 14.16 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001557/1.718, allocations: 474.8 kB / 1.021 GB, free: 13.67 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002401/1.718, allocations: 51.97 kB / 1.021 GB, free: 13.62 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009388/1.719, allocations: 47.98 kB / 1.021 GB, free: 13.57 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002523/1.719, allocations: 133.8 kB / 1.021 GB, free: 13.44 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001529/1.719, allocations: 71.97 kB / 1.021 GB, free: 13.37 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0008219/1.72, allocations: 0.542 MB / 1.022 GB, free: 12.83 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.284e-06/1.72, allocations: 0 / 1.022 GB, free: 12.83 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002084/1.722, allocations: 0.6591 MB / 1.023 GB, free: 12.17 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.007411/1.73, allocations: 4.888 MB / 1.027 GB, free: 7.262 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00374/1.734, allocations: 2.325 MB / 1.03 GB, free: 4.938 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/1.734, allocations: 0 / 1.03 GB, free: 4.938 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.00196/1.736, allocations: 1.272 MB / 1.031 GB, free: 3.668 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00303/1.739, allocations: 0.5775 MB / 1.031 GB, free: 3.105 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02123/1.76, allocations: 13.6 MB / 1.045 GB, free: 5.234 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009777/1.761, allocations: 1.335 MB / 1.046 GB, free: 3.871 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.002439/1.763, allocations: 0.7227 MB / 1.047 GB, free: 3.137 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001271/1.765, allocations: 0.6125 MB / 1.047 GB, free: 2.523 MB / 0.7794 GB Notification: Performance of SimCode: time 2.765e-06/1.765, allocations: 0 / 1.047 GB, free: 2.523 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08154/1.846, allocations: 39.35 MB / 1.086 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.25/16.1, allocations: 7.922 kB / 1.086 GB, free: 11.62 MB / 0.8262 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_OneOpenDoor.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)