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.001114/0.001114, 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.00108/0.00108, allocations: 192.7 kB / 16.14 MB, free: 6.711 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.34/1.34, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.551/2.551, allocations: 437 MB / 0.7099 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 59.91 kB / 0.8685 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8262/0.8274, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.1947/1.022, allocations: 187.7 MB / 1.2 GB, free: 6.34 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03463/1.057, allocations: 26.91 MB / 1.226 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003499/1.06, allocations: 55.69 kB / 1.226 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.01085/1.071, allocations: 4.656 MB / 1.231 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01131/1.083, allocations: 3.443 MB / 1.234 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005941/1.089, allocations: 1.876 MB / 1.236 GB, free: 1.316 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.01266/1.101, allocations: 8.894 MB / 1.245 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002739/1.104, allocations: 1.316 MB / 1.246 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005112/1.109, allocations: 1.855 MB / 1.248 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003041/1.112, allocations: 1.369 MB / 1.249 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003871/1.113, allocations: 88 kB / 1.249 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.7017/1.814, allocations: 4.393 MB / 1.254 GB, free: 17.41 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001401/1.816, allocations: 0.5556 MB / 1.254 GB, free: 17.41 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002489/1.818, allocations: 1.088 MB / 1.255 GB, free: 17.41 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01575/1.834, allocations: 5.678 MB / 1.261 GB, free: 17.31 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/1.834, allocations: 0.7812 kB / 1.261 GB, free: 17.31 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.124e-06/1.834, allocations: 0.875 kB / 1.261 GB, free: 17.31 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001045/1.834, allocations: 0.5625 kB / 1.261 GB, free: 17.31 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.01216/1.846, allocations: 2.803 MB / 1.263 GB, free: 16.05 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.176e-05/1.847, allocations: 15.95 kB / 1.263 GB, free: 16.04 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005209/1.852, allocations: 0.646 MB / 1.264 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007083/1.859, allocations: 2.794 MB / 1.267 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001576/1.859, allocations: 90.03 kB / 1.267 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003443/1.859, allocations: 111.2 kB / 1.267 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003952/1.863, allocations: 1.339 MB / 1.268 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.53e-05/1.863, allocations: 4.281 kB / 1.268 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001542/1.864, allocations: 50.78 kB / 1.268 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.317e-05/1.864, allocations: 37.84 kB / 1.268 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003453/1.867, allocations: 1.147 MB / 1.27 GB, free: 15.2 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.01338/1.88, allocations: 6.623 MB / 1.276 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002947/1.883, allocations: 0.811 MB / 1.277 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001229/1.885, allocations: 399.9 kB / 1.277 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01071/1.895, allocations: 2.795 MB / 1.28 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001874/1.897, allocations: 0.5138 MB / 1.28 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001802/1.899, allocations: 99.56 kB / 1.28 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=71): time 4.419e-06/1.899, allocations: 4 kB / 1.28 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85): time 0.09249/1.992, allocations: 18.5 MB / 1.299 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.375e-05/1.992, allocations: 162.9 kB / 1.299 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005415/1.997, allocations: 1.966 MB / 1.301 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002746/1.998, allocations: 45.95 kB / 1.301 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001236/1.999, allocations: 0.8649 MB / 1.302 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005856/1.999, allocations: 299.2 kB / 1.302 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001031/2, allocations: 337 kB / 1.302 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.651e-05/2.001, allocations: 305.5 kB / 1.302 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002332/2.003, allocations: 0.6509 MB / 1.303 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00277/2.006, allocations: 1.059 MB / 1.304 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00529/2.011, allocations: 1.618 MB / 1.306 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-05/2.011, allocations: 2.5 kB / 1.306 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.009818/2.021, allocations: 2.111 MB / 1.308 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.313e-05/2.021, allocations: 8.344 kB / 1.308 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.356e-05/2.021, allocations: 11.12 kB / 1.308 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001512/2.023, allocations: 230.3 kB / 1.308 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002443/2.025, allocations: 312.7 kB / 1.308 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007275/2.032, allocations: 3.842 MB / 1.312 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002925/2.035, allocations: 151.6 kB / 1.312 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002828/2.036, allocations: 68.44 kB / 1.312 GB, free: 2.941 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.001509/2.037, allocations: 0.5769 MB / 1.313 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001044/2.038, allocations: 185.5 kB / 1.313 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004513/2.043, allocations: 1.503 MB / 1.314 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-05/2.043, allocations: 8.969 kB / 1.314 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/2.043, allocations: 1.812 kB / 1.314 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002673/2.045, allocations: 1.278 MB / 1.316 GB, free: 2.148 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.02683/2.072, allocations: 9.281 MB / 1.325 GB, free: 15.93 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-05/2.072, allocations: 5.531 kB / 1.325 GB, free: 15.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008402/2.073, allocations: 187.4 kB / 1.325 GB, free: 15.93 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005494/2.074, allocations: 159.3 kB / 1.325 GB, free: 15.91 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000104/2.074, allocations: 34.22 kB / 1.325 GB, free: 15.91 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003342/2.077, allocations: 2.161 MB / 1.327 GB, free: 14.55 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/2.077, allocations: 13.7 kB / 1.327 GB, free: 14.55 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004731/2.082, allocations: 1.914 MB / 1.329 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001768/2.084, allocations: 398.4 kB / 1.329 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001078/2.085, allocations: 31.52 kB / 1.33 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002332/2.087, allocations: 129.7 kB / 1.33 GB, free: 13.83 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002002/2.087, allocations: 74.45 kB / 1.33 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/2.087, allocations: 43.97 kB / 1.33 GB, free: 13.82 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002802/2.09, allocations: 1.359 MB / 1.331 GB, free: 13.68 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.41e-07/2.09, allocations: 0 / 1.331 GB, free: 13.68 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.007796/2.098, allocations: 1.375 MB / 1.332 GB, free: 13.61 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.009064/2.107, allocations: 1.318 MB / 1.334 GB, free: 13.29 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004128/2.111, allocations: 1.648 MB / 1.335 GB, free: 13.02 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.265e-05/2.111, allocations: 6.688 kB / 1.335 GB, free: 13.02 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001609/2.113, allocations: 0.6395 MB / 1.336 GB, free: 12.89 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005418/2.118, allocations: 0.8965 MB / 1.337 GB, free: 12.8 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007046/2.125, allocations: 4.389 MB / 1.341 GB, free: 10.53 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001136/2.127, allocations: 1.497 MB / 1.343 GB, free: 9.781 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002342/2.129, allocations: 404 kB / 1.343 GB, free: 9.656 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005444/2.13, allocations: 160.6 kB / 1.343 GB, free: 9.645 MB / 1.014 GB Notification: Performance of SimCode: time 2.425e-06/2.13, allocations: 0 / 1.343 GB, free: 9.645 MB / 1.014 GB Notification: Performance of Templates: time 0.1125/2.242, allocations: 69.01 MB / 1.411 GB, free: 11.66 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)