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.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.001361/0.001361, 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.001426/0.001426, 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.599/1.599, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.825/2.825, allocations: 476.7 MB / 0.7678 GB, free: 9.387 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_11_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.002063/0.002063, allocations: 67.89 kB / 1.113 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.139/1.141, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.004658/1.146, allocations: 1.81 MB / 1.281 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001663/1.148, allocations: 0.6298 MB / 1.281 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/1.148, allocations: 4.844 kB / 1.281 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003006/1.148, allocations: 27.25 kB / 1.281 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005453/1.149, allocations: 124.1 kB / 1.281 GB, free: 9.957 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005571/1.149, allocations: 162.5 kB / 1.282 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000563/1.15, allocations: 243.2 kB / 1.282 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002134/1.15, allocations: 30.94 kB / 1.282 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002701/1.15, allocations: 107.4 kB / 1.282 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008763/1.159, allocations: 1.055 MB / 1.283 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001668/1.159, allocations: 17.53 kB / 1.283 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002294/1.159, allocations: 37.08 kB / 1.283 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001335/1.16, allocations: 43.25 kB / 1.283 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002213/1.16, allocations: 93.56 kB / 1.283 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006803/1.16, allocations: 223.8 kB / 1.283 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/1.16, allocations: 0 / 1.283 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.406e-06/1.16, allocations: 4.547 kB / 1.283 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.418e-05/1.16, allocations: 1.188 kB / 1.283 GB, free: 9.238 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.001514/1.162, allocations: 0.5596 MB / 1.284 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.07e-05/1.162, allocations: 9.625 kB / 1.284 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.594e-05/1.162, allocations: 2.656 kB / 1.284 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.672e-05/1.162, allocations: 49.89 kB / 1.284 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000136/1.162, allocations: 20.89 kB / 1.284 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005215/1.163, allocations: 260.7 kB / 1.284 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.275e-05/1.163, allocations: 12.33 kB / 1.284 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.909e-05/1.163, allocations: 16.3 kB / 1.284 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003289/1.163, allocations: 116.4 kB / 1.284 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/1.163, allocations: 0 / 1.284 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.315e-05/1.163, allocations: 6.094 kB / 1.284 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/1.163, allocations: 2.125 kB / 1.284 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/1.163, allocations: 56.7 kB / 1.284 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/1.165, allocations: 489.9 kB / 1.285 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003706/1.165, allocations: 106.2 kB / 1.285 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/1.165, allocations: 39.12 kB / 1.285 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.357e-05/1.165, allocations: 5.922 kB / 1.285 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002058/1.165, allocations: 109.4 kB / 1.285 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 2.033e-06/1.165, allocations: 0 / 1.285 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.0004665/1.166, allocations: 170.2 kB / 1.285 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.784e-05/1.166, allocations: 56.3 kB / 1.285 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002915/1.166, allocations: 207.4 kB / 1.286 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.977e-05/1.166, allocations: 38.2 kB / 1.286 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/1.167, allocations: 128 kB / 1.286 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.04e-05/1.167, allocations: 40.7 kB / 1.286 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/1.167, allocations: 66.64 kB / 1.286 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001858/1.167, allocations: 329.8 kB / 1.286 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002236/1.167, allocations: 63.22 kB / 1.286 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003021/1.167, allocations: 130.1 kB / 1.286 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004098/1.168, allocations: 218.2 kB / 1.287 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/1.168, allocations: 0 / 1.287 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007528/1.169, allocations: 326.6 kB / 1.287 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.872e-05/1.169, allocations: 68.69 kB / 1.287 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.118e-06/1.169, allocations: 2.281 kB / 1.287 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.628e-05/1.169, allocations: 2.969 kB / 1.287 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/1.169, allocations: 20.05 kB / 1.287 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/1.169, allocations: 3.469 kB / 1.287 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002573/1.169, allocations: 33.5 kB / 1.287 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.226e-05/1.169, allocations: 19.59 kB / 1.287 GB, free: 6.473 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.0001855/1.169, allocations: 145.2 kB / 1.287 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.504e-05/1.169, allocations: 29.3 kB / 1.287 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003151/1.17, allocations: 148.7 kB / 1.287 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/1.17, allocations: 2.188 kB / 1.287 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/1.17, allocations: 0 / 1.287 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/1.17, allocations: 2.594 kB / 1.287 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007818/1.17, allocations: 480.5 kB / 1.288 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/1.17, allocations: 0 / 1.288 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.526e-05/1.171, allocations: 16.08 kB / 1.288 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/1.171, allocations: 5.25 kB / 1.288 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/1.171, allocations: 7.766 kB / 1.288 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.093e-06/1.171, allocations: 0 / 1.288 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/1.171, allocations: 1.062 kB / 1.288 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003204/1.171, allocations: 243.4 kB / 1.288 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/1.171, allocations: 99.27 kB / 1.288 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.299e-05/1.171, allocations: 6.234 kB / 1.288 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/1.171, allocations: 11.22 kB / 1.288 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.681e-05/1.171, allocations: 17.67 kB / 1.288 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.893e-05/1.171, allocations: 7.703 kB / 1.288 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001741/1.171, allocations: 149.3 kB / 1.288 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/1.171, allocations: 0 / 1.288 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000385/1.172, allocations: 46.59 kB / 1.288 GB, free: 5.469 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.001015/1.173, allocations: 0.8507 MB / 1.289 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005501/1.173, allocations: 244.2 kB / 1.289 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.173, allocations: 1.25 kB / 1.289 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000113/1.174, allocations: 49.59 kB / 1.289 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005104/1.174, allocations: 61.56 kB / 1.29 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003864/1.178, allocations: 2.266 MB / 1.292 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004545/1.178, allocations: 0.7274 MB / 1.292 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001427/1.178, allocations: 30.25 kB / 1.292 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/1.179, allocations: 55.97 kB / 1.293 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of SimCode: time 9.12e-07/1.179, allocations: 4 kB / 1.293 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03376/1.212, allocations: 5.548 MB / 1.298 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.719/9.931, allocations: 2.969 kB / 1.298 GB, free: 1.34 MB / 0.9981 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Plotters_Examples_TimeSeries_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 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: 16.43317690800177] Failed to read output from testmodel.py, exit status != 0: 10.065899320004974 10.091844343 8.926774525 Calling exit ...