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.000882/0.0008819, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006097/0.006097, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.355/1.355, 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 10.1.1-maint.10.0.x/package.mo): time 2.638/2.638, allocations: 437.8 MB / 0.7121 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003984/0.0003984, allocations: 8 kB / 0.8728 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7796/0.78, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.2042/0.9842, allocations: 185.3 MB / 1.204 GB, free: 5.91 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03581/1.02, allocations: 26.61 MB / 1.23 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002656/1.023, allocations: 51.69 kB / 1.23 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.009884/1.033, allocations: 4.625 MB / 1.235 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00933/1.042, allocations: 3.447 MB / 1.238 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004765/1.047, allocations: 1.89 MB / 1.24 GB, free: 1.203 MB / 0.9825 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, 1.845688257445312e-05}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.5819/1.629, allocations: 8.88 MB / 1.248 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002546/1.631, allocations: 1.285 MB / 1.25 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004807/1.636, allocations: 1.809 MB / 1.251 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002575/1.639, allocations: 1.329 MB / 1.253 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002462/1.639, allocations: 72.98 kB / 1.253 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00907/1.648, allocations: 4.381 MB / 1.257 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0009494/1.649, allocations: 0.5312 MB / 1.258 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001922/1.651, allocations: 1.078 MB / 1.259 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.008804/1.66, allocations: 5.589 MB / 1.264 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/1.66, allocations: 1.375 kB / 1.264 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.645e-06/1.66, allocations: 0 / 1.264 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.708e-05/1.66, allocations: 0 / 1.264 GB, free: 9.133 MB / 0.9825 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.005392/1.665, allocations: 2.383 MB / 1.266 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/1.665, allocations: 13.42 kB / 1.266 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004138/1.669, allocations: 0.6596 MB / 1.267 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004225/1.674, allocations: 2.809 MB / 1.27 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-05/1.674, allocations: 94.45 kB / 1.27 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001859/1.674, allocations: 113 kB / 1.27 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002372/1.676, allocations: 1.339 MB / 1.271 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.034e-05/1.676, allocations: 3.562 kB / 1.271 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/1.676, allocations: 42.81 kB / 1.271 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.263e-05/1.677, allocations: 42.5 kB / 1.271 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002483/1.679, allocations: 1.156 MB / 1.273 GB, free: 6.949 MB / 0.9825 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.007588/1.687, allocations: 6.644 MB / 1.279 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001788/1.688, allocations: 0.8128 MB / 1.28 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007344/1.689, allocations: 401.4 kB / 1.28 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00747/1.697, allocations: 2.828 MB / 1.283 GB, free: 18.41 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00122/1.698, allocations: 0.5084 MB / 1.283 GB, free: 18.3 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001152/1.699, allocations: 97.27 kB / 1.284 GB, free: 18.26 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=71): time 3.898e-06/1.699, allocations: 0 / 1.284 GB, free: 18.26 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85): time 0.04717/1.746, allocations: 17.89 MB / 1.301 GB, free: 16.04 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/1.746, allocations: 164.6 kB / 1.301 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002496/1.749, allocations: 1.968 MB / 1.303 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001194/1.749, allocations: 44.33 kB / 1.303 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006054/1.75, allocations: 0.8548 MB / 1.304 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000238/1.75, allocations: 308.9 kB / 1.304 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/1.75, allocations: 159 kB / 1.304 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001034/1.75, allocations: 307.6 kB / 1.305 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/1.751, allocations: 0.6577 MB / 1.305 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/1.753, allocations: 1.051 MB / 1.306 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002279/1.755, allocations: 1.623 MB / 1.308 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/1.755, allocations: 2.406 kB / 1.308 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.004191/1.759, allocations: 2.109 MB / 1.31 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/1.76, allocations: 11.72 kB / 1.31 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/1.76, allocations: 9.5 kB / 1.31 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007479/1.76, allocations: 226.3 kB / 1.31 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/1.761, allocations: 313.8 kB / 1.311 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004845/1.766, allocations: 3.859 MB / 1.314 GB, free: 11 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002239/1.769, allocations: 151 kB / 1.314 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001498/1.769, allocations: 70.72 kB / 1.315 GB, free: 10.99 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.001078/1.77, allocations: 0.5612 MB / 1.315 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005668/1.77, allocations: 191.2 kB / 1.315 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003533/1.774, allocations: 1.517 MB / 1.317 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/1.774, allocations: 9.5 kB / 1.317 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/1.774, allocations: 3.406 kB / 1.317 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002439/1.776, allocations: 1.276 MB / 1.318 GB, free: 10.19 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.02597/1.802, allocations: 9.328 MB / 1.327 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.25e-05/1.802, allocations: 6.938 kB / 1.327 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008308/1.803, allocations: 187.3 kB / 1.327 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005455/1.804, allocations: 159.3 kB / 1.327 GB, free: 6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.346e-05/1.804, allocations: 32.61 kB / 1.328 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002965/1.807, allocations: 2.171 MB / 1.33 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.726e-06/1.807, allocations: 15.08 kB / 1.33 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004101/1.811, allocations: 1.914 MB / 1.332 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00114/1.812, allocations: 425.8 kB / 1.332 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005287/1.813, allocations: 28.84 kB / 1.332 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001716/1.814, allocations: 123.3 kB / 1.332 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/1.815, allocations: 86.64 kB / 1.332 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-05/1.815, allocations: 38.42 kB / 1.332 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002423/1.817, allocations: 1.357 MB / 1.334 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.817, allocations: 0 / 1.334 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005531/1.823, allocations: 1.38 MB / 1.335 GB, free: 2.684 MB / 0.9981 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.008024/1.831, allocations: 1.314 MB / 1.336 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003795/1.835, allocations: 1.645 MB / 1.338 GB, free: 468 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/1.835, allocations: 0 / 1.338 GB, free: 468 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001529/1.836, allocations: 0.6588 MB / 1.338 GB, free: 15.96 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006874/1.843, allocations: 0.8936 MB / 1.339 GB, free: 15.23 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008423/1.851, allocations: 4.491 MB / 1.344 GB, free: 11.13 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001826/1.853, allocations: 1.496 MB / 1.345 GB, free: 9.699 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002366/1.856, allocations: 417.9 kB / 1.346 GB, free: 9.305 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007286/1.856, allocations: 163.7 kB / 1.346 GB, free: 9.152 MB / 1.014 GB Notification: Performance of SimCode: time 1.723e-06/1.856, allocations: 0 / 1.346 GB, free: 9.152 MB / 1.014 GB Notification: Performance of Templates: time 0.1098/1.966, allocations: 68.84 MB / 1.413 GB, free: 5.281 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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe 2>&1)