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.00136/0.00136, allocations: 108 kB / 15.61 MB, free: 152 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.001559/0.001559, allocations: 196.3 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.419/1.419, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.778/1.778, allocations: 292.3 MB / 0.5489 GB, free: 12.79 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.001642/0.001642, allocations: 71.17 kB / 0.6716 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2321, allocations: 114.6 MB / 0.7835 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.6442/0.8763, allocations: 166.9 MB / 0.9464 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01389/0.8903, allocations: 8.418 MB / 0.9547 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002406/0.8927, allocations: 36 kB / 0.9547 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002069/0.8949, allocations: 0.5639 MB / 0.9553 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00533/0.9002, allocations: 1.529 MB / 0.9567 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00302/0.9033, allocations: 0.9856 MB / 0.9577 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005723/0.909, allocations: 4.085 MB / 0.9617 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002179/0.9112, allocations: 1.317 MB / 0.963 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00403/0.9152, allocations: 1.483 MB / 0.9644 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002975/0.9182, allocations: 1.503 MB / 0.9659 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000507/0.9187, allocations: 186.6 kB / 0.9661 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003401/0.9221, allocations: 1.11 MB / 0.9672 GB, free: 3 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007114/0.9229, allocations: 0.6758 MB / 0.9678 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001649/0.9245, allocations: 1.024 MB / 0.9688 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004881/0.9294, allocations: 2.735 MB / 0.9715 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.9295, allocations: 0 / 0.9715 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.884e-06/0.9295, allocations: 0 / 0.9715 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.288e-05/0.9295, allocations: 0 / 0.9715 GB, free: 1.223 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.00524/0.9348, allocations: 2.251 MB / 0.9737 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.9348, allocations: 9.625 kB / 0.9737 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002884/0.9351, allocations: 227.6 kB / 0.9739 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005594/0.9357, allocations: 199.9 kB / 0.9741 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002303/0.938, allocations: 1.127 MB / 0.9752 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/0.9381, allocations: 115.8 kB / 0.9753 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002739/0.9384, allocations: 152.3 kB / 0.9755 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00347/0.9419, allocations: 1.925 MB / 0.9773 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.172e-05/0.942, allocations: 8.875 kB / 0.9774 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001554/0.9421, allocations: 61.56 kB / 0.9774 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.795e-05/0.9422, allocations: 37.34 kB / 0.9774 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004011/0.9462, allocations: 2.474 MB / 0.9799 GB, free: 13.24 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.009461/0.9557, allocations: 6.128 MB / 0.9858 GB, free: 8.457 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00352/0.9592, allocations: 2.807 MB / 0.9886 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001955/0.9612, allocations: 1.428 MB / 0.99 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001737/0.9629, allocations: 1.731 MB / 0.9917 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.654e-05/0.963, allocations: 56.56 kB / 0.9917 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=237): time 6.021e-06/0.963, allocations: 7.922 kB / 0.9917 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=237): time 0.005564/0.9686, allocations: 3.428 MB / 0.9951 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.9687, allocations: 80 kB / 0.9952 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.9697, allocations: 0.7674 MB / 0.9959 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001345/0.9698, allocations: 65.23 kB / 0.996 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003461/0.9702, allocations: 488 kB / 0.9964 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006774/0.9709, allocations: 0.8004 MB / 0.9972 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004708/0.9714, allocations: 347.7 kB / 0.9975 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.9715, allocations: 301.1 kB / 0.9978 GB, free: 260 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001381/0.9729, allocations: 0.9047 MB / 0.9987 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001513/0.9744, allocations: 1.119 MB / 0.9998 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003417/0.9778, allocations: 2.232 MB / 1.002 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.353e-06/0.9778, allocations: 0 / 1.002 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004104/0.982, allocations: 2.427 MB / 1.004 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.208e-05/0.982, allocations: 7.688 kB / 1.004 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/0.982, allocations: 5.031 kB / 1.004 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.768e-05/0.9821, allocations: 20.88 kB / 1.004 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001649/0.9837, allocations: 441.3 kB / 1.005 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-05/0.9838, allocations: 13.06 kB / 1.005 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/0.985, allocations: 153.5 kB / 1.005 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001635/0.9852, allocations: 74.73 kB / 1.005 GB, free: 12.55 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.0008315/0.9861, allocations: 440.9 kB / 1.005 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00045/0.9865, allocations: 144.8 kB / 1.006 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004762/0.9913, allocations: 2.736 MB / 1.008 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.67e-05/0.9913, allocations: 23 kB / 1.008 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.567e-05/0.9913, allocations: 0 / 1.008 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003526/0.9949, allocations: 2.379 MB / 1.011 GB, free: 8.426 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006851/1.002, allocations: 4.3 MB / 1.015 GB, free: 4.113 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/1.002, allocations: 0 / 1.015 GB, free: 4.113 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001637/1.003, allocations: 411.4 kB / 1.015 GB, free: 3.711 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005964/1.004, allocations: 97.69 kB / 1.015 GB, free: 3.609 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001725/1.004, allocations: 55.97 kB / 1.015 GB, free: 3.555 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007855/1.005, allocations: 1.115 MB / 1.016 GB, free: 2.391 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/1.005, allocations: 0 / 1.016 GB, free: 2.391 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006246/1.011, allocations: 4.057 MB / 1.02 GB, free: 14.31 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009904/1.012, allocations: 482.6 kB / 1.021 GB, free: 13.82 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003489/1.013, allocations: 44 kB / 1.021 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/1.014, allocations: 51.98 kB / 1.021 GB, free: 13.72 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002656/1.014, allocations: 141.8 kB / 1.021 GB, free: 13.58 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001515/1.014, allocations: 67.98 kB / 1.021 GB, free: 13.52 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.000822/1.015, allocations: 0.5342 MB / 1.022 GB, free: 12.98 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.11e-07/1.015, allocations: 4 kB / 1.022 GB, free: 12.98 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001889/1.017, allocations: 0.6513 MB / 1.022 GB, free: 12.32 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.007049/1.024, allocations: 4.894 MB / 1.027 GB, free: 7.414 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.009264/1.033, allocations: 4.863 MB / 1.032 GB, free: 2.551 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/1.033, allocations: 4 kB / 1.032 GB, free: 2.547 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002201/1.035, allocations: 1.277 MB / 1.033 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003123/1.039, allocations: 0.5814 MB / 1.034 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02254/1.061, allocations: 14.2 MB / 1.048 GB, free: 2.023 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/1.062, allocations: 1.339 MB / 1.049 GB, free: 0.6562 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.002164/1.064, allocations: 0.7188 MB / 1.05 GB, free: 15.93 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/1.065, allocations: 0.6125 MB / 1.05 GB, free: 15.32 MB / 0.795 GB Notification: Performance of SimCode: time 8.42e-07/1.065, allocations: 0 / 1.05 GB, free: 15.32 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07417/1.14, allocations: 39.32 MB / 1.089 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/13.48, allocations: 15.55 kB / 1.089 GB, free: 8.406 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)