Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009579/0.0009579, allocations: 79.69 kB / 21.74 MB, free: 2.52 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009477/0.0009477, allocations: 166.3 kB / 25.18 MB, free: 8.328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8829/0.8829, allocations: 177.2 MB / 205.6 MB, free: 4.363 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.879/1.879, allocations: 389.6 MB / 0.6364 GB, free: 13.25 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.012e-06/1.012e-06, allocations: 0 / 0.7756 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.126e-05/1.227e-05, allocations: 5.688 kB / 0.7756 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.5047/0.5047, allocations: 172.7 MB / 0.9443 GB, free: 5.918 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.02373/0.5284, allocations: 15.14 MB / 0.959 GB, free: 6.766 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004509/0.5329, allocations: 238.1 kB / 0.9593 GB, free: 6.531 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.004441/0.5374, allocations: 2.281 MB / 0.9615 GB, free: 4.238 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.007501/0.5449, allocations: 4.282 MB / 0.9657 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.005845/0.5507, allocations: 3.696 MB / 0.9693 GB, free: 12.24 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.01838/0.5691, allocations: 18.31 MB / 0.9872 GB, free: 9.895 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006765/0.5759, allocations: 4.04 MB / 0.9911 GB, free: 5.82 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01079/0.5867, allocations: 6.755 MB / 0.9977 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004852/0.5915, allocations: 3.179 MB / 1.001 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.001013/0.5925, allocations: 492 kB / 1.001 GB, free: 11.49 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003027/0.5955, allocations: 1.603 MB / 1.003 GB, free: 9.887 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.001679/0.5972, allocations: 2.146 MB / 1.005 GB, free: 7.734 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.003163/0.6004, allocations: 2.046 MB / 1.007 GB, free: 5.684 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.006327/0.6067, allocations: 5.314 MB / 1.012 GB, free: 360 kB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.6067, allocations: 0 / 1.012 GB, free: 360 kB / 0.9167 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6067, allocations: 4 kB / 1.012 GB, free: 356 kB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001649/0.6069, allocations: 0 / 1.012 GB, free: 356 kB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 864 * Number of variables: 864 Notification: Performance of Generate backend data structure: time 0.006922/0.6138, allocations: 6.041 MB / 1.018 GB, free: 10.21 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 2.874e-05/0.6138, allocations: 8.031 kB / 1.018 GB, free: 10.21 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00456/0.6184, allocations: 1.891 MB / 1.02 GB, free: 8.312 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004786/0.6232, allocations: 4.008 MB / 1.024 GB, free: 4.18 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002329/0.6234, allocations: 484.3 kB / 1.024 GB, free: 3.656 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003422/0.6238, allocations: 356 kB / 1.025 GB, free: 3.309 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003415/0.6272, allocations: 3.11 MB / 1.028 GB, free: 15.98 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.44e-05/0.6272, allocations: 3.938 kB / 1.028 GB, free: 15.97 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001978/0.6274, allocations: 144 kB / 1.028 GB, free: 15.83 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.579e-05/0.6275, allocations: 138.4 kB / 1.028 GB, free: 15.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001651/0.6292, allocations: 1.082 MB / 1.029 GB, free: 14.59 MB / 0.948 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.01115/0.6403, allocations: 10.3 MB / 1.039 GB, free: 3.988 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009399/0.6412, allocations: 0.7146 MB / 1.04 GB, free: 3.27 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003835/0.6416, allocations: 290.5 kB / 1.04 GB, free: 2.988 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001895/0.6418, allocations: 81.23 kB / 1.04 GB, free: 2.906 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008679/0.6427, allocations: 0.9463 MB / 1.041 GB, free: 1.836 MB / 0.948 GB Notification: Performance of pre-optimization done (n=129): time 2.475e-06/0.6427, allocations: 0 / 1.041 GB, free: 1.836 MB / 0.948 GB Notification: Performance of matching and sorting (n=129): time 0.001798/0.6445, allocations: 1.008 MB / 1.042 GB, free: 0.8203 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.6445, allocations: 145.8 kB / 1.042 GB, free: 0.6445 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002124/0.6467, allocations: 2.946 MB / 1.045 GB, free: 13.69 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.471e-05/0.6468, allocations: 61.7 kB / 1.045 GB, free: 13.62 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007757/0.6475, allocations: 1.635 MB / 1.047 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003959/0.6479, allocations: 475.8 kB / 1.047 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003815/0.6483, allocations: 363.1 kB / 1.047 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 5.872e-05/0.6484, allocations: 305.1 kB / 1.048 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005143/0.6489, allocations: 301.1 kB / 1.048 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008581/0.6497, allocations: 1.286 MB / 1.049 GB, free: 8.871 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.651, allocations: 1.242 MB / 1.051 GB, free: 7.383 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/0.651, allocations: 11.94 kB / 1.051 GB, free: 7.371 MB / 0.9636 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.001629/0.6526, allocations: 1.302 MB / 1.052 GB, free: 6.047 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.239e-05/0.6527, allocations: 41.78 kB / 1.052 GB, free: 6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/0.6527, allocations: 23.94 kB / 1.052 GB, free: 5.977 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.6527, allocations: 28 kB / 1.052 GB, free: 5.949 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/0.6538, allocations: 495.2 kB / 1.052 GB, free: 5.465 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.071e-05/0.6538, allocations: 35.86 kB / 1.052 GB, free: 5.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.6551, allocations: 326.5 kB / 1.053 GB, free: 5.109 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.6552, allocations: 71.97 kB / 1.053 GB, free: 5.039 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008869/0.6561, allocations: 415.4 kB / 1.053 GB, free: 4.621 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009837/0.6571, allocations: 1.283 MB / 1.054 GB, free: 2.965 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001188/0.6583, allocations: 1.251 MB / 1.056 GB, free: 1.469 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.282e-06/0.6583, allocations: 4 kB / 1.056 GB, free: 1.465 MB / 0.9636 GB Notification: Performance of matching and sorting (n=226) (initialization_lambda0): time 0.001529/0.6598, allocations: 1.305 MB / 1.057 GB, free: 140 kB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.6599, allocations: 46.5 kB / 1.057 GB, free: 88 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.6599, allocations: 20 kB / 1.057 GB, free: 68 kB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.6599, allocations: 28 kB / 1.057 GB, free: 40 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.661, allocations: 491.4 kB / 1.057 GB, free: 15.55 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.846e-05/0.661, allocations: 35.86 kB / 1.058 GB, free: 15.52 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/0.6622, allocations: 311.5 kB / 1.058 GB, free: 15.21 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.6623, allocations: 71.97 kB / 1.058 GB, free: 15.14 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (222): * Single equations (assignments): 218 * Array equations: 3 * Algorithm blocks: 1 * 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.0002887/0.6626, allocations: 315.5 kB / 1.058 GB, free: 14.83 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002723/0.6629, allocations: 263.7 kB / 1.058 GB, free: 14.57 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001319/0.6642, allocations: 1.174 MB / 1.06 GB, free: 13.37 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.6642, allocations: 16 kB / 1.06 GB, free: 13.35 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.6642, allocations: 0 / 1.06 GB, free: 13.35 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000836/0.665, allocations: 0.7644 MB / 1.06 GB, free: 12.5 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00405/0.6691, allocations: 3.305 MB / 1.064 GB, free: 9.016 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/0.6691, allocations: 15.92 kB / 1.064 GB, free: 9 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007945/0.6699, allocations: 315.7 kB / 1.064 GB, free: 8.691 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003187/0.6702, allocations: 221.2 kB / 1.064 GB, free: 8.469 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.338e-05/0.6703, allocations: 39.97 kB / 1.064 GB, free: 8.43 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006543/0.6709, allocations: 1.251 MB / 1.065 GB, free: 7.078 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/0.6709, allocations: 15.94 kB / 1.065 GB, free: 7.062 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001636/0.6726, allocations: 1.481 MB / 1.067 GB, free: 5.422 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006501/0.6732, allocations: 0.4955 MB / 1.067 GB, free: 4.926 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002661/0.6735, allocations: 43.92 kB / 1.067 GB, free: 4.883 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009296/0.6744, allocations: 147.7 kB / 1.067 GB, free: 4.742 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.6746, allocations: 120.5 kB / 1.068 GB, free: 4.625 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.234e-05/0.6746, allocations: 55.95 kB / 1.068 GB, free: 4.57 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001109/0.6757, allocations: 1.556 MB / 1.069 GB, free: 3.016 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.6757, allocations: 0 / 1.069 GB, free: 3.016 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.002871/0.6786, allocations: 2.178 MB / 1.071 GB, free: 0.832 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (conPI.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (127): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003958/0.679, allocations: 259.7 kB / 1.072 GB, free: 0.5703 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001945/0.681, allocations: 1.602 MB / 1.073 GB, free: 14.93 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.985e-05/0.681, allocations: 51.88 kB / 1.073 GB, free: 14.88 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005431/0.6815, allocations: 485.8 kB / 1.074 GB, free: 14.39 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004059/0.6856, allocations: 2.302 MB / 1.076 GB, free: 12.14 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008761/0.6944, allocations: 7.91 MB / 1.084 GB, free: 4.012 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001631/0.696, allocations: 2.234 MB / 1.086 GB, free: 1.75 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003132/0.6991, allocations: 1.5 MB / 1.087 GB, free: 224 kB / 0.9948 GB Notification: Performance of SimCode: time 1.693e-06/0.6991, allocations: 0 / 1.087 GB, free: 224 kB / 0.9948 GB Notification: Performance of Templates: time 0.08544/0.7846, allocations: 86.57 MB / 1.172 GB, free: 10.17 MB / 1.089 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; mkfifo Buildings_13_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe >> ../files/Buildings_13_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.sim & ./Buildings_13_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust > Buildings_13_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.167818736284971]