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.001521/0.001521, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001637/0.001637, allocations: 218 kB / 23.04 MB, free: 5.074 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.595/1.595, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.319/3.319, allocations: 0.5003 GB / 0.8062 GB, free: 26.76 MB / 0.6231 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.001984/0.001984, allocations: 70.91 kB / 1.171 GB, free: 19.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3512, allocations: 179 MB / 1.345 GB, free: 0.5 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003389/0.3546, allocations: 1.814 MB / 1.347 GB, free: 14.67 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001302/0.3559, allocations: 0.6392 MB / 1.348 GB, free: 14.03 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.358e-05/0.356, allocations: 4 kB / 1.348 GB, free: 14.02 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001864/0.3562, allocations: 35.66 kB / 1.348 GB, free: 13.99 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003597/0.3565, allocations: 123.4 kB / 1.348 GB, free: 13.87 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003748/0.3569, allocations: 159.7 kB / 1.348 GB, free: 13.71 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003224/0.3572, allocations: 239.4 kB / 1.348 GB, free: 13.48 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.3573, allocations: 33.97 kB / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.3575, allocations: 111.7 kB / 1.348 GB, free: 13.34 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008248/0.3657, allocations: 1.054 MB / 1.349 GB, free: 12.54 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.046e-05/0.3658, allocations: 16 kB / 1.349 GB, free: 12.52 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001383/0.3659, allocations: 32 kB / 1.349 GB, free: 12.49 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.547e-05/0.366, allocations: 55.75 kB / 1.349 GB, free: 12.44 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.3662, allocations: 91.52 kB / 1.35 GB, free: 12.35 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004106/0.3666, allocations: 227 kB / 1.35 GB, free: 12.12 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3666, allocations: 0 / 1.35 GB, free: 12.12 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3666, allocations: 7.938 kB / 1.35 GB, free: 12.12 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.3666, allocations: 0 / 1.35 GB, free: 12.12 MB / 1.045 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.000832/0.3674, allocations: 496.5 kB / 1.35 GB, free: 11.59 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.3675, allocations: 8.031 kB / 1.35 GB, free: 11.58 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.699e-05/0.3675, allocations: 4.188 kB / 1.35 GB, free: 11.58 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.437e-05/0.3675, allocations: 42.73 kB / 1.35 GB, free: 11.53 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.195e-05/0.3676, allocations: 28.8 kB / 1.35 GB, free: 11.5 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003225/0.3679, allocations: 202 kB / 1.351 GB, free: 11.28 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.3679, allocations: 12.12 kB / 1.351 GB, free: 11.27 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.769e-05/0.368, allocations: 16 kB / 1.351 GB, free: 11.25 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.3682, allocations: 109.6 kB / 1.351 GB, free: 11.14 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.3682, allocations: 0 / 1.351 GB, free: 11.14 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/0.3682, allocations: 11.98 kB / 1.351 GB, free: 11.13 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.3682, allocations: 0 / 1.351 GB, free: 11.13 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.3683, allocations: 59.91 kB / 1.351 GB, free: 11.07 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009266/0.3693, allocations: 451.4 kB / 1.351 GB, free: 10.59 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002949/0.3696, allocations: 102.7 kB / 1.351 GB, free: 10.48 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.459e-05/0.3696, allocations: 36.89 kB / 1.351 GB, free: 10.44 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.3696, allocations: 4 kB / 1.351 GB, free: 10.43 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001836/0.3698, allocations: 111.2 kB / 1.351 GB, free: 10.31 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.3698, allocations: 0 / 1.351 GB, free: 10.31 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.0003901/0.3702, allocations: 179.8 kB / 1.352 GB, free: 10.13 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.3703, allocations: 51.41 kB / 1.352 GB, free: 10.07 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.3705, allocations: 203.8 kB / 1.352 GB, free: 9.859 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.504e-05/0.3705, allocations: 41.69 kB / 1.352 GB, free: 9.812 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.3707, allocations: 128.4 kB / 1.352 GB, free: 9.684 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.077e-05/0.3707, allocations: 43.67 kB / 1.352 GB, free: 9.641 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.3708, allocations: 57.69 kB / 1.352 GB, free: 9.578 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001762/0.371, allocations: 330.8 kB / 1.352 GB, free: 9.246 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.3712, allocations: 63.95 kB / 1.352 GB, free: 9.184 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/0.3714, allocations: 135.6 kB / 1.353 GB, free: 9.023 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003317/0.3717, allocations: 209.3 kB / 1.353 GB, free: 8.785 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3717, allocations: 0 / 1.353 GB, free: 8.785 MB / 1.045 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006636/0.3724, allocations: 335.2 kB / 1.353 GB, free: 8.441 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.93e-05/0.3725, allocations: 71.33 kB / 1.353 GB, free: 8.359 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.3725, allocations: 0 / 1.353 GB, free: 8.359 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.3725, allocations: 4 kB / 1.353 GB, free: 8.355 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.69e-05/0.3726, allocations: 23.92 kB / 1.353 GB, free: 8.332 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.3726, allocations: 7.938 kB / 1.353 GB, free: 8.324 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/0.3728, allocations: 35.97 kB / 1.353 GB, free: 8.289 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.972e-05/0.3728, allocations: 15.98 kB / 1.353 GB, free: 8.273 MB / 1.045 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.0001424/0.373, allocations: 131.8 kB / 1.353 GB, free: 8.133 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.71e-05/0.373, allocations: 23.84 kB / 1.353 GB, free: 8.109 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002766/0.3733, allocations: 151.3 kB / 1.354 GB, free: 7.953 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.3733, allocations: 4 kB / 1.354 GB, free: 7.949 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.3733, allocations: 0 / 1.354 GB, free: 7.949 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.3733, allocations: 0 / 1.354 GB, free: 7.949 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006903/0.374, allocations: 457.3 kB / 1.354 GB, free: 7.453 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.374, allocations: 0 / 1.354 GB, free: 7.453 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.713e-05/0.374, allocations: 15.98 kB / 1.354 GB, free: 7.438 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3741, allocations: 0 / 1.354 GB, free: 7.438 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.3741, allocations: 0 / 1.354 GB, free: 7.438 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3741, allocations: 0 / 1.354 GB, free: 7.438 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3741, allocations: 4 kB / 1.354 GB, free: 7.434 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002643/0.3743, allocations: 249.3 kB / 1.354 GB, free: 7.176 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.47e-05/0.3744, allocations: 23.89 kB / 1.354 GB, free: 7.152 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.322e-05/0.3744, allocations: 7.984 kB / 1.354 GB, free: 7.145 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.3745, allocations: 4 kB / 1.354 GB, free: 7.141 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.843e-05/0.3746, allocations: 19.97 kB / 1.354 GB, free: 7.121 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.509e-05/0.3746, allocations: 7.984 kB / 1.354 GB, free: 7.113 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001505/0.3748, allocations: 145.5 kB / 1.354 GB, free: 6.973 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3748, allocations: 0 / 1.354 GB, free: 6.973 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003219/0.3751, allocations: 51.89 kB / 1.355 GB, free: 6.922 MB / 1.045 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.0008664/0.376, allocations: 0.8387 MB / 1.355 GB, free: 6.078 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004422/0.3764, allocations: 246.6 kB / 1.356 GB, free: 5.812 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3764, allocations: 3.938 kB / 1.356 GB, free: 5.809 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.174e-05/0.3765, allocations: 43.92 kB / 1.356 GB, free: 5.766 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004619/0.377, allocations: 78.91 kB / 1.356 GB, free: 5.695 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002981/0.3799, allocations: 2.26 MB / 1.358 GB, free: 3.301 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.3803, allocations: 0.732 MB / 1.359 GB, free: 2.543 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 9.579e-05/0.3804, allocations: 34 kB / 1.359 GB, free: 2.508 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.3805, allocations: 55.41 kB / 1.359 GB, free: 2.457 MB / 1.045 GB Notification: Performance of SimCode: time 4.11e-07/0.3805, allocations: 0 / 1.359 GB, free: 2.457 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02714/0.4076, allocations: 5.731 MB / 1.364 GB, free: 12.91 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.11, allocations: 13.8 kB / 1.364 GB, free: 12.9 MB / 1.061 GB " [Timeout remaining time 288] (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: 19.178561498003546] Failed to read output from testmodel.py, exit status != 0: 12.277302124013659 12.294546022 11.924754709 Calling exit ...