Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Experimental.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_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS") translateModel(Buildings.Experimental.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_10_Buildings.Experimental.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.001849/0.001849, 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.002138/0.002138, allocations: 196.8 kB / 16.14 MB, free: 6.719 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.456/1.456, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.755/2.755, allocations: 437 MB / 0.7099 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 71.89 kB / 0.8686 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7314/0.7334, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.2307/0.9641, allocations: 187.8 MB / 1.2 GB, free: 6.379 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.05206/1.016, allocations: 26.91 MB / 1.226 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004074/1.02, allocations: 59.62 kB / 1.226 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.01544/1.036, allocations: 4.649 MB / 1.231 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01278/1.049, allocations: 3.447 MB / 1.234 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.006894/1.056, allocations: 1.871 MB / 1.236 GB, free: 1.363 MB / 0.9825 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.01508/1.071, allocations: 8.901 MB / 1.245 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003513/1.074, allocations: 1.316 MB / 1.246 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005769/1.08, allocations: 1.851 MB / 1.248 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003463/1.084, allocations: 1.377 MB / 1.249 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008246/1.084, allocations: 88 kB / 1.249 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.7464/1.831, allocations: 4.387 MB / 1.254 GB, free: 17.64 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001542/1.832, allocations: 0.5586 MB / 1.254 GB, free: 17.64 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002621/1.835, allocations: 1.083 MB / 1.255 GB, free: 17.64 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01599/1.851, allocations: 5.685 MB / 1.261 GB, free: 17.54 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/1.851, allocations: 1.312 kB / 1.261 GB, free: 17.54 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.933e-06/1.851, allocations: 0.625 kB / 1.261 GB, free: 17.54 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.15e-05/1.851, allocations: 0 / 1.261 GB, free: 17.54 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.01184/1.863, allocations: 2.796 MB / 1.263 GB, free: 16.27 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.772e-05/1.863, allocations: 16.39 kB / 1.263 GB, free: 16.27 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005114/1.868, allocations: 0.6485 MB / 1.264 GB, free: 16.14 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007183/1.876, allocations: 2.795 MB / 1.267 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001766/1.876, allocations: 86.19 kB / 1.267 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004061/1.876, allocations: 118.1 kB / 1.267 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003647/1.88, allocations: 1.34 MB / 1.268 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.571e-05/1.88, allocations: 4.312 kB / 1.268 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000128/1.88, allocations: 48.56 kB / 1.268 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-05/1.88, allocations: 38.38 kB / 1.268 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002945/1.883, allocations: 1.147 MB / 1.27 GB, free: 15.43 MB / 0.9981 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.01069/1.894, allocations: 6.623 MB / 1.276 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0021/1.896, allocations: 0.8137 MB / 1.277 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008281/1.897, allocations: 403.7 kB / 1.277 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007737/1.904, allocations: 2.794 MB / 1.28 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001429/1.906, allocations: 0.507 MB / 1.28 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001609/1.908, allocations: 97.75 kB / 1.28 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=71): time 3.506e-06/1.908, allocations: 0 / 1.28 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85): time 0.05101/1.959, allocations: 18.5 MB / 1.299 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.695e-05/1.959, allocations: 166.4 kB / 1.299 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003158/1.962, allocations: 1.962 MB / 1.301 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000114/1.962, allocations: 51.08 kB / 1.301 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008782/1.963, allocations: 0.8609 MB / 1.302 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000367/1.963, allocations: 297.3 kB / 1.302 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005148/1.964, allocations: 345.6 kB / 1.302 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.303e-05/1.964, allocations: 301.1 kB / 1.302 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001187/1.965, allocations: 0.6477 MB / 1.303 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001553/1.967, allocations: 1.059 MB / 1.304 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002526/1.969, allocations: 1.618 MB / 1.306 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/1.969, allocations: 4.375 kB / 1.306 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.004566/1.974, allocations: 2.106 MB / 1.308 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.396e-05/1.974, allocations: 9.516 kB / 1.308 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.025e-05/1.974, allocations: 11.97 kB / 1.308 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008482/1.975, allocations: 225.8 kB / 1.308 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/1.976, allocations: 317.3 kB / 1.308 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004424/1.98, allocations: 3.842 MB / 1.312 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002654/1.983, allocations: 161.5 kB / 1.312 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002014/1.983, allocations: 68.78 kB / 1.312 GB, free: 3.168 MB / 0.9981 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.001252/1.984, allocations: 0.5681 MB / 1.313 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006981/1.985, allocations: 188.2 kB / 1.313 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003846/1.989, allocations: 1.51 MB / 1.314 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/1.989, allocations: 9.062 kB / 1.314 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.989, allocations: 1.719 kB / 1.314 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002467/1.991, allocations: 1.275 MB / 1.316 GB, free: 2.371 MB / 0.9981 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.02521/2.017, allocations: 9.295 MB / 1.325 GB, free: 16.15 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/2.017, allocations: 4.812 kB / 1.325 GB, free: 16.15 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008292/2.018, allocations: 187.3 kB / 1.325 GB, free: 16.14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005704/2.018, allocations: 159.5 kB / 1.325 GB, free: 16.12 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.391e-05/2.018, allocations: 34.81 kB / 1.325 GB, free: 16.12 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003147/2.021, allocations: 2.152 MB / 1.327 GB, free: 14.78 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/2.021, allocations: 8.75 kB / 1.327 GB, free: 14.78 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004239/2.026, allocations: 1.912 MB / 1.329 GB, free: 14.27 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001231/2.027, allocations: 407.4 kB / 1.33 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003568/2.027, allocations: 32.94 kB / 1.33 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001416/2.029, allocations: 127 kB / 1.33 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001667/2.029, allocations: 73.59 kB / 1.33 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.958e-05/2.029, allocations: 40.3 kB / 1.33 GB, free: 14.05 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0022/2.031, allocations: 1.365 MB / 1.331 GB, free: 13.9 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.6e-07/2.031, allocations: 0 / 1.331 GB, free: 13.9 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00787/2.039, allocations: 1.373 MB / 1.332 GB, free: 13.83 MB / 1.014 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.009973/2.049, allocations: 1.313 MB / 1.334 GB, free: 13.51 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004261/2.053, allocations: 1.648 MB / 1.335 GB, free: 13.24 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/2.053, allocations: 3.844 kB / 1.335 GB, free: 13.24 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001626/2.055, allocations: 0.6417 MB / 1.336 GB, free: 13.11 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005645/2.061, allocations: 0.8999 MB / 1.337 GB, free: 13.01 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008368/2.069, allocations: 4.385 MB / 1.341 GB, free: 10.75 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001247/2.07, allocations: 1.502 MB / 1.343 GB, free: 9.996 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002446/2.073, allocations: 407.3 kB / 1.343 GB, free: 9.867 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000579/2.073, allocations: 165.5 kB / 1.343 GB, free: 9.852 MB / 1.014 GB Notification: Performance of SimCode: time 1.393e-06/2.073, allocations: 0 / 1.343 GB, free: 9.852 MB / 1.014 GB Notification: Performance of Templates: time 0.1227/2.196, allocations: 69.01 MB / 1.411 GB, free: 11.85 MB / 1.076 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.sim & ./Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe 2>&1)