Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 113.9 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 190.8 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.598/1.598, allocations: 225.6 MB / 249.4 MB, free: 3.133 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.922/2.922, allocations: 476.7 MB / 0.7629 GB, free: 15.06 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002196/0.002196, allocations: 71.88 kB / 1.107 GB, free: 5.055 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.17/1.172, allocations: 168.7 MB / 1.271 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003454/1.176, allocations: 1.801 MB / 1.273 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001174/1.177, allocations: 0.6367 MB / 1.274 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.124e-05/1.177, allocations: 1.688 kB / 1.274 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000226/1.177, allocations: 35.89 kB / 1.274 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003874/1.177, allocations: 119.8 kB / 1.274 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000371/1.178, allocations: 161.9 kB / 1.274 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003299/1.178, allocations: 238.8 kB / 1.274 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/1.178, allocations: 24.92 kB / 1.274 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/1.178, allocations: 113.2 kB / 1.275 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007906/1.186, allocations: 1.062 MB / 1.276 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.066e-05/1.186, allocations: 17.06 kB / 1.276 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/1.187, allocations: 37.88 kB / 1.276 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.326e-05/1.187, allocations: 47.86 kB / 1.276 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001155/1.187, allocations: 93.17 kB / 1.276 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003643/1.187, allocations: 217 kB / 1.276 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.187, allocations: 7.938 kB / 1.276 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.923e-06/1.187, allocations: 0 / 1.276 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.534e-06/1.187, allocations: 0.8438 kB / 1.276 GB, free: 5.195 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0007391/1.188, allocations: 0.5521 MB / 1.277 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/1.188, allocations: 10.44 kB / 1.277 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.998e-05/1.188, allocations: 45.2 kB / 1.277 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.963e-05/1.188, allocations: 25.27 kB / 1.277 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/1.188, allocations: 253.3 kB / 1.277 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/1.188, allocations: 12.14 kB / 1.277 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.539e-05/1.188, allocations: 20.19 kB / 1.277 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/1.189, allocations: 100.3 kB / 1.277 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/1.189, allocations: 0.8125 kB / 1.277 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/1.189, allocations: 4.906 kB / 1.277 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/1.189, allocations: 2.5 kB / 1.277 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/1.189, allocations: 62.52 kB / 1.277 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000808/1.19, allocations: 494.3 kB / 1.277 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002637/1.19, allocations: 101 kB / 1.278 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.054e-05/1.19, allocations: 35.97 kB / 1.278 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/1.19, allocations: 6.062 kB / 1.278 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001595/1.19, allocations: 100.9 kB / 1.278 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/1.19, allocations: 0 / 1.278 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.0003702/1.19, allocations: 190.4 kB / 1.278 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/1.19, allocations: 55.16 kB / 1.278 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/1.191, allocations: 206.6 kB / 1.278 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/1.191, allocations: 35.61 kB / 1.278 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.205e-05/1.191, allocations: 131.4 kB / 1.278 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/1.191, allocations: 40.59 kB / 1.278 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/1.191, allocations: 59.98 kB / 1.278 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.604e-05/1.191, allocations: 328.5 kB / 1.279 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/1.191, allocations: 63.44 kB / 1.279 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/1.191, allocations: 136.1 kB / 1.279 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/1.192, allocations: 208.3 kB / 1.279 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/1.192, allocations: 4.031 kB / 1.279 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006258/1.192, allocations: 333.9 kB / 1.279 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.217e-05/1.192, allocations: 71.28 kB / 1.279 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/1.192, allocations: 1.969 kB / 1.279 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/1.192, allocations: 2.625 kB / 1.279 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.34e-05/1.192, allocations: 22.59 kB / 1.28 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/1.192, allocations: 2.781 kB / 1.28 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/1.193, allocations: 21.48 kB / 1.28 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.438e-05/1.193, allocations: 23.94 kB / 1.28 GB, free: 2.441 MB / 0.9981 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.0001239/1.193, allocations: 139 kB / 1.28 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/1.193, allocations: 20.28 kB / 1.28 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000272/1.193, allocations: 154.4 kB / 1.28 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/1.193, allocations: 2.375 kB / 1.28 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/1.193, allocations: 0 / 1.28 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/1.193, allocations: 0.9062 kB / 1.28 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006396/1.194, allocations: 497.4 kB / 1.28 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/1.194, allocations: 0 / 1.28 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.532e-05/1.194, allocations: 7.172 kB / 1.28 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/1.194, allocations: 1.156 kB / 1.28 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/1.194, allocations: 3.266 kB / 1.28 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/1.194, allocations: 0 / 1.28 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/1.194, allocations: 5.641 kB / 1.28 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/1.194, allocations: 252.9 kB / 1.281 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.94e-05/1.194, allocations: 109.9 kB / 1.281 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/1.194, allocations: 3.109 kB / 1.281 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/1.194, allocations: 6.922 kB / 1.281 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.737e-05/1.194, allocations: 16.58 kB / 1.281 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.686e-05/1.194, allocations: 7.969 kB / 1.281 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001436/1.194, allocations: 149.9 kB / 1.281 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.194, allocations: 0 / 1.281 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003529/1.195, allocations: 49.84 kB / 1.281 GB, free: 1.418 MB / 0.9981 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.000732/1.196, allocations: 0.8419 MB / 1.282 GB, free: 0.6875 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004247/1.196, allocations: 243.8 kB / 1.282 GB, free: 0.5273 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.196, allocations: 0 / 1.282 GB, free: 0.5273 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.045e-05/1.196, allocations: 46.91 kB / 1.282 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004439/1.197, allocations: 72.98 kB / 1.282 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003019/1.2, allocations: 2.265 MB / 1.284 GB, free: 14.82 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/1.2, allocations: 0.7288 MB / 1.285 GB, free: 14.12 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001183/1.2, allocations: 33.78 kB / 1.285 GB, free: 14.11 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/1.2, allocations: 58.8 kB / 1.285 GB, free: 14.07 MB / 1.014 GB Notification: Performance of SimCode: time 4.41e-07/1.2, allocations: 1.812 kB / 1.285 GB, free: 14.07 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03143/1.232, allocations: 5.507 MB / 1.29 GB, free: 13.33 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.32/9.552, allocations: 17.16 kB / 1.291 GB, free: 13.32 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Utilities_Plotters_Examples_TimeSeries.fmu > Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.952493054006482] Failed to read output from testmodel.py, exit status != 0: 9.623278100014431 9.638755375 8.448591834 Calling exit ...