Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.ThermalZoneHVACNoExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust") translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.008307/0.008307, allocations: 169.3 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.838/2.838, allocations: 473.4 MB / 0.7469 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004131/0.0004131, allocations: 8.219 kB / 0.9158 GB, free: 33.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3527, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 1.15/1.503, allocations: 336.2 MB / 1.402 GB, free: 7.965 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.05375/1.557, allocations: 38.18 MB / 1.44 GB, free: 11.04 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007895/1.565, allocations: 124.5 kB / 1.44 GB, free: 10.99 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.01383/1.579, allocations: 5.208 MB / 1.445 GB, free: 7.84 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01926/1.598, allocations: 5.435 MB / 1.45 GB, free: 3.652 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.009891/1.608, allocations: 2.778 MB / 1.453 GB, free: 1.602 MB / 1.045 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.108}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.0222/1.63, allocations: 14.36 MB / 1.467 GB, free: 5.207 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007588/1.638, allocations: 3.456 MB / 1.47 GB, free: 1.676 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01415/1.652, allocations: 4.155 MB / 1.474 GB, free: 13.5 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007648/1.66, allocations: 2.597 MB / 1.477 GB, free: 10.91 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001085/1.661, allocations: 124 kB / 1.477 GB, free: 10.79 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01395/1.675, allocations: 5.935 MB / 1.483 GB, free: 4.84 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.002544/1.677, allocations: 1.105 MB / 1.484 GB, free: 3.73 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.004218/1.681, allocations: 1.948 MB / 1.486 GB, free: 1.766 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01649/1.698, allocations: 7.604 MB / 1.493 GB, free: 10.14 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/1.698, allocations: 0 / 1.493 GB, free: 10.14 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.165e-06/1.698, allocations: 0 / 1.493 GB, free: 10.14 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001739/1.698, allocations: 4 kB / 1.493 GB, free: 10.13 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 649 * Number of variables: 649 Notification: Performance of Generate backend data structure: time 0.01097/1.709, allocations: 3.999 MB / 1.497 GB, free: 6.043 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.872e-05/1.709, allocations: 12.03 kB / 1.497 GB, free: 6.031 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009616/1.719, allocations: 1.583 MB / 1.499 GB, free: 4.441 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008151/1.727, allocations: 3.749 MB / 1.502 GB, free: 0.625 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001246/1.728, allocations: 486 kB / 1.503 GB, free: 132 kB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007267/1.729, allocations: 260 kB / 1.503 GB, free: 15.88 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007508/1.737, allocations: 3.43 MB / 1.506 GB, free: 12.34 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.517e-05/1.737, allocations: 0 / 1.506 GB, free: 12.34 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002843/1.737, allocations: 104 kB / 1.507 GB, free: 12.24 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001141/1.737, allocations: 112.8 kB / 1.507 GB, free: 12.12 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007672/1.745, allocations: 3.103 MB / 1.51 GB, free: 9.008 MB / 1.107 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.02743/1.772, allocations: 14.49 MB / 1.524 GB, free: 9.441 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003872/1.776, allocations: 1.614 MB / 1.525 GB, free: 7.785 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001837/1.778, allocations: 0.7038 MB / 1.526 GB, free: 7.078 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005151/1.779, allocations: 305.5 kB / 1.526 GB, free: 6.727 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001977/1.781, allocations: 0.8293 MB / 1.527 GB, free: 5.875 MB / 1.123 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001448/1.782, allocations: 118.6 kB / 1.527 GB, free: 5.758 MB / 1.123 GB Notification: Performance of pre-optimization done (n=105): time 3.296e-06/1.782, allocations: 3.938 kB / 1.527 GB, free: 5.754 MB / 1.123 GB Notification: Performance of matching and sorting (n=105): time 0.006414/1.788, allocations: 2.224 MB / 1.53 GB, free: 3.5 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.816e-05/1.789, allocations: 115.8 kB / 1.53 GB, free: 3.363 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00519/1.794, allocations: 3.092 MB / 1.533 GB, free: 284 kB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0002321/1.794, allocations: 49.7 kB / 1.533 GB, free: 228 kB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001716/1.796, allocations: 1.738 MB / 1.534 GB, free: 14.47 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004801/1.796, allocations: 382.7 kB / 1.535 GB, free: 14.09 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003074/1.797, allocations: 206.1 kB / 1.535 GB, free: 13.88 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001337/1.797, allocations: 309.1 kB / 1.535 GB, free: 13.58 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0025/1.799, allocations: 0.9606 MB / 1.536 GB, free: 12.62 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003164/1.802, allocations: 1.738 MB / 1.538 GB, free: 10.54 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004903/1.807, allocations: 2.537 MB / 1.54 GB, free: 7.695 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-05/1.807, allocations: 8 kB / 1.54 GB, free: 7.688 MB / 1.139 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.006963/1.814, allocations: 2.997 MB / 1.543 GB, free: 4.672 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007298/1.815, allocations: 0.7662 MB / 1.544 GB, free: 3.602 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.458e-05/1.815, allocations: 23.94 kB / 1.544 GB, free: 3.578 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.821e-05/1.815, allocations: 36 kB / 1.544 GB, free: 3.543 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002417/1.818, allocations: 0.5227 MB / 1.545 GB, free: 3.02 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.074e-05/1.818, allocations: 51.84 kB / 1.545 GB, free: 2.969 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004022/1.822, allocations: 485.4 kB / 1.545 GB, free: 2.496 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002379/1.822, allocations: 99.98 kB / 1.545 GB, free: 2.398 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/1.822, allocations: 9.406 kB / 1.545 GB, free: 2.391 MB / 1.139 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006562/1.829, allocations: 2.706 MB / 1.548 GB, free: 15.68 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.294e-05/1.829, allocations: 20 kB / 1.548 GB, free: 15.66 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.435e-05/1.829, allocations: 32 kB / 1.548 GB, free: 15.62 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002384/1.831, allocations: 0.5309 MB / 1.548 GB, free: 15.09 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.373e-05/1.831, allocations: 47.8 kB / 1.548 GB, free: 15.05 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0043/1.835, allocations: 409 kB / 1.549 GB, free: 14.64 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002418/1.836, allocations: 99.97 kB / 1.549 GB, free: 14.55 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * 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 (249): * Single equations (assignments): 245 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.003187/1.839, allocations: 1.001 MB / 1.55 GB, free: 13.54 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001123/1.84, allocations: 304.1 kB / 1.55 GB, free: 13.23 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004535/1.845, allocations: 1.706 MB / 1.552 GB, free: 11.5 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/1.845, allocations: 11.94 kB / 1.552 GB, free: 11.49 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/1.845, allocations: 0 / 1.552 GB, free: 11.49 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003039/1.848, allocations: 1.337 MB / 1.553 GB, free: 10.12 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01085/1.859, allocations: 4.726 MB / 1.558 GB, free: 5.215 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/1.859, allocations: 4 kB / 1.558 GB, free: 5.211 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001314/1.86, allocations: 251.7 kB / 1.558 GB, free: 4.965 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002279/1.86, allocations: 56.77 kB / 1.558 GB, free: 4.906 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-05/1.86, allocations: 31.98 kB / 1.558 GB, free: 4.875 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001318/1.862, allocations: 1.429 MB / 1.56 GB, free: 3.312 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.701e-05/1.862, allocations: 11.94 kB / 1.56 GB, free: 3.301 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005739/1.867, allocations: 2.572 MB / 1.562 GB, free: 0.6172 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00154/1.869, allocations: 0.5284 MB / 1.563 GB, free: 68 kB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004205/1.869, allocations: 28 kB / 1.563 GB, free: 40 kB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002316/1.872, allocations: 255.6 kB / 1.563 GB, free: 15.79 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001954/1.872, allocations: 96.31 kB / 1.563 GB, free: 15.7 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/1.872, allocations: 47.97 kB / 1.563 GB, free: 15.65 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.003646/1.876, allocations: 2.087 MB / 1.565 GB, free: 13.57 MB / 1.17 GB Notification: Performance of sort global known variables: time 2.7e-07/1.876, allocations: 0 / 1.565 GB, free: 13.57 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.00535/1.881, allocations: 1.733 MB / 1.567 GB, free: 11.84 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 (104): * Single equations (assignments): 101 * 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.001342/1.882, allocations: 0.5902 MB / 1.567 GB, free: 11.25 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.007673/1.89, allocations: 3.47 MB / 1.571 GB, free: 7.766 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 9.238e-06/1.89, allocations: 0 / 1.571 GB, free: 7.766 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.002042/1.892, allocations: 0.8362 MB / 1.572 GB, free: 6.922 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01019/1.902, allocations: 1.382 MB / 1.573 GB, free: 5.555 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01351/1.916, allocations: 7.638 MB / 1.58 GB, free: 13.79 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002092/1.918, allocations: 2.311 MB / 1.583 GB, free: 11.45 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.004252/1.922, allocations: 0.8873 MB / 1.583 GB, free: 10.56 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006531/1.923, allocations: 215.4 kB / 1.584 GB, free: 10.35 MB / 1.186 GB Notification: Performance of SimCode: time 8.52e-07/1.923, allocations: 0 / 1.584 GB, free: 10.35 MB / 1.186 GB Notification: Performance of Templates: time 0.08864/2.012, allocations: 52.8 MB / 1.635 GB, free: 6.148 MB / 1.232 GB make -j1 -f Buildings_1.6_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.makefile (rm -f Buildings_1.6_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe >> ../files/Buildings_1.6_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.sim & ./Buildings_1.6_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1)