Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust") translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.57/1.57, allocations: 252 MB / 267.6 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009824/0.0009824, allocations: 185.2 kB / 327.3 MB, free: 2.188 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.769/1.769, allocations: 205.4 MB / 0.5783 GB, free: 20.53 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008773/0.0008771, allocations: 91.41 kB / 0.6829 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003605/0.0003605, allocations: 12.88 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2373, allocations: 106.3 MB / 0.9008 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.9932/1.23, allocations: 314 MB / 1.207 GB, free: 6.703 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.06413/1.295, allocations: 36.68 MB / 1.243 GB, free: 3.996 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008103/1.303, allocations: 111.2 kB / 1.243 GB, free: 3.887 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.008238/1.311, allocations: 1.487 MB / 1.245 GB, free: 2.391 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.02106/1.332, allocations: 4.341 MB / 1.249 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.009487/1.342, allocations: 2.236 MB / 1.251 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.01652/1.358, allocations: 9.708 MB / 1.261 GB, free: 2.082 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007245/1.366, allocations: 2.913 MB / 1.264 GB, free: 15.12 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01292/1.379, allocations: 3.591 MB / 1.267 GB, free: 11.52 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007519/1.386, allocations: 2.533 MB / 1.27 GB, free: 8.977 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0015/1.388, allocations: 124 kB / 1.27 GB, free: 8.855 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01168/1.399, allocations: 2.865 MB / 1.272 GB, free: 5.984 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.002869/1.402, allocations: 0.9809 MB / 1.273 GB, free: 5 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.002615/1.405, allocations: 0.7537 MB / 1.274 GB, free: 4.238 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.01222/1.417, allocations: 5.054 MB / 1.279 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.256e-05/1.417, allocations: 0 / 1.279 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.47e-06/1.417, allocations: 0 / 1.279 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0002732/1.418, allocations: 0 / 1.279 GB, free: 15.17 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 647 * Number of variables: 647 Notification: Performance of Generate backend data structure: time 0.0112/1.429, allocations: 3.702 MB / 1.283 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/1.429, allocations: 8.031 kB / 1.283 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009393/1.438, allocations: 1.447 MB / 1.284 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007519/1.446, allocations: 2.558 MB / 1.287 GB, free: 7.297 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001527/1.448, allocations: 0.5409 MB / 1.287 GB, free: 6.734 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001038/1.449, allocations: 260 kB / 1.287 GB, free: 6.48 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008573/1.457, allocations: 3.478 MB / 1.291 GB, free: 2.902 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.092e-05/1.457, allocations: 3.938 kB / 1.291 GB, free: 2.898 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003224/1.458, allocations: 108 kB / 1.291 GB, free: 2.793 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001272/1.458, allocations: 100.9 kB / 1.291 GB, free: 2.691 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008116/1.466, allocations: 3.205 MB / 1.294 GB, free: 15.47 MB / 0.823 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.02783/1.494, allocations: 14.44 MB / 1.308 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004439/1.498, allocations: 1.877 MB / 1.31 GB, free: 14.07 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002007/1.5, allocations: 0.8184 MB / 1.311 GB, free: 13.25 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005148/1.501, allocations: 300.3 kB / 1.311 GB, free: 12.9 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002346/1.503, allocations: 0.9698 MB / 1.312 GB, free: 11.91 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001911/1.505, allocations: 142.4 kB / 1.312 GB, free: 11.77 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=108): time 5.671e-06/1.505, allocations: 3.938 kB / 1.312 GB, free: 11.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=108): time 0.00746/1.513, allocations: 2.51 MB / 1.315 GB, free: 9.223 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/1.513, allocations: 119.8 kB / 1.315 GB, free: 9.082 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005905/1.519, allocations: 2.835 MB / 1.318 GB, free: 6.242 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.000438/1.519, allocations: 53.7 kB / 1.318 GB, free: 6.184 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001757/1.521, allocations: 1.502 MB / 1.319 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005973/1.522, allocations: 382.5 kB / 1.319 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/1.522, allocations: 32 kB / 1.319 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002317/1.522, allocations: 357.9 kB / 1.32 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002639/1.525, allocations: 0.894 MB / 1.321 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002972/1.528, allocations: 1.408 MB / 1.322 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00273/1.53, allocations: 1.024 MB / 1.323 GB, free: 368 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.391e-05/1.53, allocations: 4 kB / 1.323 GB, free: 364 kB / 0.8386 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.007004/1.537, allocations: 2.536 MB / 1.326 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004708/1.538, allocations: 475.6 kB / 1.326 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.135e-05/1.538, allocations: 15.94 kB / 1.326 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.099e-05/1.538, allocations: 20 kB / 1.326 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002319/1.54, allocations: 467.3 kB / 1.326 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.302e-05/1.54, allocations: 23.92 kB / 1.327 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004492/1.545, allocations: 0.5038 MB / 1.327 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001923/1.545, allocations: 79.97 kB / 1.327 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/1.545, allocations: 4 kB / 1.327 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005969/1.551, allocations: 2.266 MB / 1.329 GB, free: 9.797 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.578e-05/1.551, allocations: 12 kB / 1.329 GB, free: 9.785 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.889e-05/1.551, allocations: 20 kB / 1.329 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002205/1.553, allocations: 463.9 kB / 1.33 GB, free: 9.312 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.98e-05/1.553, allocations: 31.81 kB / 1.33 GB, free: 9.281 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004316/1.558, allocations: 459.1 kB / 1.33 GB, free: 8.836 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002137/1.558, allocations: 75.95 kB / 1.33 GB, free: 8.762 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (180): * Single equations (assignments): 177 * Array equations: 2 * 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.00292/1.561, allocations: 0.8597 MB / 1.331 GB, free: 7.891 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001046/1.562, allocations: 284.4 kB / 1.331 GB, free: 7.609 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005343/1.567, allocations: 1.954 MB / 1.333 GB, free: 5.629 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/1.567, allocations: 8 kB / 1.333 GB, free: 5.621 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/1.567, allocations: 0 / 1.333 GB, free: 5.621 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003663/1.571, allocations: 1.528 MB / 1.335 GB, free: 4.059 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01254/1.584, allocations: 4.944 MB / 1.34 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.519e-05/1.584, allocations: 7.984 kB / 1.34 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001594/1.585, allocations: 280.1 kB / 1.34 GB, free: 14.65 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002801/1.586, allocations: 52.83 kB / 1.34 GB, free: 14.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/1.586, allocations: 35.94 kB / 1.34 GB, free: 14.56 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00145/1.587, allocations: 1.444 MB / 1.341 GB, free: 12.99 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/1.587, allocations: 7.984 kB / 1.341 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00704/1.594, allocations: 2.943 MB / 1.344 GB, free: 9.938 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002202/1.596, allocations: 0.5598 MB / 1.345 GB, free: 9.355 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004809/1.597, allocations: 28 kB / 1.345 GB, free: 9.328 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002885/1.6, allocations: 315.5 kB / 1.345 GB, free: 9.02 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002156/1.6, allocations: 88.78 kB / 1.345 GB, free: 8.93 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001312/1.6, allocations: 47.97 kB / 1.345 GB, free: 8.883 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.004039/1.604, allocations: 1.985 MB / 1.347 GB, free: 6.902 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.2e-07/1.604, allocations: 0 / 1.347 GB, free: 6.902 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005463/1.61, allocations: 1.519 MB / 1.349 GB, free: 5.379 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (106): * Single equations (assignments): 103 * 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.001323/1.611, allocations: 433.6 kB / 1.349 GB, free: 4.957 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.008442/1.62, allocations: 3.153 MB / 1.352 GB, free: 1.785 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.04e-05/1.62, allocations: 8 kB / 1.352 GB, free: 1.777 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002533/1.622, allocations: 0.9076 MB / 1.353 GB, free: 0.8594 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0095/1.632, allocations: 1.513 MB / 1.355 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01863/1.65, allocations: 6.961 MB / 1.361 GB, free: 8.281 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002446/1.653, allocations: 2.115 MB / 1.363 GB, free: 6.133 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001575/1.655, allocations: 215.4 kB / 1.364 GB, free: 5.922 MB / 0.8855 GB Notification: Performance of SimCode: time 4.438e-06/1.655, allocations: 0 / 1.364 GB, free: 5.922 MB / 0.8855 GB Notification: Performance of Templates: time 0.6754/2.33, allocations: 58.37 MB / 1.421 GB, free: 353.5 MB / 0.9167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1)