Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.00104/0.00104, 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.008564/0.008564, 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.559/1.559, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.956/2.956, allocations: 473.4 MB / 0.7469 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005068/0.0005072, allocations: 8.938 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4051/0.4056, allocations: 162.2 MB / 1.074 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 1.192/1.597, allocations: 372.9 MB / 1.438 GB, free: 12.42 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.06464/1.662, allocations: 46.32 MB / 1.484 GB, free: 4.375 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008995/1.671, allocations: 151.1 kB / 1.484 GB, free: 4.227 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.01795/1.689, allocations: 8.108 MB / 1.492 GB, free: 12.1 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0208/1.71, allocations: 6.871 MB / 1.498 GB, free: 5.203 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0104/1.72, allocations: 3.499 MB / 1.502 GB, free: 1.73 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.03001/1.75, allocations: 21.39 MB / 1.523 GB, free: 12.3 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007746/1.758, allocations: 4.593 MB / 1.527 GB, free: 7.629 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01233/1.77, allocations: 5.31 MB / 1.532 GB, free: 2.297 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007714/1.778, allocations: 3.544 MB / 1.536 GB, free: 14.75 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.00107/1.779, allocations: 172 kB / 1.536 GB, free: 14.58 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01474/1.794, allocations: 7.049 MB / 1.543 GB, free: 7.516 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.003001/1.797, allocations: 1.612 MB / 1.544 GB, free: 5.898 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.005583/1.802, allocations: 2.698 MB / 1.547 GB, free: 3.18 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01981/1.822, allocations: 10.18 MB / 1.557 GB, free: 8.969 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/1.822, allocations: 0 / 1.557 GB, free: 8.969 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.785e-06/1.822, allocations: 3.938 kB / 1.557 GB, free: 8.965 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0002237/1.823, allocations: 4 kB / 1.557 GB, free: 8.961 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.01096/1.834, allocations: 5.372 MB / 1.562 GB, free: 3.48 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/1.834, allocations: 15.92 kB / 1.562 GB, free: 3.465 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0128/1.846, allocations: 2.143 MB / 1.564 GB, free: 1.312 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01087/1.857, allocations: 5.616 MB / 1.57 GB, free: 11.62 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001611/1.859, allocations: 0.634 MB / 1.57 GB, free: 10.96 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008446/1.86, allocations: 347.9 kB / 1.571 GB, free: 10.62 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009741/1.87, allocations: 4.592 MB / 1.575 GB, free: 5.922 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.128e-05/1.87, allocations: 3.938 kB / 1.575 GB, free: 5.918 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003532/1.87, allocations: 143.9 kB / 1.575 GB, free: 5.777 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001605/1.87, allocations: 138.5 kB / 1.575 GB, free: 5.641 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009598/1.88, allocations: 4.12 MB / 1.58 GB, free: 1.512 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.02931/1.909, allocations: 19.36 MB / 1.598 GB, free: 12.76 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004296/1.913, allocations: 1.822 MB / 1.6 GB, free: 10.89 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002321/1.916, allocations: 0.9372 MB / 1.601 GB, free: 9.953 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006804/1.916, allocations: 409.6 kB / 1.602 GB, free: 9.48 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002631/1.919, allocations: 1.093 MB / 1.603 GB, free: 8.363 MB / 1.201 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002045/1.921, allocations: 173.7 kB / 1.603 GB, free: 8.191 MB / 1.201 GB Notification: Performance of pre-optimization done (n=131): time 4.078e-06/1.921, allocations: 4 kB / 1.603 GB, free: 8.188 MB / 1.201 GB Notification: Performance of matching and sorting (n=131): time 0.008686/1.93, allocations: 2.986 MB / 1.606 GB, free: 5.168 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.596e-05/1.93, allocations: 153.8 kB / 1.606 GB, free: 4.988 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007723/1.938, allocations: 4.533 MB / 1.61 GB, free: 476 kB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0003747/1.938, allocations: 69.62 kB / 1.61 GB, free: 400 kB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.002833/1.941, allocations: 2.433 MB / 1.613 GB, free: 13.94 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006875/1.942, allocations: 481.4 kB / 1.613 GB, free: 13.46 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004587/1.942, allocations: 320.6 kB / 1.613 GB, free: 13.14 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001406/1.942, allocations: 305.1 kB / 1.614 GB, free: 12.84 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003334/1.946, allocations: 1.407 MB / 1.615 GB, free: 11.43 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004271/1.95, allocations: 2.569 MB / 1.618 GB, free: 8.355 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006768/1.957, allocations: 3.762 MB / 1.621 GB, free: 4.133 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.649e-05/1.957, allocations: 12 kB / 1.621 GB, free: 4.121 MB / 1.217 GB Notification: Performance of matching and sorting (n=424) (initialization): time 0.009768/1.967, allocations: 4.36 MB / 1.626 GB, free: 15.74 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008334/1.967, allocations: 1.096 MB / 1.627 GB, free: 14.18 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-05/1.967, allocations: 39.92 kB / 1.627 GB, free: 14.14 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.835e-05/1.968, allocations: 51.94 kB / 1.627 GB, free: 14.09 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003104/1.971, allocations: 0.741 MB / 1.627 GB, free: 13.35 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.691e-05/1.971, allocations: 71.72 kB / 1.628 GB, free: 13.28 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005501/1.976, allocations: 0.6662 MB / 1.628 GB, free: 12.61 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000293/1.977, allocations: 140 kB / 1.628 GB, free: 12.48 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/1.977, allocations: 4 kB / 1.628 GB, free: 12.47 MB / 1.232 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00881/1.985, allocations: 3.959 MB / 1.632 GB, free: 8.504 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001021/1.986, allocations: 40.16 kB / 1.632 GB, free: 8.465 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.29e-05/1.986, allocations: 48 kB / 1.632 GB, free: 8.418 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003078/1.989, allocations: 0.7449 MB / 1.633 GB, free: 7.672 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.833e-05/1.989, allocations: 67.73 kB / 1.633 GB, free: 7.605 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004965/1.994, allocations: 0.5571 MB / 1.634 GB, free: 7.047 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003562/1.994, allocations: 144 kB / 1.634 GB, free: 6.906 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.003087/1.997, allocations: 1.399 MB / 1.635 GB, free: 5.496 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001716/1.999, allocations: 438.4 kB / 1.636 GB, free: 5.062 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007122/2.006, allocations: 2.361 MB / 1.638 GB, free: 2.676 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.648e-05/2.006, allocations: 16 kB / 1.638 GB, free: 2.66 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.428e-05/2.006, allocations: 3.938 kB / 1.638 GB, free: 2.656 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004685/2.011, allocations: 1.964 MB / 1.64 GB, free: 0.6016 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.02014/2.031, allocations: 6.961 MB / 1.647 GB, free: 9.371 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.331e-05/2.031, allocations: 8 kB / 1.647 GB, free: 9.363 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001885/2.033, allocations: 339.8 kB / 1.647 GB, free: 9.031 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002759/2.033, allocations: 68.8 kB / 1.647 GB, free: 8.961 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001327/2.033, allocations: 43.92 kB / 1.647 GB, free: 8.918 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001427/2.035, allocations: 1.436 MB / 1.648 GB, free: 7.352 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.507e-05/2.035, allocations: 15.94 kB / 1.648 GB, free: 7.336 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00895/2.044, allocations: 3.472 MB / 1.652 GB, free: 3.699 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003015/2.047, allocations: 0.7063 MB / 1.652 GB, free: 2.969 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001451/2.048, allocations: 47.98 kB / 1.653 GB, free: 2.922 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004263/2.053, allocations: 351.5 kB / 1.653 GB, free: 2.578 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003164/2.053, allocations: 124.5 kB / 1.653 GB, free: 2.453 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002137/2.053, allocations: 67.97 kB / 1.653 GB, free: 2.387 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.007854/2.061, allocations: 3.039 MB / 1.656 GB, free: 15.36 MB / 1.264 GB Notification: Performance of sort global known variables: time 3.01e-07/2.061, allocations: 0 / 1.656 GB, free: 15.36 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.009536/2.071, allocations: 2.329 MB / 1.658 GB, free: 13.03 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.00201/2.073, allocations: 0.6307 MB / 1.659 GB, free: 12.4 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01346/2.086, allocations: 4.992 MB / 1.664 GB, free: 7.402 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-05/2.086, allocations: 0 / 1.664 GB, free: 7.402 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.003534/2.09, allocations: 1.093 MB / 1.665 GB, free: 6.301 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02027/2.11, allocations: 1.984 MB / 1.667 GB, free: 4.344 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02466/2.135, allocations: 10.83 MB / 1.677 GB, free: 9.332 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003298/2.138, allocations: 3.019 MB / 1.68 GB, free: 6.289 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.006749/2.145, allocations: 1.308 MB / 1.682 GB, free: 4.977 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001194/2.146, allocations: 299.4 kB / 1.682 GB, free: 4.684 MB / 1.279 GB Notification: Performance of SimCode: time 1.192e-06/2.146, allocations: 8 kB / 1.682 GB, free: 4.676 MB / 1.279 GB Notification: Performance of Templates: time 0.153/2.299, allocations: 74.27 MB / 1.754 GB, free: 11.25 MB / 1.357 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.sim & ./Buildings_3.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1)