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.001131/0.001131, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.0097/0.0097, allocations: 173.2 kB / 16.26 MB, free: 6.676 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.684/1.684, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.735/1.735, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0009404/0.0009404, allocations: 13.44 kB / 0.6743 GB, free: 25.76 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2752, allocations: 116.3 MB / 0.7879 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 1.046/1.322, allocations: 372.2 MB / 1.151 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.07719/1.399, allocations: 47.12 MB / 1.197 GB, free: 8.266 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01288/1.412, allocations: 151 kB / 1.198 GB, free: 8.117 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.01102/1.423, allocations: 2.371 MB / 1.2 GB, free: 5.734 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0276/1.451, allocations: 6.797 MB / 1.206 GB, free: 14.91 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.01257/1.463, allocations: 3.414 MB / 1.21 GB, free: 11.53 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.02715/1.49, allocations: 15.38 MB / 1.225 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01102/1.502, allocations: 4.553 MB / 1.229 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0183/1.52, allocations: 5.381 MB / 1.235 GB, free: 2.082 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01086/1.531, allocations: 3.404 MB / 1.238 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.002102/1.533, allocations: 168 kB / 1.238 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01816/1.551, allocations: 6.823 MB / 1.245 GB, free: 7.676 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.003841/1.555, allocations: 1.339 MB / 1.246 GB, free: 6.332 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.007182/1.562, allocations: 2.36 MB / 1.248 GB, free: 3.953 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.02212/1.584, allocations: 9.162 MB / 1.257 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/1.584, allocations: 0 / 1.257 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of FrontEnd: time 5.651e-06/1.584, allocations: 4 kB / 1.257 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.000288/1.585, allocations: 3.938 kB / 1.257 GB, free: 10.75 MB / 0.9669 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.01567/1.6, allocations: 4.677 MB / 1.262 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 7.357e-05/1.601, allocations: 8.031 kB / 1.262 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01235/1.613, allocations: 1.914 MB / 1.264 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01073/1.624, allocations: 3.589 MB / 1.267 GB, free: 416 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001689/1.625, allocations: 0.6305 MB / 1.268 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001428/1.627, allocations: 344 kB / 1.268 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01127/1.638, allocations: 4.546 MB / 1.273 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.619e-05/1.638, allocations: 3.938 kB / 1.273 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003893/1.639, allocations: 140 kB / 1.273 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001477/1.639, allocations: 134.5 kB / 1.273 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01019/1.649, allocations: 4.062 MB / 1.277 GB, free: 6.426 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 preOpt removeSimpleEquations (simulation): time 0.6749/2.324, allocations: 18.61 MB / 1.295 GB, free: 370.7 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004742/2.329, allocations: 1.812 MB / 1.297 GB, free: 370.3 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002376/2.331, allocations: 0.9333 MB / 1.298 GB, free: 370 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006826/2.332, allocations: 411.9 kB / 1.298 GB, free: 369.6 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002854/2.335, allocations: 1.115 MB / 1.299 GB, free: 369.2 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00243/2.337, allocations: 149.2 kB / 1.299 GB, free: 369.1 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=133): time 6.302e-06/2.337, allocations: 0 / 1.299 GB, free: 369.1 MB / 0.9825 GB Notification: Performance of matching and sorting (n=133): time 0.009368/2.347, allocations: 2.897 MB / 1.302 GB, free: 368.2 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.327e-05/2.347, allocations: 148.7 kB / 1.302 GB, free: 368 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009466/2.356, allocations: 3.367 MB / 1.306 GB, free: 366.8 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0009282/2.357, allocations: 61.62 kB / 1.306 GB, free: 366.8 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.005741/2.363, allocations: 2.141 MB / 1.308 GB, free: 365.1 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.001797/2.365, allocations: 475.1 kB / 1.308 GB, free: 364.8 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001211/2.366, allocations: 194.4 kB / 1.308 GB, free: 364.7 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001143/2.366, allocations: 306.3 kB / 1.309 GB, free: 364.4 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005554/2.372, allocations: 1.053 MB / 1.31 GB, free: 364.1 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006263/2.378, allocations: 2.133 MB / 1.312 GB, free: 362.4 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00939/2.388, allocations: 3.095 MB / 1.315 GB, free: 360.4 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.456e-05/2.388, allocations: 8.312 kB / 1.315 GB, free: 360.4 MB / 0.9825 GB Notification: Performance of matching and sorting (n=295) (initialization): time 0.01654/2.404, allocations: 3.409 MB / 1.318 GB, free: 359.2 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.001904/2.406, allocations: 1.047 MB / 1.319 GB, free: 357.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001152/2.406, allocations: 31.09 kB / 1.319 GB, free: 357.8 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001639/2.407, allocations: 53.19 kB / 1.319 GB, free: 357.8 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00556/2.412, allocations: 0.6357 MB / 1.32 GB, free: 357.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001226/2.412, allocations: 63.81 kB / 1.32 GB, free: 357.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008719/2.421, allocations: 0.5914 MB / 1.32 GB, free: 357.6 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000692/2.422, allocations: 123.8 kB / 1.321 GB, free: 357.6 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/2.422, allocations: 4.125 kB / 1.321 GB, free: 357.6 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01295/2.435, allocations: 3.017 MB / 1.324 GB, free: 356.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001775/2.435, allocations: 31 kB / 1.324 GB, free: 356.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001302/2.435, allocations: 44.62 kB / 1.324 GB, free: 356.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004683/2.44, allocations: 0.6321 MB / 1.324 GB, free: 356.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001001/2.44, allocations: 74.8 kB / 1.324 GB, free: 356.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007696/2.448, allocations: 489.7 kB / 1.325 GB, free: 356.2 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004994/2.448, allocations: 122.7 kB / 1.325 GB, free: 356.2 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * 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 (291): * Single equations (assignments): 287 * 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.004358/2.453, allocations: 1.176 MB / 1.326 GB, free: 355.4 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001429/2.454, allocations: 350 kB / 1.326 GB, free: 355.3 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009271/2.463, allocations: 2.332 MB / 1.329 GB, free: 354 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.088e-05/2.464, allocations: 15.75 kB / 1.329 GB, free: 354 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.185e-05/2.464, allocations: 3.938 kB / 1.329 GB, free: 354 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006364/2.47, allocations: 1.951 MB / 1.331 GB, free: 352.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.02605/2.496, allocations: 6.437 MB / 1.337 GB, free: 348.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.252e-05/2.496, allocations: 10.06 kB / 1.337 GB, free: 348.7 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002634/2.499, allocations: 329.8 kB / 1.337 GB, free: 348.6 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003934/2.499, allocations: 59.52 kB / 1.337 GB, free: 348.5 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002135/2.499, allocations: 39.39 kB / 1.337 GB, free: 348.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001599/2.501, allocations: 1.434 MB / 1.339 GB, free: 347.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.269e-05/2.501, allocations: 15.88 kB / 1.339 GB, free: 347.1 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01281/2.514, allocations: 3.384 MB / 1.342 GB, free: 345.1 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003994/2.518, allocations: 0.5937 MB / 1.343 GB, free: 344.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001913/2.52, allocations: 46.62 kB / 1.343 GB, free: 344.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007092/2.527, allocations: 365.5 kB / 1.343 GB, free: 344.5 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003907/2.527, allocations: 115.9 kB / 1.343 GB, free: 344.4 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003062/2.528, allocations: 67.97 kB / 1.343 GB, free: 344.4 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.008465/2.536, allocations: 2.277 MB / 1.345 GB, free: 342.7 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.82e-07/2.536, allocations: 0 / 1.345 GB, free: 342.7 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.01251/2.549, allocations: 2.029 MB / 1.347 GB, free: 340.7 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * 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 (131): * Single equations (assignments): 128 * 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.001749/2.551, allocations: 0.4926 MB / 1.348 GB, free: 340.2 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01015/2.561, allocations: 3.945 MB / 1.352 GB, free: 336.3 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.779e-05/2.561, allocations: 1.5 kB / 1.352 GB, free: 336.3 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002654/2.564, allocations: 1.066 MB / 1.353 GB, free: 335.2 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01517/2.579, allocations: 1.63 MB / 1.354 GB, free: 333.6 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02226/2.601, allocations: 9.396 MB / 1.363 GB, free: 324.1 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004098/2.605, allocations: 2.657 MB / 1.366 GB, free: 321.4 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.006821/2.612, allocations: 1.038 MB / 1.367 GB, free: 320.4 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001662/2.614, allocations: 259.4 kB / 1.367 GB, free: 320.2 MB / 0.9825 GB Notification: Performance of SimCode: time 2.084e-06/2.614, allocations: 0 / 1.367 GB, free: 320.2 MB / 0.9825 GB Notification: Performance of Templates: time 0.1025/2.716, allocations: 61.7 MB / 1.428 GB, free: 259.3 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: