Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 117.4 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002329/0.002329, allocations: 214.3 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.588/1.588, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.091/3.091, allocations: 0.5003 GB / 0.8026 GB, free: 6.73 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002183/0.002183, allocations: 67.91 kB / 1.165 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.077/1.079, allocations: 178.9 MB / 1.34 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003711/1.082, allocations: 1.804 MB / 1.342 GB, free: 12.39 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001378/1.084, allocations: 0.6303 MB / 1.342 GB, free: 11.9 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.605e-05/1.084, allocations: 1.219 kB / 1.342 GB, free: 11.9 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002202/1.084, allocations: 34.27 kB / 1.343 GB, free: 11.87 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004169/1.085, allocations: 123.2 kB / 1.343 GB, free: 11.79 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003897/1.085, allocations: 161.2 kB / 1.343 GB, free: 11.67 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003145/1.085, allocations: 241.7 kB / 1.343 GB, free: 11.53 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/1.085, allocations: 31.58 kB / 1.343 GB, free: 11.52 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/1.085, allocations: 111.9 kB / 1.343 GB, free: 11.45 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008097/1.094, allocations: 1.053 MB / 1.344 GB, free: 11.04 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.753e-05/1.094, allocations: 17.5 kB / 1.344 GB, free: 11.04 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001626/1.094, allocations: 39.58 kB / 1.344 GB, free: 11.02 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.901e-05/1.094, allocations: 49.86 kB / 1.344 GB, free: 10.98 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001622/1.094, allocations: 97.34 kB / 1.344 GB, free: 10.91 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000524/1.095, allocations: 224.1 kB / 1.345 GB, free: 10.75 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/1.095, allocations: 0 / 1.345 GB, free: 10.75 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.593e-06/1.095, allocations: 0 / 1.345 GB, free: 10.75 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.718e-06/1.095, allocations: 0 / 1.345 GB, free: 10.75 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.001068/1.096, allocations: 0.5496 MB / 1.345 GB, free: 10.21 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/1.096, allocations: 14.3 kB / 1.345 GB, free: 10.21 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.407e-05/1.096, allocations: 2.344 kB / 1.345 GB, free: 10.21 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.442e-05/1.096, allocations: 42.06 kB / 1.345 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/1.096, allocations: 28.64 kB / 1.345 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004199/1.096, allocations: 259.8 kB / 1.345 GB, free: 9.879 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/1.096, allocations: 14.84 kB / 1.345 GB, free: 9.871 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/1.096, allocations: 16.31 kB / 1.345 GB, free: 9.867 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/1.097, allocations: 109.2 kB / 1.346 GB, free: 9.793 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/1.097, allocations: 4 kB / 1.346 GB, free: 9.789 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/1.097, allocations: 1.312 kB / 1.346 GB, free: 9.789 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/1.097, allocations: 2.469 kB / 1.346 GB, free: 9.789 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/1.097, allocations: 71.66 kB / 1.346 GB, free: 9.75 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/1.098, allocations: 493.8 kB / 1.346 GB, free: 9.309 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002838/1.098, allocations: 93.95 kB / 1.346 GB, free: 9.254 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.011e-05/1.098, allocations: 36.73 kB / 1.346 GB, free: 9.23 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/1.098, allocations: 5.047 kB / 1.346 GB, free: 9.227 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001836/1.098, allocations: 106.3 kB / 1.346 GB, free: 9.141 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.803e-06/1.098, allocations: 4 kB / 1.346 GB, free: 9.137 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0004044/1.099, allocations: 171.2 kB / 1.347 GB, free: 9.047 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/1.099, allocations: 58.83 kB / 1.347 GB, free: 8.98 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002387/1.099, allocations: 203.6 kB / 1.347 GB, free: 8.824 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.481e-05/1.099, allocations: 34.23 kB / 1.347 GB, free: 8.789 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/1.099, allocations: 125.8 kB / 1.347 GB, free: 8.672 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.407e-05/1.099, allocations: 46.42 kB / 1.347 GB, free: 8.633 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/1.099, allocations: 63.64 kB / 1.347 GB, free: 8.59 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000158/1.1, allocations: 331 kB / 1.347 GB, free: 8.262 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/1.1, allocations: 59.08 kB / 1.347 GB, free: 8.238 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002511/1.1, allocations: 132.2 kB / 1.348 GB, free: 8.125 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003357/1.1, allocations: 213.1 kB / 1.348 GB, free: 7.949 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/1.1, allocations: 1.406 kB / 1.348 GB, free: 7.949 MB / 1.029 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006736/1.101, allocations: 333 kB / 1.348 GB, free: 7.742 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.229e-05/1.101, allocations: 72.48 kB / 1.348 GB, free: 7.668 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/1.101, allocations: 1.406 kB / 1.348 GB, free: 7.668 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/1.101, allocations: 10.36 kB / 1.348 GB, free: 7.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.478e-05/1.101, allocations: 18.03 kB / 1.348 GB, free: 7.656 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/1.101, allocations: 6.75 kB / 1.348 GB, free: 7.652 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000223/1.102, allocations: 26.53 kB / 1.348 GB, free: 7.637 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.191e-05/1.102, allocations: 12.98 kB / 1.348 GB, free: 7.633 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (timSer1.timeConverted,$PRE.timSer1.timeConverted,timSer.timeConverted,$PRE.timSer.timeConverted,timSer1.sampleTrigger,timSer1.tActivateLast,$PRE.timSer1.tActivateLast,timSer1.active,timSer.sampleTrigger,timSer.tActivateLast,$PRE.timSer.tActivateLast,timSer.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001741/1.102, allocations: 136 kB / 1.348 GB, free: 7.508 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.451e-05/1.102, allocations: 23.95 kB / 1.348 GB, free: 7.492 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002756/1.102, allocations: 154.1 kB / 1.348 GB, free: 7.398 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/1.102, allocations: 1.219 kB / 1.348 GB, free: 7.398 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/1.102, allocations: 1 kB / 1.349 GB, free: 7.398 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/1.102, allocations: 0 / 1.349 GB, free: 7.398 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006949/1.103, allocations: 495.8 kB / 1.349 GB, free: 6.965 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/1.103, allocations: 0 / 1.349 GB, free: 6.965 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.178e-05/1.103, allocations: 5.656 kB / 1.349 GB, free: 6.965 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/1.103, allocations: 5.594 kB / 1.349 GB, free: 6.961 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/1.103, allocations: 5.188 kB / 1.349 GB, free: 6.957 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/1.103, allocations: 1.312 kB / 1.349 GB, free: 6.957 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.103, allocations: 3.938 kB / 1.349 GB, free: 6.953 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00032/1.103, allocations: 256.7 kB / 1.349 GB, free: 6.754 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/1.103, allocations: 100.9 kB / 1.349 GB, free: 6.645 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/1.103, allocations: 1.094 kB / 1.349 GB, free: 6.645 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/1.103, allocations: 12.05 kB / 1.349 GB, free: 6.637 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.151e-05/1.103, allocations: 16.2 kB / 1.349 GB, free: 6.629 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-05/1.104, allocations: 14.55 kB / 1.349 GB, free: 6.621 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001598/1.104, allocations: 144.6 kB / 1.35 GB, free: 6.516 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/1.104, allocations: 0 / 1.35 GB, free: 6.516 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003543/1.104, allocations: 52.27 kB / 1.35 GB, free: 6.5 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 (timSer1.sampleTrigger,timSer.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,timSer.active,timSer.tActivateLast,timSer.timeConverted,timSer1.active,timSer1.tActivateLast,timSer1.timeConverted) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009578/1.105, allocations: 0.8309 MB / 1.35 GB, free: 5.762 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000487/1.105, allocations: 248.3 kB / 1.351 GB, free: 5.578 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.105, allocations: 7.875 kB / 1.351 GB, free: 5.57 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/1.106, allocations: 44.66 kB / 1.351 GB, free: 5.555 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004587/1.106, allocations: 61.11 kB / 1.351 GB, free: 5.523 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003692/1.11, allocations: 2.272 MB / 1.353 GB, free: 3.676 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004215/1.11, allocations: 0.7279 MB / 1.354 GB, free: 2.957 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001218/1.11, allocations: 33.17 kB / 1.354 GB, free: 2.938 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/1.11, allocations: 60.12 kB / 1.354 GB, free: 2.895 MB / 1.029 GB Notification: Performance of SimCode: time 6.61e-07/1.11, allocations: 0 / 1.354 GB, free: 2.895 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02739/1.138, allocations: 5.556 MB / 1.359 GB, free: 56 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.924/10.06, allocations: 8.484 kB / 1.359 GB, free: 56 kB / 1.029 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Examples_TimeSeries_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Examples_TimeSeries.fmu > Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.855522375029977] Failed to read output from testmodel.py, exit status != 0: 10.194682034023572 10.209788454 9.112036237 Calling exit ...