Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 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.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0009793/0.0009794, allocations: 97.64 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.007399/0.007399, allocations: 170.1 kB / 16.27 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.484/1.484, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.914/2.914, allocations: 473.4 MB / 0.7469 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003628/0.0003628, allocations: 12.77 kB / 0.9158 GB, free: 33.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3581, allocations: 162.2 MB / 1.074 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 1.188/1.546, allocations: 372.9 MB / 1.438 GB, free: 12.36 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.06799/1.614, allocations: 46.31 MB / 1.484 GB, free: 4.305 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008808/1.623, allocations: 151.1 kB / 1.484 GB, free: 4.156 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.01988/1.643, allocations: 8.104 MB / 1.492 GB, free: 12.03 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.02521/1.668, allocations: 6.875 MB / 1.498 GB, free: 5.133 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.01044/1.678, allocations: 3.506 MB / 1.502 GB, free: 1.652 MB / 1.092 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‘ [/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.0108}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.03299/1.711, allocations: 21.38 MB / 1.523 GB, free: 12.23 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01367/1.725, allocations: 4.597 MB / 1.527 GB, free: 7.559 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01795/1.743, allocations: 5.322 MB / 1.532 GB, free: 2.215 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009069/1.752, allocations: 3.525 MB / 1.536 GB, free: 14.69 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.00129/1.754, allocations: 172 kB / 1.536 GB, free: 14.52 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01547/1.769, allocations: 7.049 MB / 1.543 GB, free: 7.453 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.002966/1.772, allocations: 1.619 MB / 1.544 GB, free: 5.828 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.005089/1.777, allocations: 2.698 MB / 1.547 GB, free: 3.109 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.02003/1.797, allocations: 10.18 MB / 1.557 GB, free: 8.898 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.797, allocations: 3.938 kB / 1.557 GB, free: 8.895 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.064e-06/1.797, allocations: 0 / 1.557 GB, free: 8.895 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0002716/1.798, allocations: 0 / 1.557 GB, free: 8.895 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 864 * Number of variables: 864 Notification: Performance of Generate backend data structure: time 0.01315/1.811, allocations: 5.372 MB / 1.562 GB, free: 3.414 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/1.811, allocations: 19.92 kB / 1.562 GB, free: 3.395 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01247/1.823, allocations: 2.135 MB / 1.564 GB, free: 1.25 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0123/1.836, allocations: 5.631 MB / 1.57 GB, free: 11.54 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001661/1.837, allocations: 0.6301 MB / 1.57 GB, free: 10.89 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001276/1.839, allocations: 344 kB / 1.571 GB, free: 10.55 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0124/1.851, allocations: 4.589 MB / 1.575 GB, free: 5.859 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001093/1.851, allocations: 7.938 kB / 1.575 GB, free: 5.852 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007594/1.852, allocations: 147.9 kB / 1.575 GB, free: 5.707 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000165/1.852, allocations: 134.5 kB / 1.575 GB, free: 5.574 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01113/1.863, allocations: 4.136 MB / 1.58 GB, free: 1.43 MB / 1.17 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.03102/1.894, allocations: 19.35 MB / 1.598 GB, free: 12.69 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004171/1.898, allocations: 1.818 MB / 1.6 GB, free: 10.82 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002341/1.901, allocations: 0.9411 MB / 1.601 GB, free: 9.883 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008133/1.902, allocations: 417.6 kB / 1.602 GB, free: 9.402 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002664/1.904, allocations: 1.097 MB / 1.603 GB, free: 8.281 MB / 1.201 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002213/1.907, allocations: 173.7 kB / 1.603 GB, free: 8.109 MB / 1.201 GB Notification: Performance of pre-optimization done (n=131): time 3.737e-06/1.907, allocations: 4 kB / 1.603 GB, free: 8.105 MB / 1.201 GB Notification: Performance of matching and sorting (n=131): time 0.008493/1.915, allocations: 2.986 MB / 1.606 GB, free: 5.086 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.173e-05/1.915, allocations: 145.8 kB / 1.606 GB, free: 4.914 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006956/1.922, allocations: 4.54 MB / 1.61 GB, free: 392 kB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0002816/1.922, allocations: 61.64 kB / 1.61 GB, free: 324 kB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.002356/1.925, allocations: 2.433 MB / 1.613 GB, free: 13.86 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005858/1.925, allocations: 477.4 kB / 1.613 GB, free: 13.39 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004271/1.926, allocations: 320.6 kB / 1.613 GB, free: 13.07 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001539/1.926, allocations: 309 kB / 1.614 GB, free: 12.77 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003317/1.929, allocations: 1.411 MB / 1.615 GB, free: 11.35 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004189/1.934, allocations: 2.564 MB / 1.618 GB, free: 8.281 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006665/1.94, allocations: 3.758 MB / 1.621 GB, free: 4.062 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.129e-05/1.94, allocations: 8 kB / 1.621 GB, free: 4.055 MB / 1.217 GB Notification: Performance of matching and sorting (n=424) (initialization): time 0.009809/1.95, allocations: 4.369 MB / 1.626 GB, free: 15.66 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008253/1.951, allocations: 1.096 MB / 1.627 GB, free: 14.11 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.283e-05/1.951, allocations: 35.94 kB / 1.627 GB, free: 14.07 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.159e-05/1.951, allocations: 55.94 kB / 1.627 GB, free: 14.02 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002979/1.954, allocations: 0.745 MB / 1.627 GB, free: 13.27 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.578e-05/1.954, allocations: 71.72 kB / 1.628 GB, free: 13.2 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006325/1.96, allocations: 0.6661 MB / 1.628 GB, free: 12.53 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004017/1.961, allocations: 140 kB / 1.628 GB, free: 12.39 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/1.961, allocations: 8 kB / 1.628 GB, free: 12.39 MB / 1.232 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008834/1.97, allocations: 3.951 MB / 1.632 GB, free: 8.426 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-05/1.97, allocations: 32 kB / 1.632 GB, free: 8.395 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.369e-05/1.97, allocations: 48 kB / 1.632 GB, free: 8.348 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002951/1.973, allocations: 0.7455 MB / 1.633 GB, free: 7.602 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.89e-05/1.973, allocations: 75.72 kB / 1.633 GB, free: 7.527 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004775/1.978, allocations: 0.5571 MB / 1.634 GB, free: 6.969 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002754/1.978, allocations: 144 kB / 1.634 GB, free: 6.828 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * 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 (356): * Single equations (assignments): 350 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 2 * 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.002699/1.981, allocations: 1.403 MB / 1.635 GB, free: 5.418 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007774/1.982, allocations: 434.4 kB / 1.636 GB, free: 4.988 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005623/1.987, allocations: 2.369 MB / 1.638 GB, free: 2.594 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/1.987, allocations: 12 kB / 1.638 GB, free: 2.582 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/1.987, allocations: 7.922 kB / 1.638 GB, free: 2.574 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004385/1.992, allocations: 1.972 MB / 1.64 GB, free: 0.5117 MB / 1.232 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.01365/2.005, allocations: 6.949 MB / 1.647 GB, free: 9.293 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/2.005, allocations: 12 kB / 1.647 GB, free: 9.281 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001699/2.007, allocations: 340.1 kB / 1.647 GB, free: 8.949 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002603/2.007, allocations: 60.83 kB / 1.647 GB, free: 8.887 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001062/2.007, allocations: 47.91 kB / 1.647 GB, free: 8.84 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001223/2.009, allocations: 1.437 MB / 1.648 GB, free: 7.273 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.315e-05/2.009, allocations: 27.86 kB / 1.648 GB, free: 7.246 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007817/2.016, allocations: 3.468 MB / 1.652 GB, free: 3.613 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002289/2.019, allocations: 0.7063 MB / 1.653 GB, free: 2.883 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006903/2.02, allocations: 36 kB / 1.653 GB, free: 2.848 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003036/2.023, allocations: 347.5 kB / 1.653 GB, free: 2.508 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003307/2.023, allocations: 124.6 kB / 1.653 GB, free: 2.383 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001408/2.023, allocations: 67.97 kB / 1.653 GB, free: 2.316 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.006143/2.029, allocations: 3.031 MB / 1.656 GB, free: 15.3 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.7e-07/2.029, allocations: 0 / 1.656 GB, free: 15.3 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.007698/2.037, allocations: 2.337 MB / 1.658 GB, free: 12.96 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 48 * 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 (129): * Single equations (assignments): 126 * 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.001625/2.039, allocations: 0.6308 MB / 1.659 GB, free: 12.33 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01115/2.05, allocations: 4.985 MB / 1.664 GB, free: 7.336 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.281e-05/2.05, allocations: 4 kB / 1.664 GB, free: 7.332 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002755/2.053, allocations: 1.092 MB / 1.665 GB, free: 6.23 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01789/2.07, allocations: 1.995 MB / 1.667 GB, free: 4.266 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.021/2.091, allocations: 10.82 MB / 1.677 GB, free: 9.258 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004103/2.096, allocations: 3.019 MB / 1.68 GB, free: 6.215 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.008209/2.104, allocations: 1.3 MB / 1.682 GB, free: 4.91 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001551/2.105, allocations: 315.3 kB / 1.682 GB, free: 4.602 MB / 1.279 GB Notification: Performance of SimCode: time 7.22e-07/2.105, allocations: 0 / 1.682 GB, free: 4.602 MB / 1.279 GB Notification: Performance of Templates: time 0.1356/2.241, allocations: 74.25 MB / 1.754 GB, free: 11.18 MB / 1.357 GB make -j1 -f Buildings_1.6_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.makefile (rm -f Buildings_1.6_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe >> ../files/Buildings_1.6_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.sim & ./Buildings_1.6_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1)