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.001607/0.001607, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001927/0.001927, allocations: 221.1 kB / 23.03 MB, free: 4.945 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.543/1.543, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.396/3.396, allocations: 0.5003 GB / 0.8062 GB, free: 28.36 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.001983/0.001983, allocations: 65.06 kB / 1.17 GB, free: 19.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3709, allocations: 179 MB / 1.345 GB, free: 20 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.004271/0.3751, allocations: 1.755 MB / 1.347 GB, free: 14.24 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001533/0.3767, allocations: 0.6236 MB / 1.348 GB, free: 13.62 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.3768, allocations: 7.938 kB / 1.348 GB, free: 13.61 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002198/0.377, allocations: 27.73 kB / 1.348 GB, free: 13.58 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0005077/0.3775, allocations: 127.4 kB / 1.348 GB, free: 13.46 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005129/0.378, allocations: 156.8 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004385/0.3785, allocations: 247.3 kB / 1.348 GB, free: 13.06 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.3786, allocations: 33.95 kB / 1.348 GB, free: 13.03 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002084/0.3788, allocations: 111.7 kB / 1.348 GB, free: 12.92 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008479/0.3873, allocations: 1.05 MB / 1.349 GB, free: 12.13 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.3874, allocations: 23.94 kB / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001806/0.3876, allocations: 47.97 kB / 1.349 GB, free: 12.06 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.825e-05/0.3877, allocations: 31.91 kB / 1.349 GB, free: 12.03 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001583/0.3879, allocations: 83.56 kB / 1.349 GB, free: 11.95 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005645/0.3884, allocations: 223.1 kB / 1.35 GB, free: 11.73 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3884, allocations: 0 / 1.35 GB, free: 11.73 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3884, allocations: 4 kB / 1.35 GB, free: 11.72 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.743e-05/0.3884, allocations: 0 / 1.35 GB, free: 11.72 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.001005/0.3894, allocations: 0.4887 MB / 1.35 GB, free: 11.19 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.3895, allocations: 8.031 kB / 1.35 GB, free: 11.18 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.062e-05/0.3895, allocations: 8.125 kB / 1.35 GB, free: 11.18 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.443e-05/0.3896, allocations: 38.75 kB / 1.35 GB, free: 11.13 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.3897, allocations: 28.78 kB / 1.35 GB, free: 11.1 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000384/0.39, allocations: 190.1 kB / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.3901, allocations: 12.12 kB / 1.35 GB, free: 10.88 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.576e-05/0.3901, allocations: 19.98 kB / 1.35 GB, free: 10.86 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/0.3904, allocations: 118.7 kB / 1.351 GB, free: 10.74 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.3904, allocations: 0 / 1.351 GB, free: 10.74 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.3904, allocations: 4 kB / 1.351 GB, free: 10.73 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.3904, allocations: 4 kB / 1.351 GB, free: 10.73 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.3905, allocations: 55.97 kB / 1.351 GB, free: 10.68 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.3916, allocations: 419.5 kB / 1.351 GB, free: 10.22 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003026/0.3919, allocations: 106.7 kB / 1.351 GB, free: 10.11 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.46e-05/0.3919, allocations: 36.78 kB / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.392, allocations: 7.938 kB / 1.351 GB, free: 10.06 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002096/0.3922, allocations: 107.2 kB / 1.351 GB, free: 9.945 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.3922, allocations: 0 / 1.351 GB, free: 9.945 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.0004053/0.3926, allocations: 173.4 kB / 1.351 GB, free: 9.77 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.3926, allocations: 55.41 kB / 1.351 GB, free: 9.703 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.3929, allocations: 203.8 kB / 1.352 GB, free: 9.492 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.032e-05/0.3929, allocations: 33.7 kB / 1.352 GB, free: 9.453 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.393, allocations: 136.4 kB / 1.352 GB, free: 9.316 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.308e-05/0.393, allocations: 43.62 kB / 1.352 GB, free: 9.273 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.3932, allocations: 61.67 kB / 1.352 GB, free: 9.207 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3933, allocations: 330.8 kB / 1.352 GB, free: 8.875 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002403/0.3936, allocations: 127.3 kB / 1.352 GB, free: 8.738 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003471/0.3939, allocations: 236.7 kB / 1.353 GB, free: 8.457 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000353/0.3943, allocations: 217.2 kB / 1.353 GB, free: 8.211 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.3943, allocations: 8.031 kB / 1.353 GB, free: 8.203 MB / 1.045 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007497/0.395, allocations: 391.2 kB / 1.353 GB, free: 7.793 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 7.225e-05/0.3951, allocations: 71.33 kB / 1.353 GB, free: 7.711 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.3951, allocations: 4 kB / 1.353 GB, free: 7.707 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.3951, allocations: 4 kB / 1.353 GB, free: 7.703 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.3952, allocations: 19.92 kB / 1.353 GB, free: 7.684 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.3952, allocations: 4 kB / 1.353 GB, free: 7.68 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/0.3954, allocations: 20.05 kB / 1.353 GB, free: 7.66 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.603e-05/0.3955, allocations: 19.98 kB / 1.353 GB, free: 7.641 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.000173/0.3957, allocations: 144.4 kB / 1.353 GB, free: 7.488 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.113e-05/0.3957, allocations: 19.84 kB / 1.353 GB, free: 7.469 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003022/0.396, allocations: 145.9 kB / 1.354 GB, free: 7.32 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.82e-06/0.396, allocations: 4 kB / 1.354 GB, free: 7.316 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.396, allocations: 0 / 1.354 GB, free: 7.316 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.396, allocations: 3.984 kB / 1.354 GB, free: 7.312 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006752/0.3967, allocations: 441.3 kB / 1.354 GB, free: 6.832 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3967, allocations: 0 / 1.354 GB, free: 6.832 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.587e-05/0.3967, allocations: 16 kB / 1.354 GB, free: 6.816 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.3967, allocations: 3.938 kB / 1.354 GB, free: 6.812 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.3968, allocations: 7.922 kB / 1.354 GB, free: 6.805 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.3968, allocations: 4 kB / 1.354 GB, free: 6.801 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3968, allocations: 0 / 1.354 GB, free: 6.801 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002882/0.397, allocations: 245.6 kB / 1.354 GB, free: 6.547 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-05/0.3971, allocations: 23.92 kB / 1.354 GB, free: 6.523 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.341e-05/0.3971, allocations: 8 kB / 1.354 GB, free: 6.516 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.3973, allocations: 7.984 kB / 1.354 GB, free: 6.508 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.52e-05/0.3973, allocations: 19.91 kB / 1.354 GB, free: 6.488 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.722e-05/0.3974, allocations: 12 kB / 1.354 GB, free: 6.477 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000159/0.3975, allocations: 149.5 kB / 1.355 GB, free: 6.332 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3975, allocations: 0 / 1.355 GB, free: 6.332 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003507/0.3979, allocations: 51.89 kB / 1.355 GB, free: 6.281 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.0009591/0.3988, allocations: 0.8323 MB / 1.355 GB, free: 5.445 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005318/0.3994, allocations: 309.9 kB / 1.356 GB, free: 5.105 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3994, allocations: 0 / 1.356 GB, free: 5.105 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.984e-05/0.3995, allocations: 47.92 kB / 1.356 GB, free: 5.059 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004943/0.4, allocations: 60.06 kB / 1.356 GB, free: 5.004 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003431/0.4034, allocations: 2.509 MB / 1.358 GB, free: 2.32 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.4035, allocations: 120 kB / 1.358 GB, free: 2.18 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001208/0.4036, allocations: 29.94 kB / 1.358 GB, free: 2.145 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.4037, allocations: 55.42 kB / 1.358 GB, free: 2.09 MB / 1.045 GB Notification: Performance of SimCode: time 6.61e-07/0.4037, allocations: 0 / 1.358 GB, free: 2.09 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03215/0.4359, allocations: 6.001 MB / 1.364 GB, free: 12.28 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.22, allocations: 14.06 kB / 1.364 GB, free: 12.27 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.374812450958416] Failed to read output from testmodel.py, exit status != 0: 12.392977077048272 12.4175187 12.024504824 Calling exit ...