Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.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: translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008131/0.0008131, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001006/0.001006, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.7/1.7, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0004819/0.0004819, allocations: 14.28 kB / 0.6737 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2538, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.9006/1.155, allocations: 347.2 MB / 1.126 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.05526/1.21, allocations: 43.93 MB / 1.169 GB, free: 4.602 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008136/1.218, allocations: 139.1 kB / 1.169 GB, free: 4.465 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.008307/1.226, allocations: 1.789 MB / 1.171 GB, free: 2.664 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.02132/1.248, allocations: 5.269 MB / 1.176 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.009201/1.257, allocations: 2.791 MB / 1.179 GB, free: 10.61 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01803/1.275, allocations: 13.03 MB / 1.192 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01042/1.285, allocations: 3.94 MB / 1.196 GB, free: 9.555 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01731/1.303, allocations: 4.847 MB / 1.2 GB, free: 4.688 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007713/1.311, allocations: 3.275 MB / 1.203 GB, free: 1.398 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001283/1.312, allocations: 172 kB / 1.204 GB, free: 1.23 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01106/1.323, allocations: 3.344 MB / 1.207 GB, free: 13.88 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.002879/1.326, allocations: 1.331 MB / 1.208 GB, free: 12.54 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002703/1.329, allocations: 1.003 MB / 1.209 GB, free: 11.53 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01119/1.34, allocations: 6.617 MB / 1.216 GB, free: 4.898 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/1.34, allocations: 0 / 1.216 GB, free: 4.898 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.142e-06/1.34, allocations: 3.938 kB / 1.216 GB, free: 4.895 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0002596/1.34, allocations: 0 / 1.216 GB, free: 4.895 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 856 * Number of variables: 856 Notification: Performance of Generate backend data structure: time 0.01073/1.351, allocations: 4.755 MB / 1.22 GB, free: 52 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/1.351, allocations: 8.031 kB / 1.22 GB, free: 44 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0106/1.362, allocations: 1.906 MB / 1.222 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009274/1.371, allocations: 3.389 MB / 1.225 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001579/1.372, allocations: 0.6931 MB / 1.226 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001166/1.374, allocations: 344 kB / 1.226 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01005/1.384, allocations: 4.612 MB / 1.231 GB, free: 4.918 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.778e-05/1.384, allocations: 4 kB / 1.231 GB, free: 4.914 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003392/1.384, allocations: 140 kB / 1.231 GB, free: 4.777 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001396/1.384, allocations: 130.5 kB / 1.231 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01042/1.395, allocations: 4.198 MB / 1.235 GB, free: 452 kB / 0.9356 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.03251/1.427, allocations: 18.77 MB / 1.254 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004375/1.432, allocations: 2.08 MB / 1.256 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002356/1.434, allocations: 1.089 MB / 1.257 GB, free: 9.117 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007645/1.435, allocations: 445.6 kB / 1.257 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002804/1.438, allocations: 1.272 MB / 1.258 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002201/1.44, allocations: 177.9 kB / 1.259 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=135): time 3.437e-06/1.44, allocations: 0 / 1.259 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of matching and sorting (n=135): time 0.008619/1.449, allocations: 3.311 MB / 1.262 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/1.449, allocations: 149.8 kB / 1.262 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006235/1.455, allocations: 3.65 MB / 1.266 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0003018/1.455, allocations: 57.7 kB / 1.266 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001773/1.457, allocations: 2.005 MB / 1.268 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004937/1.457, allocations: 465.3 kB / 1.268 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/1.458, allocations: 43.98 kB / 1.268 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001866/1.458, allocations: 377.9 kB / 1.268 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002789/1.461, allocations: 1.144 MB / 1.27 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003279/1.464, allocations: 1.831 MB / 1.271 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002927/1.467, allocations: 1.32 MB / 1.273 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/1.467, allocations: 4 kB / 1.273 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.007538/1.474, allocations: 3.267 MB / 1.276 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004192/1.475, allocations: 0.5962 MB / 1.276 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.263e-05/1.475, allocations: 16 kB / 1.276 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.833e-05/1.475, allocations: 32 kB / 1.276 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002516/1.477, allocations: 0.5813 MB / 1.277 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.683e-05/1.478, allocations: 35.86 kB / 1.277 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004493/1.482, allocations: 0.6199 MB / 1.278 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002097/1.482, allocations: 95.95 kB / 1.278 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/1.482, allocations: 4 kB / 1.278 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5215/2.004, allocations: 2.903 MB / 1.281 GB, free: 373.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-05/2.004, allocations: 16.22 kB / 1.281 GB, free: 373.6 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.08e-05/2.004, allocations: 27.98 kB / 1.281 GB, free: 373.6 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003304/2.007, allocations: 0.5747 MB / 1.281 GB, free: 373.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-05/2.007, allocations: 36.53 kB / 1.281 GB, free: 373.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005047/2.012, allocations: 0.5357 MB / 1.282 GB, free: 373.6 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003787/2.013, allocations: 93.7 kB / 1.282 GB, free: 373.6 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (230): * Single equations (assignments): 226 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002808/2.016, allocations: 1.118 MB / 1.283 GB, free: 373.4 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009493/2.017, allocations: 371.4 kB / 1.283 GB, free: 373.4 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007088/2.024, allocations: 2.612 MB / 1.286 GB, free: 373.2 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/2.024, allocations: 14.19 kB / 1.286 GB, free: 373.2 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/2.024, allocations: 0 / 1.286 GB, free: 373.2 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004051/2.028, allocations: 2.211 MB / 1.288 GB, free: 372.8 MB / 0.9825 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 postOpt removeSimpleEquations (simulation): time 0.01469/2.042, allocations: 7.106 MB / 1.295 GB, free: 370.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-05/2.043, allocations: 9.5 kB / 1.295 GB, free: 370.2 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001877/2.044, allocations: 367.6 kB / 1.295 GB, free: 370.2 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002558/2.045, allocations: 58.48 kB / 1.295 GB, free: 370.2 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001276/2.045, allocations: 43.08 kB / 1.295 GB, free: 370.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001104/2.046, allocations: 1.456 MB / 1.297 GB, free: 368.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.48e-05/2.046, allocations: 16.19 kB / 1.297 GB, free: 368.8 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009291/2.055, allocations: 3.874 MB / 1.301 GB, free: 367.3 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002225/2.058, allocations: 0.6828 MB / 1.301 GB, free: 366.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007689/2.058, allocations: 37.47 kB / 1.301 GB, free: 366.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003454/2.062, allocations: 445.5 kB / 1.302 GB, free: 366.8 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003328/2.062, allocations: 117 kB / 1.302 GB, free: 366.8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001868/2.062, allocations: 67.98 kB / 1.302 GB, free: 366.8 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.005844/2.068, allocations: 2.522 MB / 1.304 GB, free: 365.9 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.2e-07/2.068, allocations: 2.75 kB / 1.304 GB, free: 365.9 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.007574/2.076, allocations: 2.012 MB / 1.306 GB, free: 365.6 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * Number of states: 4 (conPI.I.y,vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1]) * 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 (133): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001248/2.077, allocations: 0.4911 MB / 1.307 GB, free: 365.5 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.009459/2.087, allocations: 4.049 MB / 1.311 GB, free: 364.3 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.628e-05/2.087, allocations: 3.125 kB / 1.311 GB, free: 364.3 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003192/2.09, allocations: 1.209 MB / 1.312 GB, free: 363.9 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01105/2.101, allocations: 1.931 MB / 1.314 GB, free: 363.5 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01633/2.117, allocations: 9.219 MB / 1.323 GB, free: 358.6 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00227/2.12, allocations: 2.66 MB / 1.325 GB, free: 357.5 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.005774/2.125, allocations: 0.9729 MB / 1.326 GB, free: 357 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008724/2.126, allocations: 265 kB / 1.327 GB, free: 357 MB / 0.9825 GB Notification: Performance of SimCode: time 1.603e-06/2.126, allocations: 0 / 1.327 GB, free: 357 MB / 0.9825 GB Notification: Performance of Templates: time 0.1024/2.229, allocations: 68.83 MB / 1.394 GB, free: 292.5 MB / 0.9825 GB make -j1 -f Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.sim & ./Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1) Environment - environmentSimulation: