Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.OneRoom.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.OneRoom,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_OneRoom",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.008783/0.008783, allocations: 107.8 kB / 15.7 MB, free: 6.012 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.001182/0.001183, allocations: 196.8 kB / 16.64 MB, free: 5.949 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.175/2.175, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.83/1.83, 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.001526/0.001526, allocations: 72.16 kB / 0.6718 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3715, allocations: 114.5 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 1.152/1.523, allocations: 213.6 MB / 0.9922 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01933/1.542, allocations: 10.12 MB / 1.002 GB, free: 8.574 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004128/1.547, allocations: 37.09 kB / 1.002 GB, free: 8.562 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004017/1.551, allocations: 0.8419 MB / 1.003 GB, free: 7.953 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01271/1.564, allocations: 2.843 MB / 1.006 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.005427/1.569, allocations: 1.442 MB / 1.007 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.006339/1.575, allocations: 3.147 MB / 1.01 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001989/1.577, allocations: 1.027 MB / 1.011 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002843/1.58, allocations: 1.128 MB / 1.012 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00318/1.583, allocations: 1.081 MB / 1.013 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003101/1.584, allocations: 120.9 kB / 1.013 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007252/1.591, allocations: 2.733 MB / 1.016 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000931/1.592, allocations: 495.6 kB / 1.017 GB, free: 416 kB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001664/1.594, allocations: 0.729 MB / 1.017 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.007915/1.602, allocations: 2.809 MB / 1.02 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 8.335e-06/1.602, allocations: 0 / 1.02 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.224e-06/1.602, allocations: 0 / 1.02 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 4.386e-05/1.602, allocations: 0 / 1.02 GB, free: 14.37 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.004964/1.607, allocations: 1.786 MB / 1.022 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/1.607, allocations: 9.969 kB / 1.022 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002011/1.607, allocations: 154.1 kB / 1.022 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002979/1.61, allocations: 425.3 kB / 1.022 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001784/1.612, allocations: 0.8803 MB / 1.023 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.069e-05/1.612, allocations: 76.73 kB / 1.023 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000166/1.612, allocations: 94.81 kB / 1.023 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/1.614, allocations: 1.199 MB / 1.025 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.519e-05/1.614, allocations: 6.734 kB / 1.025 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.715e-05/1.614, allocations: 38.28 kB / 1.025 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.952e-05/1.614, allocations: 52.77 kB / 1.025 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001977/1.616, allocations: 1.062 MB / 1.026 GB, free: 10.73 MB / 0.7481 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.006715/1.623, allocations: 4.748 MB / 1.03 GB, free: 6.562 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001526/1.625, allocations: 0.9967 MB / 1.031 GB, free: 5.918 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00103/1.626, allocations: 0.5696 MB / 1.032 GB, free: 5.645 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006805/1.626, allocations: 0.6725 MB / 1.033 GB, free: 4.875 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.363e-05/1.626, allocations: 44.22 kB / 1.033 GB, free: 4.828 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=82): time 2.074e-06/1.626, allocations: 0 / 1.033 GB, free: 4.828 MB / 0.7481 GB Notification: Performance of matching and sorting (n=83): time 0.004674/1.631, allocations: 2.308 MB / 1.035 GB, free: 3.465 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.199e-05/1.631, allocations: 59.94 kB / 1.035 GB, free: 3.402 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008931/1.632, allocations: 0.6339 MB / 1.036 GB, free: 3.031 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.424e-05/1.632, allocations: 42.42 kB / 1.036 GB, free: 2.988 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003916/1.633, allocations: 455.8 kB / 1.036 GB, free: 2.59 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003408/1.633, allocations: 299.5 kB / 1.036 GB, free: 2.336 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002528/1.633, allocations: 138.6 kB / 1.036 GB, free: 2.25 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002249/1.633, allocations: 384.9 kB / 1.037 GB, free: 1.883 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005722/1.634, allocations: 321.6 kB / 1.037 GB, free: 1.723 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006834/1.635, allocations: 440 kB / 1.038 GB, free: 1.441 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001265/1.636, allocations: 0.7773 MB / 1.038 GB, free: 0.9844 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.636, allocations: 2.531 kB / 1.038 GB, free: 0.9844 MB / 0.7481 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001717/1.638, allocations: 0.9393 MB / 1.039 GB, free: 220 kB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/1.638, allocations: 8 kB / 1.039 GB, free: 212 kB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/1.638, allocations: 5.875 kB / 1.039 GB, free: 208 kB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003287/1.638, allocations: 56.83 kB / 1.039 GB, free: 148 kB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007116/1.639, allocations: 163.7 kB / 1.039 GB, free: 15.98 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005135/1.639, allocations: 0.6145 MB / 1.04 GB, free: 15.34 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008952/1.64, allocations: 23.16 kB / 1.04 GB, free: 15.32 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.335e-05/1.64, allocations: 32 kB / 1.04 GB, free: 15.29 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0006029/1.641, allocations: 301.6 kB / 1.04 GB, free: 14.99 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/1.641, allocations: 94.89 kB / 1.04 GB, free: 14.89 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001732/1.643, allocations: 0.9254 MB / 1.041 GB, free: 13.96 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.484e-05/1.643, allocations: 11.94 kB / 1.041 GB, free: 13.95 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/1.643, allocations: 5.438 kB / 1.041 GB, free: 13.94 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001365/1.644, allocations: 0.9232 MB / 1.042 GB, free: 12.97 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003757/1.648, allocations: 2.102 MB / 1.044 GB, free: 10.83 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/1.648, allocations: 0 / 1.044 GB, free: 10.83 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009729/1.649, allocations: 191.8 kB / 1.044 GB, free: 10.64 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.148e-06/1.649, allocations: 4 kB / 1.044 GB, free: 10.64 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-05/1.649, allocations: 19.98 kB / 1.045 GB, free: 10.62 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.979e-06/1.649, allocations: 7.938 kB / 1.045 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.649, allocations: 1.094 kB / 1.045 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002236/1.651, allocations: 1.474 MB / 1.046 GB, free: 9.121 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004896/1.652, allocations: 248 kB / 1.046 GB, free: 8.859 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/1.652, allocations: 24.56 kB / 1.046 GB, free: 8.836 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006579/1.653, allocations: 23.98 kB / 1.046 GB, free: 8.812 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/1.653, allocations: 48.92 kB / 1.046 GB, free: 8.762 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-05/1.653, allocations: 31.98 kB / 1.046 GB, free: 8.73 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0006884/1.654, allocations: 447 kB / 1.047 GB, free: 8.301 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.5e-07/1.654, allocations: 0 / 1.047 GB, free: 8.301 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001188/1.655, allocations: 323.9 kB / 1.047 GB, free: 7.984 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1]) * 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 (83): * Single equations (assignments): 83 * 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 Backend phase and start with SimCode phase: time 0.00275/1.658, allocations: 2.144 MB / 1.049 GB, free: 5.828 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001557/1.659, allocations: 0.8212 MB / 1.05 GB, free: 5.008 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/1.659, allocations: 0 / 1.05 GB, free: 5.008 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0006468/1.66, allocations: 445.6 kB / 1.05 GB, free: 4.574 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002831/1.663, allocations: 0.6004 MB / 1.051 GB, free: 3.988 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01119/1.674, allocations: 7.435 MB / 1.058 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008165/1.675, allocations: 1.12 MB / 1.059 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001117/1.676, allocations: 247.8 kB / 1.06 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005592/1.676, allocations: 391.3 kB / 1.06 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of SimCode: time 1.082e-06/1.676, allocations: 0 / 1.06 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07953/1.756, allocations: 27.84 MB / 1.087 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.81/14.57, allocations: 4 kB / 1.087 GB, free: 15.15 MB / 0.8106 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.OneRoom.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Airflow.Multizone.Examples.OneRoom_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_OneRoom.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1)