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.0008602/0.0008602, allocations: 97.72 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.005885/0.005885, allocations: 170 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.427/1.427, 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.873/2.873, allocations: 473.4 MB / 0.7469 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004402/0.0004401, allocations: 11.5 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.3907, allocations: 162.2 MB / 1.074 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 1.108/1.499, allocations: 336.2 MB / 1.402 GB, free: 8.012 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.05937/1.558, allocations: 38.19 MB / 1.44 GB, free: 11.12 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008819/1.567, allocations: 123.1 kB / 1.44 GB, free: 11.07 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.01599/1.583, allocations: 5.195 MB / 1.445 GB, free: 7.934 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.02302/1.606, allocations: 5.43 MB / 1.45 GB, free: 3.746 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.01282/1.619, allocations: 2.786 MB / 1.453 GB, free: 1.691 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.02577/1.645, allocations: 14.37 MB / 1.467 GB, free: 5.297 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009202/1.654, allocations: 3.452 MB / 1.47 GB, free: 1.77 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01524/1.67, allocations: 4.151 MB / 1.474 GB, free: 13.6 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008805/1.678, allocations: 2.598 MB / 1.477 GB, free: 11 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001707/1.68, allocations: 124 kB / 1.477 GB, free: 10.88 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0169/1.697, allocations: 5.935 MB / 1.483 GB, free: 4.934 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.003056/1.7, allocations: 1.109 MB / 1.484 GB, free: 3.82 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.005645/1.706, allocations: 1.94 MB / 1.486 GB, free: 1.863 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01855/1.724, allocations: 7.604 MB / 1.493 GB, free: 10.23 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/1.725, allocations: 0 / 1.493 GB, free: 10.23 MB / 1.092 GB Notification: Performance of FrontEnd: time 6.001e-06/1.725, allocations: 0 / 1.493 GB, free: 10.23 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.00032/1.725, allocations: 3.938 kB / 1.493 GB, free: 10.23 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.01195/1.737, allocations: 3.997 MB / 1.497 GB, free: 6.141 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/1.737, allocations: 12.03 kB / 1.497 GB, free: 6.129 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009766/1.747, allocations: 1.583 MB / 1.499 GB, free: 4.539 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009676/1.756, allocations: 3.756 MB / 1.502 GB, free: 0.7148 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001415/1.758, allocations: 482 kB / 1.503 GB, free: 228 kB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0011/1.759, allocations: 260 kB / 1.503 GB, free: 15.96 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009998/1.769, allocations: 3.43 MB / 1.506 GB, free: 12.43 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.129e-05/1.769, allocations: 0 / 1.506 GB, free: 12.43 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005913/1.77, allocations: 111.9 kB / 1.507 GB, free: 12.32 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000136/1.77, allocations: 104.9 kB / 1.507 GB, free: 12.22 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008925/1.779, allocations: 3.103 MB / 1.51 GB, free: 9.102 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.03796/1.817, allocations: 14.49 MB / 1.524 GB, free: 9.535 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005234/1.822, allocations: 1.614 MB / 1.525 GB, free: 7.879 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002533/1.825, allocations: 0.7038 MB / 1.526 GB, free: 7.172 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006138/1.825, allocations: 305.5 kB / 1.526 GB, free: 6.82 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002921/1.828, allocations: 0.8293 MB / 1.527 GB, free: 5.969 MB / 1.123 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001972/1.83, allocations: 118.6 kB / 1.527 GB, free: 5.852 MB / 1.123 GB Notification: Performance of pre-optimization done (n=105): time 9.568e-06/1.83, allocations: 3.938 kB / 1.527 GB, free: 5.848 MB / 1.123 GB Notification: Performance of matching and sorting (n=105): time 0.009378/1.84, allocations: 2.224 MB / 1.53 GB, free: 3.594 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/1.84, allocations: 119.8 kB / 1.53 GB, free: 3.453 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009461/1.849, allocations: 3.088 MB / 1.533 GB, free: 380 kB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0004989/1.85, allocations: 49.7 kB / 1.533 GB, free: 324 kB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.002884/1.853, allocations: 1.734 MB / 1.534 GB, free: 14.57 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009513/1.854, allocations: 386.7 kB / 1.535 GB, free: 14.18 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007441/1.855, allocations: 202.1 kB / 1.535 GB, free: 13.98 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001657/1.855, allocations: 309.1 kB / 1.535 GB, free: 13.68 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00366/1.858, allocations: 0.9606 MB / 1.536 GB, free: 12.71 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003748/1.862, allocations: 1.734 MB / 1.538 GB, free: 10.64 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005722/1.868, allocations: 2.541 MB / 1.54 GB, free: 7.793 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.626e-05/1.868, allocations: 8 kB / 1.54 GB, free: 7.785 MB / 1.139 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.007818/1.876, allocations: 2.997 MB / 1.543 GB, free: 4.77 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 0.001023/1.877, allocations: 0.7623 MB / 1.544 GB, free: 3.703 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.12e-05/1.877, allocations: 23.94 kB / 1.544 GB, free: 3.68 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.647e-05/1.877, allocations: 39.98 kB / 1.544 GB, free: 3.641 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002466/1.88, allocations: 0.5188 MB / 1.545 GB, free: 3.121 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.228e-05/1.88, allocations: 47.86 kB / 1.545 GB, free: 3.074 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004662/1.884, allocations: 492.7 kB / 1.545 GB, free: 2.594 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003304/1.885, allocations: 104 kB / 1.545 GB, free: 2.492 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/1.885, allocations: 8 kB / 1.545 GB, free: 2.484 MB / 1.139 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006832/1.892, allocations: 2.706 MB / 1.548 GB, free: 15.77 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.119e-05/1.892, allocations: 20 kB / 1.548 GB, free: 15.75 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.694e-05/1.892, allocations: 32 kB / 1.548 GB, free: 15.72 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002364/1.894, allocations: 0.527 MB / 1.548 GB, free: 15.19 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.648e-05/1.894, allocations: 47.8 kB / 1.548 GB, free: 15.14 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004178/1.898, allocations: 413 kB / 1.549 GB, free: 14.74 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003079/1.899, allocations: 99.97 kB / 1.549 GB, free: 14.64 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.002517/1.901, allocations: 0.9992 MB / 1.55 GB, free: 13.63 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009471/1.902, allocations: 304.1 kB / 1.55 GB, free: 13.33 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004816/1.907, allocations: 1.714 MB / 1.552 GB, free: 11.59 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/1.907, allocations: 8 kB / 1.552 GB, free: 11.59 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/1.907, allocations: 0 / 1.552 GB, free: 11.59 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003292/1.91, allocations: 1.329 MB / 1.553 GB, free: 10.23 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01232/1.923, allocations: 4.726 MB / 1.558 GB, free: 5.316 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.608e-05/1.923, allocations: 11.94 kB / 1.558 GB, free: 5.305 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001332/1.924, allocations: 243.7 kB / 1.558 GB, free: 5.066 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002459/1.924, allocations: 56.83 kB / 1.558 GB, free: 5.008 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001047/1.924, allocations: 27.98 kB / 1.558 GB, free: 4.98 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001337/1.926, allocations: 1.44 MB / 1.56 GB, free: 3.406 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/1.926, allocations: 11.94 kB / 1.56 GB, free: 3.395 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006165/1.932, allocations: 2.568 MB / 1.562 GB, free: 0.7148 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00159/1.934, allocations: 0.5245 MB / 1.563 GB, free: 172 kB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008212/1.934, allocations: 31.98 kB / 1.563 GB, free: 140 kB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00306/1.938, allocations: 255.6 kB / 1.563 GB, free: 15.89 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002157/1.938, allocations: 100.3 kB / 1.563 GB, free: 15.79 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001399/1.938, allocations: 47.97 kB / 1.563 GB, free: 15.74 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.004539/1.942, allocations: 2.083 MB / 1.565 GB, free: 13.67 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.9e-07/1.942, allocations: 0 / 1.565 GB, free: 13.67 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.006167/1.949, allocations: 1.733 MB / 1.567 GB, free: 11.93 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.001519/1.95, allocations: 0.5854 MB / 1.567 GB, free: 11.35 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.009067/1.959, allocations: 3.478 MB / 1.571 GB, free: 7.859 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/1.959, allocations: 0 / 1.571 GB, free: 7.859 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.002282/1.962, allocations: 0.8362 MB / 1.572 GB, free: 7.016 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01184/1.973, allocations: 1.382 MB / 1.573 GB, free: 5.648 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01586/1.989, allocations: 7.646 MB / 1.58 GB, free: 13.88 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002968/1.992, allocations: 2.303 MB / 1.583 GB, free: 11.55 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.004792/1.997, allocations: 0.8873 MB / 1.583 GB, free: 10.65 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008928/1.998, allocations: 215.4 kB / 1.584 GB, free: 10.44 MB / 1.186 GB Notification: Performance of SimCode: time 9.32e-07/1.998, allocations: 0 / 1.584 GB, free: 10.44 MB / 1.186 GB Notification: Performance of Templates: time 0.09496/2.093, allocations: 52.81 MB / 1.635 GB, free: 6.238 MB / 1.232 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)