Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.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.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bui.Q_flow|bui.vol.m_flow|bui.vol.sta_a.T|bui.vol.sta_b.T|bui.sta_a.p|bui.vol.sta_a.p|bui.vol.sta_b.p|bui.vol.port_a.h_outflow|bui.vol.port_b.h_outflow|bui.steTra.port_a.h_outflow|bui.steTra.port_b.h_outflow",fileNamePrefix="Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS") translateModel(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bui.Q_flow|bui.vol.m_flow|bui.vol.sta_a.T|bui.vol.sta_b.T|bui.sta_a.p|bui.vol.sta_a.p|bui.vol.sta_b.p|bui.vol.port_a.h_outflow|bui.vol.port_b.h_outflow|bui.steTra.port_a.h_outflow|bui.steTra.port_b.h_outflow",fileNamePrefix="Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002115/0.002115, allocations: 194.5 kB / 16.14 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.449/1.449, allocations: 222.9 MB / 239.8 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.8/2.8, allocations: 472.6 MB / 0.7447 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 64.42 kB / 0.9114 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.282, allocations: 159.9 MB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.7956/1.078, allocations: 187.7 MB / 1.251 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03187/1.11, allocations: 26.91 MB / 1.277 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003247/1.113, allocations: 56.16 kB / 1.277 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01379/1.127, allocations: 4.65 MB / 1.282 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01359/1.14, allocations: 3.443 MB / 1.285 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006517/1.147, allocations: 1.887 MB / 1.287 GB, free: 4.77 MB / 0.9981 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, 1.845688257445312e-05}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.01265/1.16, allocations: 8.878 MB / 1.296 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002465/1.162, allocations: 1.318 MB / 1.297 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00459/1.167, allocations: 1.847 MB / 1.299 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002597/1.169, allocations: 1.375 MB / 1.3 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003002/1.17, allocations: 91 kB / 1.3 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01134/1.181, allocations: 4.393 MB / 1.304 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008937/1.182, allocations: 0.5642 MB / 1.305 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001911/1.184, allocations: 1.08 MB / 1.306 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01016/1.194, allocations: 5.586 MB / 1.311 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.194, allocations: 0 / 1.311 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.383e-06/1.194, allocations: 0 / 1.311 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.195e-05/1.194, allocations: 0 / 1.311 GB, free: 3.609 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.006496/1.201, allocations: 2.803 MB / 1.314 GB, free: 18.2 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/1.201, allocations: 9.406 kB / 1.314 GB, free: 18.2 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004294/1.205, allocations: 0.6416 MB / 1.315 GB, free: 18.07 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004792/1.21, allocations: 2.793 MB / 1.318 GB, free: 17.55 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.59e-05/1.21, allocations: 89.5 kB / 1.318 GB, free: 17.55 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001834/1.21, allocations: 119.4 kB / 1.318 GB, free: 17.54 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00261/1.213, allocations: 1.343 MB / 1.319 GB, free: 17.32 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.89e-05/1.213, allocations: 5.094 kB / 1.319 GB, free: 17.32 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/1.213, allocations: 46.69 kB / 1.319 GB, free: 17.32 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.7e-05/1.213, allocations: 37.67 kB / 1.319 GB, free: 17.32 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002478/1.215, allocations: 1.15 MB / 1.32 GB, free: 17.3 MB / 1.014 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.008852/1.224, allocations: 6.612 MB / 1.327 GB, free: 14.25 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001786/1.226, allocations: 0.8048 MB / 1.328 GB, free: 14.16 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007609/1.227, allocations: 405.4 kB / 1.328 GB, free: 14.13 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006699/1.234, allocations: 2.795 MB / 1.331 GB, free: 12.76 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001056/1.235, allocations: 0.5105 MB / 1.331 GB, free: 12.66 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008811/1.236, allocations: 99.25 kB / 1.331 GB, free: 12.61 MB / 1.014 GB Notification: Performance of pre-optimization done (n=71): time 2.815e-06/1.236, allocations: 3.938 kB / 1.331 GB, free: 12.61 MB / 1.014 GB Notification: Performance of matching and sorting (n=85): time 0.04946/1.285, allocations: 18.5 MB / 1.349 GB, free: 6.836 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.309e-05/1.285, allocations: 166.8 kB / 1.349 GB, free: 6.648 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00313/1.288, allocations: 1.965 MB / 1.351 GB, free: 5.543 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001489/1.288, allocations: 47.95 kB / 1.351 GB, free: 5.496 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008544/1.289, allocations: 0.8604 MB / 1.352 GB, free: 4.75 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003474/1.29, allocations: 305.3 kB / 1.353 GB, free: 4.492 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000502/1.29, allocations: 332.6 kB / 1.353 GB, free: 4.305 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.454e-05/1.29, allocations: 305.1 kB / 1.353 GB, free: 4.004 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001221/1.291, allocations: 0.6503 MB / 1.354 GB, free: 3.672 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001632/1.293, allocations: 1.058 MB / 1.355 GB, free: 2.852 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002663/1.296, allocations: 1.625 MB / 1.356 GB, free: 1.801 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/1.296, allocations: 4.469 kB / 1.356 GB, free: 1.801 MB / 1.014 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.004606/1.3, allocations: 2.113 MB / 1.358 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.015e-05/1.3, allocations: 12.62 kB / 1.358 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.189e-05/1.301, allocations: 10.69 kB / 1.359 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008236/1.301, allocations: 222.1 kB / 1.359 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/1.303, allocations: 320.2 kB / 1.359 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004869/1.307, allocations: 3.841 MB / 1.363 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002341/1.31, allocations: 156.2 kB / 1.363 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001739/1.31, allocations: 67.92 kB / 1.363 GB, free: 12.59 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.bui.QHea.nextTimeEvent,$whenCondition1,bui.QHea.nextTimeEventScaled,$PRE.bui.QHea.nextTimeEventScaled,bui.QHea.nextTimeEvent,bui.IntEHea.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 158 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001178/1.311, allocations: 0.5683 MB / 1.364 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006372/1.312, allocations: 189.6 kB / 1.364 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003844/1.316, allocations: 1.504 MB / 1.365 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/1.316, allocations: 15.94 kB / 1.365 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/1.316, allocations: 192 / 1.365 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002596/1.318, allocations: 1.273 MB / 1.366 GB, free: 8.973 MB / 1.029 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.0248/1.343, allocations: 9.275 MB / 1.376 GB, free: 15.41 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/1.343, allocations: 4 kB / 1.376 GB, free: 15.4 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008731/1.344, allocations: 190.8 kB / 1.376 GB, free: 15.23 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005723/1.345, allocations: 159.3 kB / 1.376 GB, free: 15.07 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.098e-05/1.345, allocations: 31.98 kB / 1.376 GB, free: 15.04 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003042/1.348, allocations: 2.151 MB / 1.378 GB, free: 12.77 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.717e-06/1.348, allocations: 10.62 kB / 1.378 GB, free: 12.76 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004442/1.352, allocations: 1.915 MB / 1.38 GB, free: 10.77 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00117/1.353, allocations: 394.6 kB / 1.38 GB, free: 10.36 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005718/1.354, allocations: 39.83 kB / 1.38 GB, free: 10.32 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001826/1.356, allocations: 119.8 kB / 1.38 GB, free: 10.21 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001834/1.356, allocations: 69.58 kB / 1.38 GB, free: 10.14 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-05/1.356, allocations: 48.03 kB / 1.381 GB, free: 10.1 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002984/1.359, allocations: 1.363 MB / 1.382 GB, free: 8.715 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.31e-07/1.359, allocations: 0 / 1.382 GB, free: 8.715 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.005938/1.365, allocations: 1.382 MB / 1.383 GB, free: 7.336 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 7 (bui.IntEHea.y,bui.pumCNR.port_a.h_outflow,bui.pumCNR.filter.s[1],bui.pumCNR.filter.s[2],bui.vol.VWat,bui.hIn.h_out,bui.hOut.h_out) * Number of discrete variables: 3 ($whenCondition1,bui.QHea.nextTimeEvent,bui.QHea.nextTimeEventScaled) * Number of discrete states: 2 (bui.QHea.nextTimeEvent,bui.QHea.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007441/1.373, allocations: 1.305 MB / 1.384 GB, free: 6.254 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.004102/1.377, allocations: 1.645 MB / 1.386 GB, free: 4.629 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/1.377, allocations: 0 / 1.386 GB, free: 4.629 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001571/1.378, allocations: 0.6525 MB / 1.387 GB, free: 3.992 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005698/1.384, allocations: 0.9097 MB / 1.388 GB, free: 3.094 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008127/1.392, allocations: 4.367 MB / 1.392 GB, free: 14.65 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001595/1.394, allocations: 1.503 MB / 1.393 GB, free: 13.11 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.002536/1.396, allocations: 410.3 kB / 1.394 GB, free: 12.71 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007804/1.397, allocations: 167.4 kB / 1.394 GB, free: 12.55 MB / 1.061 GB Notification: Performance of SimCode: time 1.072e-06/1.397, allocations: 0 / 1.394 GB, free: 12.55 MB / 1.061 GB Notification: Performance of Templates: time 0.1085/1.506, allocations: 68.74 MB / 1.461 GB, free: 8.48 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.makefile (rm -f Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.sim & ./Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe 2>&1)