Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust") translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.462/2.462, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001337/0.001337, allocations: 178.6 kB / 325.8 MB, free: 2.777 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.66/2.66, allocations: 205.4 MB / 0.5767 GB, free: 20.73 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009173/0.0009171, allocations: 88.5 kB / 0.6812 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006832/0.0006834, allocations: 11.91 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2339, allocations: 106.3 MB / 0.899 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 1.145/1.379, allocations: 314 MB / 1.206 GB, free: 7.961 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.07454/1.454, allocations: 36.69 MB / 1.241 GB, free: 5.523 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006157/1.46, allocations: 111.2 kB / 1.242 GB, free: 5.414 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.007823/1.468, allocations: 1.483 MB / 1.243 GB, free: 3.922 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.01902/1.487, allocations: 4.336 MB / 1.247 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.01062/1.497, allocations: 2.244 MB / 1.249 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.01813/1.516, allocations: 9.837 MB / 1.259 GB, free: 3.484 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007963/1.524, allocations: 3.181 MB / 1.262 GB, free: 264 kB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01224/1.536, allocations: 3.602 MB / 1.266 GB, free: 12.64 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007039/1.543, allocations: 2.533 MB / 1.268 GB, free: 10.1 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.001129/1.544, allocations: 128 kB / 1.268 GB, free: 9.973 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01183/1.556, allocations: 2.857 MB / 1.271 GB, free: 7.109 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.002564/1.559, allocations: 0.973 MB / 1.272 GB, free: 6.133 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.002002/1.561, allocations: 0.7653 MB / 1.273 GB, free: 5.359 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.01113/1.572, allocations: 5.05 MB / 1.278 GB, free: 304 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 7.834e-06/1.572, allocations: 0 / 1.278 GB, free: 304 kB / 0.7917 GB Notification: Performance of FrontEnd: time 2.554e-06/1.572, allocations: 0 / 1.278 GB, free: 304 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001735/1.572, allocations: 0 / 1.278 GB, free: 304 kB / 0.7917 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.0126/1.585, allocations: 3.706 MB / 1.281 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/1.585, allocations: 12.03 kB / 1.281 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01395/1.599, allocations: 1.447 MB / 1.283 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009002/1.608, allocations: 2.556 MB / 1.285 GB, free: 8.418 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002784/1.611, allocations: 0.5331 MB / 1.286 GB, free: 7.863 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001009/1.612, allocations: 264 kB / 1.286 GB, free: 7.605 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01232/1.624, allocations: 3.476 MB / 1.289 GB, free: 4.027 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-05/1.624, allocations: 7.938 kB / 1.289 GB, free: 4.02 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004712/1.625, allocations: 104 kB / 1.29 GB, free: 3.918 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001648/1.625, allocations: 108.9 kB / 1.29 GB, free: 3.809 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01387/1.639, allocations: 3.205 MB / 1.293 GB, free: 0.5898 MB / 0.8073 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.03809/1.677, allocations: 14.45 MB / 1.307 GB, free: 1.098 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007953/1.685, allocations: 1.869 MB / 1.309 GB, free: 15.18 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003649/1.689, allocations: 0.8222 MB / 1.309 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006232/1.689, allocations: 304.3 kB / 1.31 GB, free: 14.01 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004001/1.693, allocations: 0.9738 MB / 1.311 GB, free: 13.01 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001878/1.695, allocations: 138.3 kB / 1.311 GB, free: 12.88 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=108): time 6.292e-06/1.695, allocations: 0 / 1.311 GB, free: 12.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=108): time 0.01225/1.707, allocations: 2.517 MB / 1.313 GB, free: 10.33 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.431e-05/1.708, allocations: 115.8 kB / 1.313 GB, free: 10.19 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007751/1.715, allocations: 2.835 MB / 1.316 GB, free: 7.352 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0004185/1.716, allocations: 53.7 kB / 1.316 GB, free: 7.293 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.002118/1.718, allocations: 1.498 MB / 1.318 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007225/1.719, allocations: 382.5 kB / 1.318 GB, free: 5.402 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002005/1.719, allocations: 32 kB / 1.318 GB, free: 5.371 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001841/1.719, allocations: 361.9 kB / 1.318 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004704/1.724, allocations: 0.8979 MB / 1.319 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005499/1.729, allocations: 1.408 MB / 1.321 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005037/1.734, allocations: 1.02 MB / 1.322 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.228e-05/1.735, allocations: 4 kB / 1.322 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.01249/1.747, allocations: 2.532 MB / 1.324 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004221/1.748, allocations: 475.7 kB / 1.325 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-05/1.748, allocations: 15.94 kB / 1.325 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.663e-05/1.748, allocations: 20 kB / 1.325 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004476/1.752, allocations: 463.4 kB / 1.325 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.887e-05/1.752, allocations: 27.92 kB / 1.325 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007173/1.759, allocations: 0.496 MB / 1.326 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000505/1.76, allocations: 79.91 kB / 1.326 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/1.76, allocations: 0 / 1.326 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01099/1.771, allocations: 2.267 MB / 1.328 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.737e-05/1.771, allocations: 20.03 kB / 1.328 GB, free: 10.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.465e-05/1.771, allocations: 23.94 kB / 1.328 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004309/1.775, allocations: 463.3 kB / 1.328 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.895e-05/1.776, allocations: 23.94 kB / 1.328 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006432/1.782, allocations: 451.9 kB / 1.329 GB, free: 9.961 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005241/1.783, allocations: 75.92 kB / 1.329 GB, free: 9.887 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.002979/1.786, allocations: 0.8609 MB / 1.33 GB, free: 9.016 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001076/1.787, allocations: 288.4 kB / 1.33 GB, free: 8.73 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009024/1.796, allocations: 1.95 MB / 1.332 GB, free: 6.75 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-05/1.796, allocations: 12 kB / 1.332 GB, free: 6.738 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/1.796, allocations: 0 / 1.332 GB, free: 6.738 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00682/1.803, allocations: 1.528 MB / 1.333 GB, free: 5.176 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0172/1.82, allocations: 4.952 MB / 1.338 GB, free: 48 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.604e-05/1.82, allocations: 4 kB / 1.338 GB, free: 44 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003069/1.823, allocations: 284.4 kB / 1.339 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000387/1.824, allocations: 56.83 kB / 1.339 GB, free: 15.71 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002084/1.824, allocations: 27.98 kB / 1.339 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001742/1.826, allocations: 1.44 MB / 1.34 GB, free: 14.11 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.039e-05/1.826, allocations: 8 kB / 1.34 GB, free: 14.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01185/1.837, allocations: 2.951 MB / 1.343 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002218/1.84, allocations: 0.552 MB / 1.343 GB, free: 10.47 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008692/1.841, allocations: 28 kB / 1.344 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005336/1.846, allocations: 323.5 kB / 1.344 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003735/1.846, allocations: 100.7 kB / 1.344 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002408/1.847, allocations: 51.97 kB / 1.344 GB, free: 9.98 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.006166/1.853, allocations: 1.974 MB / 1.346 GB, free: 8.012 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9.92e-07/1.853, allocations: 3.938 kB / 1.346 GB, free: 8.008 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006446/1.859, allocations: 1.519 MB / 1.347 GB, free: 6.484 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.001542/1.861, allocations: 426.7 kB / 1.348 GB, free: 6.062 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01451/1.875, allocations: 3.148 MB / 1.351 GB, free: 2.891 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.526e-05/1.876, allocations: 8 kB / 1.351 GB, free: 2.883 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.004108/1.88, allocations: 0.9321 MB / 1.352 GB, free: 1.945 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01387/1.894, allocations: 1.504 MB / 1.353 GB, free: 468 kB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02238/1.916, allocations: 6.865 MB / 1.36 GB, free: 9.48 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003323/1.919, allocations: 2.135 MB / 1.362 GB, free: 7.312 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00624/1.926, allocations: 0.7494 MB / 1.363 GB, free: 6.559 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001281/1.927, allocations: 195.4 kB / 1.363 GB, free: 6.367 MB / 0.8855 GB Notification: Performance of SimCode: time 1.323e-06/1.927, allocations: 0 / 1.363 GB, free: 6.367 MB / 0.8855 GB Notification: Performance of Templates: time 0.7411/2.668, allocations: 52.1 MB / 1.414 GB, free: 341.1 MB / 0.9167 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.sim & ./Buildings_7.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1)