Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.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_3.0.0_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.001223/0.001223, 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.001349/0.001349, allocations: 193.5 kB / 16.14 MB, free: 6.695 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.453/1.453, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.897/2.897, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.00127, allocations: 62.47 kB / 0.9113 GB, free: 33.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3496, 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.093/1.443, allocations: 340.9 MB / 1.4 GB, free: 68 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.05502/1.498, allocations: 38.66 MB / 1.438 GB, free: 2.586 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009171/1.507, allocations: 123.5 kB / 1.438 GB, free: 2.539 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.01661/1.524, allocations: 5.218 MB / 1.443 GB, free: 15.39 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.02677/1.551, allocations: 5.428 MB / 1.449 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.01121/1.562, allocations: 2.771 MB / 1.451 GB, free: 8.902 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.02445/1.586, allocations: 14.36 MB / 1.465 GB, free: 10.51 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008985/1.595, allocations: 3.63 MB / 1.469 GB, free: 6.793 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01392/1.609, allocations: 4.331 MB / 1.473 GB, free: 2.445 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008395/1.618, allocations: 2.825 MB / 1.476 GB, free: 15.62 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001989/1.62, allocations: 200 kB / 1.476 GB, free: 15.43 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01603/1.636, allocations: 5.997 MB / 1.482 GB, free: 9.414 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.00274/1.639, allocations: 1.226 MB / 1.483 GB, free: 8.184 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.005857/1.644, allocations: 2.063 MB / 1.485 GB, free: 6.109 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01707/1.661, allocations: 7.778 MB / 1.493 GB, free: 14.31 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/1.662, allocations: 0 / 1.493 GB, free: 14.31 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.144e-06/1.662, allocations: 4 kB / 1.493 GB, free: 14.3 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0002689/1.662, allocations: 0 / 1.493 GB, free: 14.3 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.01352/1.675, allocations: 4.775 MB / 1.498 GB, free: 9.434 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/1.675, allocations: 16.03 kB / 1.498 GB, free: 9.418 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01005/1.686, allocations: 1.482 MB / 1.499 GB, free: 7.93 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008989/1.695, allocations: 3.741 MB / 1.503 GB, free: 4.121 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001143/1.696, allocations: 454 kB / 1.503 GB, free: 3.656 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007481/1.696, allocations: 260 kB / 1.503 GB, free: 3.402 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00729/1.704, allocations: 3.395 MB / 1.507 GB, free: 15.9 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.674e-05/1.704, allocations: 7.938 kB / 1.507 GB, free: 15.89 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002708/1.704, allocations: 108 kB / 1.507 GB, free: 15.79 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001182/1.704, allocations: 108.8 kB / 1.507 GB, free: 15.68 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006949/1.711, allocations: 3.029 MB / 1.51 GB, free: 12.63 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.02446/1.736, allocations: 14.43 MB / 1.524 GB, free: 13.14 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003579/1.739, allocations: 1.599 MB / 1.525 GB, free: 11.49 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001535/1.741, allocations: 0.6999 MB / 1.526 GB, free: 10.79 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000433/1.741, allocations: 301.5 kB / 1.526 GB, free: 10.44 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001947/1.743, allocations: 0.8332 MB / 1.527 GB, free: 9.586 MB / 1.139 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001327/1.745, allocations: 122.4 kB / 1.527 GB, free: 9.465 MB / 1.139 GB Notification: Performance of pre-optimization done (n=105): time 3.487e-06/1.745, allocations: 0 / 1.527 GB, free: 9.465 MB / 1.139 GB Notification: Performance of matching and sorting (n=105): time 0.005913/1.751, allocations: 2.212 MB / 1.529 GB, free: 7.223 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.003e-05/1.751, allocations: 115.8 kB / 1.53 GB, free: 7.082 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005111/1.756, allocations: 3.092 MB / 1.533 GB, free: 3.996 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001718/1.756, allocations: 49.7 kB / 1.533 GB, free: 3.941 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001981/1.758, allocations: 1.734 MB / 1.534 GB, free: 2.191 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004476/1.758, allocations: 378.7 kB / 1.535 GB, free: 1.816 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007821/1.759, allocations: 475.3 kB / 1.535 GB, free: 1.344 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001513/1.759, allocations: 305.1 kB / 1.535 GB, free: 1.043 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002323/1.762, allocations: 0.9619 MB / 1.536 GB, free: 80 kB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002933/1.765, allocations: 1.738 MB / 1.538 GB, free: 14 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004595/1.769, allocations: 2.524 MB / 1.541 GB, free: 11.18 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-05/1.769, allocations: 12 kB / 1.541 GB, free: 11.16 MB / 1.154 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.006286/1.776, allocations: 2.98 MB / 1.543 GB, free: 8.168 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 5.312e-05/1.776, allocations: 45.69 kB / 1.544 GB, free: 8.117 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.691e-05/1.776, allocations: 20 kB / 1.544 GB, free: 8.098 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.035e-05/1.776, allocations: 32 kB / 1.544 GB, free: 8.066 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002093/1.778, allocations: 0.5227 MB / 1.544 GB, free: 7.543 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.367e-05/1.778, allocations: 51.78 kB / 1.544 GB, free: 7.492 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003579/1.781, allocations: 488.2 kB / 1.545 GB, free: 7.016 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001766/1.782, allocations: 99.98 kB / 1.545 GB, free: 6.918 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003713/1.785, allocations: 1.766 MB / 1.546 GB, free: 5.145 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002784/1.788, allocations: 1.734 MB / 1.548 GB, free: 3.074 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004266/1.792, allocations: 2.532 MB / 1.551 GB, free: 240 kB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.134e-05/1.792, allocations: 8 kB / 1.551 GB, free: 232 kB / 1.154 GB Notification: Performance of matching and sorting (n=284) (initialization_lambda0): time 0.006285/1.799, allocations: 2.992 MB / 1.554 GB, free: 13.22 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 5.096e-05/1.799, allocations: 46.09 kB / 1.554 GB, free: 13.17 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.542e-05/1.799, allocations: 28 kB / 1.554 GB, free: 13.14 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.693e-05/1.799, allocations: 32 kB / 1.554 GB, free: 13.11 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002141/1.801, allocations: 0.5188 MB / 1.554 GB, free: 12.59 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.034e-05/1.801, allocations: 43.86 kB / 1.554 GB, free: 12.55 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003564/1.805, allocations: 448.4 kB / 1.555 GB, free: 12.11 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002076/1.805, allocations: 104 kB / 1.555 GB, free: 12.01 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.0005303/1.805, allocations: 308 kB / 1.555 GB, free: 11.7 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007211/1.806, allocations: 312 kB / 1.555 GB, free: 11.39 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004111/1.81, allocations: 1.699 MB / 1.557 GB, free: 9.68 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/1.81, allocations: 8 kB / 1.557 GB, free: 9.672 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/1.81, allocations: 4 kB / 1.557 GB, free: 9.668 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002998/1.813, allocations: 1.325 MB / 1.558 GB, free: 8.309 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01139/1.825, allocations: 4.699 MB / 1.563 GB, free: 3.426 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/1.825, allocations: 8 kB / 1.563 GB, free: 3.418 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/1.826, allocations: 248 kB / 1.563 GB, free: 3.176 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002425/1.826, allocations: 56.77 kB / 1.563 GB, free: 3.117 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001067/1.827, allocations: 39.98 kB / 1.563 GB, free: 3.078 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001463/1.828, allocations: 1.432 MB / 1.565 GB, free: 1.508 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-05/1.828, allocations: 12 kB / 1.565 GB, free: 1.496 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006424/1.834, allocations: 2.552 MB / 1.567 GB, free: 14.82 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002046/1.836, allocations: 0.5205 MB / 1.568 GB, free: 14.28 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007837/1.837, allocations: 35.98 kB / 1.568 GB, free: 14.25 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003222/1.841, allocations: 247.6 kB / 1.568 GB, free: 14 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002633/1.841, allocations: 84.42 kB / 1.568 GB, free: 13.92 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000168/1.841, allocations: 55.91 kB / 1.568 GB, free: 13.87 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.004658/1.846, allocations: 2.079 MB / 1.57 GB, free: 11.8 MB / 1.186 GB Notification: Performance of sort global known variables: time 2.4e-07/1.846, allocations: 0 / 1.57 GB, free: 11.8 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.006322/1.852, allocations: 1.737 MB / 1.572 GB, free: 10.06 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.001483/1.853, allocations: 0.5788 MB / 1.572 GB, free: 9.484 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.008097/1.862, allocations: 3.452 MB / 1.576 GB, free: 6.02 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/1.862, allocations: 0 / 1.576 GB, free: 6.02 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.00208/1.864, allocations: 0.8324 MB / 1.576 GB, free: 5.18 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007237/1.871, allocations: 1.378 MB / 1.578 GB, free: 3.82 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01453/1.886, allocations: 7.57 MB / 1.585 GB, free: 12.13 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002954/1.888, allocations: 2.311 MB / 1.587 GB, free: 9.793 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.005044/1.894, allocations: 0.8873 MB / 1.588 GB, free: 8.898 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009658/1.895, allocations: 215.4 kB / 1.589 GB, free: 8.688 MB / 1.201 GB Notification: Performance of SimCode: time 7.91e-07/1.895, allocations: 0 / 1.589 GB, free: 8.688 MB / 1.201 GB Notification: Performance of Templates: time 0.09588/1.99, allocations: 52.97 MB / 1.64 GB, free: 4.309 MB / 1.248 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.sim & ./Buildings_3.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1)