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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002173/0.002173, allocations: 194.1 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.031/2.031, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.233/3.233, allocations: 461.9 MB / 0.7343 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002588/0.002588, allocations: 68.55 kB / 0.8987 GB, free: 37.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5292/0.5319, allocations: 157.4 MB / 1.052 GB, free: 8.664 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.2386/0.7705, allocations: 187.6 MB / 1.236 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 1.668/2.438, allocations: 26.02 MB / 1.261 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006984/2.445, allocations: 56.38 kB / 1.261 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0217/2.467, allocations: 4.853 MB / 1.266 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02632/2.493, allocations: 3.564 MB / 1.269 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01247/2.506, allocations: 1.946 MB / 1.271 GB, free: 2.113 MB / 0.9981 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089: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.02861/2.535, allocations: 7.684 MB / 1.279 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006592/2.541, allocations: 1.587 MB / 1.28 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01249/2.554, allocations: 2.18 MB / 1.282 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006522/2.56, allocations: 1.437 MB / 1.284 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0015/2.562, allocations: 199.1 kB / 1.284 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02398/2.586, allocations: 4.57 MB / 1.288 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002935/2.589, allocations: 0.6664 MB / 1.289 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.006587/2.596, allocations: 1.215 MB / 1.29 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02562/2.621, allocations: 5.671 MB / 1.296 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.422e-05/2.622, allocations: 0 / 1.296 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.976e-06/2.622, allocations: 1.062 kB / 1.296 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001432/2.622, allocations: 0.8125 kB / 1.296 GB, free: 1.227 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.01899/2.641, allocations: 2.806 MB / 1.299 GB, free: 15.83 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 9.96e-05/2.641, allocations: 9.281 kB / 1.299 GB, free: 15.83 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007329/2.642, allocations: 162.4 kB / 1.299 GB, free: 15.79 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008271/2.65, allocations: 0.6414 MB / 1.299 GB, free: 15.66 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01239/2.662, allocations: 2.793 MB / 1.302 GB, free: 15.16 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002647/2.663, allocations: 85.89 kB / 1.302 GB, free: 15.16 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00071/2.663, allocations: 114.1 kB / 1.302 GB, free: 15.16 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004874/2.668, allocations: 1.343 MB / 1.304 GB, free: 14.95 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.495e-05/2.668, allocations: 4.281 kB / 1.304 GB, free: 14.95 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001942/2.669, allocations: 45.16 kB / 1.304 GB, free: 14.95 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.392e-05/2.669, allocations: 44.12 kB / 1.304 GB, free: 14.95 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004385/2.673, allocations: 1.148 MB / 1.305 GB, free: 14.94 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.01721/2.69, allocations: 6.608 MB / 1.311 GB, free: 11.93 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003817/2.694, allocations: 0.8221 MB / 1.312 GB, free: 11.85 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001404/2.696, allocations: 394.5 kB / 1.312 GB, free: 11.83 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01075/2.706, allocations: 2.8 MB / 1.315 GB, free: 10.48 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002556/2.709, allocations: 0.5103 MB / 1.316 GB, free: 10.38 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002355/2.711, allocations: 104.1 kB / 1.316 GB, free: 10.33 MB / 1.014 GB Notification: Performance of pre-optimization done (n=71): time 7.895e-06/2.712, allocations: 4 kB / 1.316 GB, free: 10.33 MB / 1.014 GB Notification: Performance of matching and sorting (n=85): time 0.08714/2.799, allocations: 18.51 MB / 1.334 GB, free: 7.602 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001472/2.799, allocations: 172.3 kB / 1.334 GB, free: 7.414 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005668/2.805, allocations: 1.958 MB / 1.336 GB, free: 6.863 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0004634/2.805, allocations: 44.02 kB / 1.336 GB, free: 6.832 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001551/2.807, allocations: 0.8645 MB / 1.337 GB, free: 6.461 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006689/2.807, allocations: 305.6 kB / 1.337 GB, free: 6.246 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001003/2.808, allocations: 340.5 kB / 1.337 GB, free: 6.176 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001916/2.809, allocations: 301.1 kB / 1.338 GB, free: 5.879 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002232/2.811, allocations: 0.661 MB / 1.338 GB, free: 5.781 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00279/2.814, allocations: 1.062 MB / 1.339 GB, free: 5.246 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004667/2.818, allocations: 1.629 MB / 1.341 GB, free: 4.73 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.829e-05/2.818, allocations: 5.344 kB / 1.341 GB, free: 4.73 MB / 1.014 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.008149/2.827, allocations: 2.115 MB / 1.343 GB, free: 4.32 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.056e-05/2.827, allocations: 7.781 kB / 1.343 GB, free: 4.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-05/2.827, allocations: 12.52 kB / 1.343 GB, free: 4.32 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001312/2.828, allocations: 227 kB / 1.343 GB, free: 4.254 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002503/2.831, allocations: 318.5 kB / 1.344 GB, free: 4.207 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007199/2.838, allocations: 4.229 MB / 1.348 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003141/2.841, allocations: 154.6 kB / 1.348 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004488/2.841, allocations: 70.61 kB / 1.348 GB, free: 0.9336 MB / 1.014 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.002659/2.844, allocations: 0.5711 MB / 1.348 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001751/2.846, allocations: 192.2 kB / 1.349 GB, free: 0.668 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006284/2.852, allocations: 1.516 MB / 1.35 GB, free: 240 kB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.639e-05/2.852, allocations: 10.66 kB / 1.35 GB, free: 240 kB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/2.852, allocations: 0 / 1.35 GB, free: 240 kB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003899/2.856, allocations: 1.286 MB / 1.351 GB, free: 15.71 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04435/2.901, allocations: 9.263 MB / 1.36 GB, free: 9.035 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.561e-05/2.901, allocations: 4 kB / 1.36 GB, free: 9.031 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001391/2.902, allocations: 190.9 kB / 1.361 GB, free: 8.863 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006136/2.903, allocations: 161.6 kB / 1.361 GB, free: 8.738 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.295e-05/2.903, allocations: 37.8 kB / 1.361 GB, free: 8.715 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003372/2.906, allocations: 2.376 MB / 1.363 GB, free: 6.703 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-05/2.906, allocations: 22.84 kB / 1.363 GB, free: 6.684 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004413/2.911, allocations: 1.92 MB / 1.365 GB, free: 4.984 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000971/2.912, allocations: 398.6 kB / 1.365 GB, free: 4.574 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003051/2.912, allocations: 26.91 kB / 1.365 GB, free: 4.551 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001363/2.913, allocations: 124.6 kB / 1.366 GB, free: 4.43 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/2.913, allocations: 83.45 kB / 1.366 GB, free: 4.348 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.861e-05/2.914, allocations: 31.98 kB / 1.366 GB, free: 4.316 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.003619/2.917, allocations: 1.363 MB / 1.367 GB, free: 2.934 MB / 1.029 GB Notification: Performance of sort global known variables: time 4.11e-07/2.917, allocations: 0 / 1.367 GB, free: 2.934 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.006064/2.923, allocations: 1.382 MB / 1.368 GB, free: 1.551 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (86): * Single equations (assignments): 83 * 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.01189/2.935, allocations: 3.682 MB / 1.372 GB, free: 14.03 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.006864/2.942, allocations: 1.721 MB / 1.374 GB, free: 12.34 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.21e-05/2.942, allocations: 0 / 1.374 GB, free: 12.34 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.002462/2.945, allocations: 0.6558 MB / 1.374 GB, free: 11.7 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007454/2.952, allocations: 0.9693 MB / 1.375 GB, free: 10.76 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06581/3.018, allocations: 17.55 MB / 1.392 GB, free: 8.141 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001753/3.02, allocations: 1.503 MB / 1.394 GB, free: 6.605 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.003473/3.023, allocations: 403.3 kB / 1.394 GB, free: 6.211 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00208/3.025, allocations: 0.8 MB / 1.395 GB, free: 5.41 MB / 1.061 GB Notification: Performance of SimCode: time 1.874e-06/3.025, allocations: 0 / 1.395 GB, free: 5.41 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.317/4.343, allocations: 86.65 MB / 1.48 GB, free: 15.7 MB / 1.154 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000768/4.343, allocations: 297.5 kB / 1.48 GB, free: 15.32 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.162/12.51, allocations: 0 / 1.48 GB, free: 15.32 MB / 1.154 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS_res.mat --tempDir=temp_Buildings_latest_Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS_fmu --startTime=1.728e+06 --stopTime=1.8144e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS.fmu > Buildings_latest_Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe 2>&1)