Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,fileNamePrefix="Buildings_latest_Buildings_Experimental_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS,fileNamePrefix="Buildings_latest_Buildings_Experimental_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.0008975/0.0008975, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005359/0.005359, allocations: 169.2 kB / 16.26 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.238/1.238, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.45/2.45, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003042/0.0003042, allocations: 15.5 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2443, allocations: 159.6 MB / 1.059 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS): time 0.1754/0.4197, allocations: 185.3 MB / 1.24 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.5298/0.9496, allocations: 26.59 MB / 1.266 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002064/0.9517, allocations: 53.81 kB / 1.266 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.008676/0.9604, allocations: 4.636 MB / 1.27 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009407/0.9698, allocations: 3.45 MB / 1.274 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005344/0.9751, allocations: 1.887 MB / 1.275 GB, free: 2.238 MB / 0.9981 GB [/var/lib/jenkins1/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.01246/0.9876, allocations: 8.873 MB / 1.284 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002505/0.9901, allocations: 1.293 MB / 1.285 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004159/0.9943, allocations: 1.805 MB / 1.287 GB, free: 2 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002542/0.9969, allocations: 1.333 MB / 1.288 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004703/0.9974, allocations: 71.84 kB / 1.289 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009451/1.007, allocations: 4.373 MB / 1.293 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00084/1.008, allocations: 0.5376 MB / 1.293 GB, free: 1.945 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001578/1.009, allocations: 1.077 MB / 1.294 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007886/1.017, allocations: 5.591 MB / 1.3 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/1.017, allocations: 3.938 kB / 1.3 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.733e-06/1.017, allocations: 0 / 1.3 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.178e-05/1.017, allocations: 0.9062 kB / 1.3 GB, free: 1.66 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.004755/1.022, allocations: 2.382 MB / 1.302 GB, free: 16.34 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/1.022, allocations: 10.25 kB / 1.302 GB, free: 16.34 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001864/1.022, allocations: 163.1 kB / 1.302 GB, free: 16.3 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004012/1.026, allocations: 0.6627 MB / 1.303 GB, free: 16.15 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004585/1.031, allocations: 2.804 MB / 1.306 GB, free: 15.65 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-05/1.031, allocations: 86.03 kB / 1.306 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001844/1.031, allocations: 112.3 kB / 1.306 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002469/1.034, allocations: 1.355 MB / 1.307 GB, free: 15.42 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.082e-05/1.034, allocations: 2.906 kB / 1.307 GB, free: 15.42 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/1.034, allocations: 45.66 kB / 1.307 GB, free: 15.42 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-05/1.034, allocations: 36.62 kB / 1.307 GB, free: 15.42 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002424/1.036, allocations: 1.154 MB / 1.308 GB, free: 15.39 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.008023/1.044, allocations: 6.642 MB / 1.315 GB, free: 12.34 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001724/1.046, allocations: 0.808 MB / 1.316 GB, free: 12.25 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007178/1.047, allocations: 403 kB / 1.316 GB, free: 12.22 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006702/1.054, allocations: 2.833 MB / 1.319 GB, free: 10.84 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009434/1.054, allocations: 0.5104 MB / 1.319 GB, free: 10.74 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000819/1.055, allocations: 96.23 kB / 1.319 GB, free: 10.7 MB / 1.014 GB Notification: Performance of pre-optimization done (n=71): time 2.485e-06/1.055, allocations: 0 / 1.319 GB, free: 10.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=85): time 0.04478/1.1, allocations: 17.88 MB / 1.337 GB, free: 6.07 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/1.1, allocations: 170.7 kB / 1.337 GB, free: 5.879 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002485/1.103, allocations: 1.964 MB / 1.339 GB, free: 5.328 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001149/1.103, allocations: 45.59 kB / 1.339 GB, free: 5.297 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007806/1.104, allocations: 0.8616 MB / 1.34 GB, free: 4.926 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002636/1.104, allocations: 309.9 kB / 1.34 GB, free: 4.711 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/1.104, allocations: 158.4 kB / 1.34 GB, free: 4.668 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.769e-05/1.104, allocations: 301.8 kB / 1.341 GB, free: 4.371 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/1.105, allocations: 0.6531 MB / 1.341 GB, free: 4.277 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/1.107, allocations: 1.054 MB / 1.342 GB, free: 3.746 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002317/1.109, allocations: 1.629 MB / 1.344 GB, free: 3.23 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/1.109, allocations: 4.938 kB / 1.344 GB, free: 3.23 MB / 1.014 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.004013/1.113, allocations: 2.107 MB / 1.346 GB, free: 2.82 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/1.113, allocations: 7.062 kB / 1.346 GB, free: 2.82 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/1.113, allocations: 12.84 kB / 1.346 GB, free: 2.82 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007123/1.114, allocations: 227.6 kB / 1.346 GB, free: 2.754 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/1.115, allocations: 311.1 kB / 1.346 GB, free: 2.711 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004288/1.119, allocations: 3.853 MB / 1.35 GB, free: 15.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002039/1.121, allocations: 166.1 kB / 1.35 GB, free: 15.76 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/1.121, allocations: 67 kB / 1.35 GB, free: 15.75 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.0008981/1.122, allocations: 0.5678 MB / 1.351 GB, free: 15.6 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004582/1.123, allocations: 188.5 kB / 1.351 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003312/1.126, allocations: 1.506 MB / 1.353 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/1.126, allocations: 13.75 kB / 1.353 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/1.126, allocations: 0 / 1.353 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002328/1.129, allocations: 1.271 MB / 1.354 GB, free: 14.57 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.02304/1.152, allocations: 9.33 MB / 1.363 GB, free: 9.043 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/1.152, allocations: 8.688 kB / 1.363 GB, free: 9.035 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007974/1.152, allocations: 186.8 kB / 1.363 GB, free: 8.867 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005085/1.153, allocations: 155.3 kB / 1.363 GB, free: 8.746 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.638e-05/1.153, allocations: 33.05 kB / 1.363 GB, free: 8.727 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002817/1.156, allocations: 2.175 MB / 1.366 GB, free: 6.891 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/1.156, allocations: 6.906 kB / 1.366 GB, free: 6.887 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003782/1.16, allocations: 1.924 MB / 1.367 GB, free: 5.402 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008388/1.161, allocations: 422.8 kB / 1.368 GB, free: 5.074 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002353/1.161, allocations: 27.31 kB / 1.368 GB, free: 5.059 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001288/1.162, allocations: 127.2 kB / 1.368 GB, free: 4.945 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/1.162, allocations: 74.89 kB / 1.368 GB, free: 4.883 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.956e-05/1.162, allocations: 39.23 kB / 1.368 GB, free: 4.852 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001891/1.164, allocations: 1.365 MB / 1.369 GB, free: 3.879 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.9e-07/1.164, allocations: 0 / 1.369 GB, free: 3.879 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.004386/1.169, allocations: 1.375 MB / 1.371 GB, free: 2.566 MB / 1.029 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.009829/1.178, allocations: 3.672 MB / 1.374 GB, free: 15.6 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003377/1.182, allocations: 1.646 MB / 1.376 GB, free: 14.42 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/1.182, allocations: 4.312 kB / 1.376 GB, free: 14.42 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001348/1.183, allocations: 0.6483 MB / 1.377 GB, free: 13.93 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005484/1.189, allocations: 0.9043 MB / 1.377 GB, free: 13.08 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04158/1.23, allocations: 17.62 MB / 1.395 GB, free: 10.38 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/1.231, allocations: 1.503 MB / 1.396 GB, free: 8.84 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.00174/1.233, allocations: 403 kB / 1.397 GB, free: 8.457 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001064/1.234, allocations: 0.796 MB / 1.397 GB, free: 7.66 MB / 1.061 GB Notification: Performance of SimCode: time 9.82e-07/1.234, allocations: 0 / 1.397 GB, free: 7.66 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1253/1.36, allocations: 85 MB / 1.48 GB, free: 3.699 MB / 1.139 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002532/1.36, allocations: 310.7 kB / 1.481 GB, free: 3.316 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.77/5.13, allocations: 0 / 1.481 GB, free: 3.316 MB / 1.139 GB (rm -f Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS_res.mat --tempDir=temp_Buildings_latest_Buildings_Experimental_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS_fmu --startTime=1.728e+06 --stopTime=1.8144e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Experimental_DHC_Loads_Steam_Examples_BuildingTimeSeriesAtETS.fmu > Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS_res.mat does not exist to compare? outputFormat=mat