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.001118/0.001118, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00117/0.00117, allocations: 197.9 kB / 16.14 MB, free: 6.688 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.449/1.449, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.789/2.789, allocations: 472.6 MB / 0.7447 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 58.8 kB / 0.9114 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3624, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 1.068/1.43, allocations: 340.9 MB / 1.4 GB, free: 44 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.05873/1.489, allocations: 38.67 MB / 1.438 GB, free: 2.555 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008738/1.498, allocations: 125.7 kB / 1.438 GB, free: 2.508 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.01399/1.512, allocations: 5.215 MB / 1.443 GB, free: 15.36 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01711/1.529, allocations: 5.433 MB / 1.449 GB, free: 11.17 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.008895/1.538, allocations: 2.774 MB / 1.451 GB, free: 8.867 MB / 1.061 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088: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.02147/1.559, allocations: 14.36 MB / 1.465 GB, free: 10.47 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006615/1.566, allocations: 3.638 MB / 1.469 GB, free: 6.75 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01099/1.577, allocations: 4.323 MB / 1.473 GB, free: 2.41 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006513/1.583, allocations: 2.819 MB / 1.476 GB, free: 15.59 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001073/1.585, allocations: 196 kB / 1.476 GB, free: 15.4 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01214/1.597, allocations: 5.997 MB / 1.482 GB, free: 9.387 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001997/1.599, allocations: 1.23 MB / 1.483 GB, free: 8.152 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.00322/1.602, allocations: 2.056 MB / 1.485 GB, free: 6.086 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01519/1.617, allocations: 7.786 MB / 1.493 GB, free: 14.27 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/1.617, allocations: 0 / 1.493 GB, free: 14.27 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.362e-06/1.617, allocations: 0 / 1.493 GB, free: 14.27 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0001495/1.617, allocations: 0 / 1.493 GB, free: 14.27 MB / 1.107 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.01292/1.63, allocations: 4.775 MB / 1.498 GB, free: 9.406 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/1.63, allocations: 15.97 kB / 1.498 GB, free: 9.391 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00943/1.64, allocations: 1.489 MB / 1.499 GB, free: 7.895 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008151/1.648, allocations: 3.737 MB / 1.503 GB, free: 4.09 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00117/1.649, allocations: 465.9 kB / 1.503 GB, free: 3.613 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006922/1.65, allocations: 256 kB / 1.503 GB, free: 3.363 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007041/1.657, allocations: 3.393 MB / 1.507 GB, free: 15.86 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.595e-05/1.657, allocations: 0 / 1.507 GB, free: 15.86 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002629/1.657, allocations: 107.9 kB / 1.507 GB, free: 15.76 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001071/1.657, allocations: 112.8 kB / 1.507 GB, free: 15.65 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006995/1.664, allocations: 3.029 MB / 1.51 GB, free: 12.61 MB / 1.123 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.02438/1.689, allocations: 14.43 MB / 1.524 GB, free: 13.1 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003952/1.693, allocations: 1.607 MB / 1.525 GB, free: 11.45 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00156/1.694, allocations: 0.696 MB / 1.526 GB, free: 10.75 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004298/1.695, allocations: 301.5 kB / 1.526 GB, free: 10.4 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001946/1.697, allocations: 0.8254 MB / 1.527 GB, free: 9.555 MB / 1.139 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001502/1.698, allocations: 122.4 kB / 1.527 GB, free: 9.434 MB / 1.139 GB Notification: Performance of pre-optimization done (n=105): time 3.497e-06/1.698, allocations: 4 kB / 1.527 GB, free: 9.43 MB / 1.139 GB Notification: Performance of matching and sorting (n=105): time 0.005969/1.704, allocations: 2.205 MB / 1.53 GB, free: 7.195 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.696e-05/1.704, allocations: 119.8 kB / 1.53 GB, free: 7.051 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004857/1.709, allocations: 3.088 MB / 1.533 GB, free: 3.969 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001803/1.71, allocations: 53.7 kB / 1.533 GB, free: 3.91 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.00157/1.711, allocations: 1.73 MB / 1.534 GB, free: 2.164 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003686/1.711, allocations: 382.7 kB / 1.535 GB, free: 1.785 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007324/1.712, allocations: 475.3 kB / 1.535 GB, free: 1.312 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001142/1.712, allocations: 305.1 kB / 1.535 GB, free: 1.012 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002218/1.715, allocations: 0.9697 MB / 1.536 GB, free: 40 kB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002867/1.717, allocations: 1.73 MB / 1.538 GB, free: 13.97 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004435/1.722, allocations: 2.526 MB / 1.541 GB, free: 11.14 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.405e-05/1.722, allocations: 8 kB / 1.541 GB, free: 11.14 MB / 1.154 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.006319/1.728, allocations: 2.987 MB / 1.544 GB, free: 8.133 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 5.21e-05/1.728, allocations: 42.17 kB / 1.544 GB, free: 8.086 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.658e-05/1.728, allocations: 27.94 kB / 1.544 GB, free: 8.059 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.908e-05/1.728, allocations: 32 kB / 1.544 GB, free: 8.027 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002178/1.731, allocations: 0.5226 MB / 1.544 GB, free: 7.504 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.381e-05/1.731, allocations: 51.73 kB / 1.544 GB, free: 7.453 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003619/1.734, allocations: 488 kB / 1.545 GB, free: 6.977 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000169/1.734, allocations: 104 kB / 1.545 GB, free: 6.875 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003617/1.738, allocations: 1.761 MB / 1.546 GB, free: 5.105 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002801/1.741, allocations: 1.73 MB / 1.548 GB, free: 3.039 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004456/1.745, allocations: 2.533 MB / 1.551 GB, free: 204 kB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.242e-05/1.745, allocations: 8 kB / 1.551 GB, free: 196 kB / 1.154 GB Notification: Performance of matching and sorting (n=284) (initialization_lambda0): time 0.006621/1.752, allocations: 2.984 MB / 1.554 GB, free: 13.19 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 7.362e-05/1.752, allocations: 41.64 kB / 1.554 GB, free: 13.14 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.215e-05/1.752, allocations: 24.47 kB / 1.554 GB, free: 13.12 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.58e-05/1.752, allocations: 36 kB / 1.554 GB, free: 13.08 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002213/1.754, allocations: 0.5188 MB / 1.554 GB, free: 12.56 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.064e-05/1.755, allocations: 51.78 kB / 1.554 GB, free: 12.51 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004289/1.759, allocations: 452.4 kB / 1.555 GB, free: 12.07 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002236/1.759, allocations: 104 kB / 1.555 GB, free: 11.97 MB / 1.17 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.0007596/1.76, allocations: 312 kB / 1.555 GB, free: 11.66 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008238/1.761, allocations: 308.1 kB / 1.555 GB, free: 11.35 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004131/1.765, allocations: 1.698 MB / 1.557 GB, free: 9.641 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/1.765, allocations: 8 kB / 1.557 GB, free: 9.633 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/1.765, allocations: 4 kB / 1.557 GB, free: 9.629 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002847/1.768, allocations: 1.325 MB / 1.558 GB, free: 8.273 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01089/1.779, allocations: 4.699 MB / 1.563 GB, free: 3.391 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.465e-05/1.779, allocations: 12 kB / 1.563 GB, free: 3.379 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001356/1.78, allocations: 247.8 kB / 1.563 GB, free: 3.137 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002437/1.78, allocations: 52.83 kB / 1.563 GB, free: 3.082 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.343e-05/1.78, allocations: 31.98 kB / 1.563 GB, free: 3.051 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001297/1.782, allocations: 1.428 MB / 1.565 GB, free: 1.484 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.535e-06/1.782, allocations: 11.94 kB / 1.565 GB, free: 1.473 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005654/1.787, allocations: 2.552 MB / 1.567 GB, free: 14.8 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001266/1.789, allocations: 0.5208 MB / 1.568 GB, free: 14.26 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000401/1.789, allocations: 31.98 kB / 1.568 GB, free: 14.23 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002263/1.791, allocations: 247.6 kB / 1.568 GB, free: 13.99 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002052/1.792, allocations: 96.34 kB / 1.568 GB, free: 13.89 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001147/1.792, allocations: 55.91 kB / 1.568 GB, free: 13.84 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.003358/1.795, allocations: 2.087 MB / 1.57 GB, free: 11.77 MB / 1.186 GB Notification: Performance of sort global known variables: time 2.21e-07/1.795, allocations: 0 / 1.57 GB, free: 11.77 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.004672/1.8, allocations: 1.733 MB / 1.572 GB, free: 10.03 MB / 1.186 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.001253/1.801, allocations: 0.5728 MB / 1.572 GB, free: 9.457 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.007389/1.808, allocations: 3.456 MB / 1.576 GB, free: 5.988 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/1.808, allocations: 0 / 1.576 GB, free: 5.988 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001948/1.81, allocations: 0.8284 MB / 1.576 GB, free: 5.152 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006391/1.817, allocations: 1.38 MB / 1.578 GB, free: 3.781 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0139/1.831, allocations: 7.563 MB / 1.585 GB, free: 12.1 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002152/1.833, allocations: 2.307 MB / 1.587 GB, free: 9.766 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.004413/1.837, allocations: 0.8912 MB / 1.588 GB, free: 8.867 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007235/1.838, allocations: 215.4 kB / 1.589 GB, free: 8.656 MB / 1.201 GB Notification: Performance of SimCode: time 1.333e-06/1.838, allocations: 0 / 1.589 GB, free: 8.656 MB / 1.201 GB Notification: Performance of Templates: time 0.09735/1.935, allocations: 52.99 MB / 1.64 GB, free: 4.266 MB / 1.248 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)