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.001683/0.001683, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001942/0.001942, allocations: 217.3 kB / 23.03 MB, free: 4.922 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.644/1.644, allocations: 230.6 MB / 256.8 MB, free: 7.797 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 3.024/3.024, allocations: 476.8 MB / 0.7715 GB, free: 3.879 MB / 0.6231 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.002045/0.002045, allocations: 63.39 kB / 1.118 GB, free: 8.758 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.412/0.414, allocations: 169.9 MB / 1.284 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.004095/0.4181, allocations: 1.772 MB / 1.286 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001519/0.4196, allocations: 0.6081 MB / 1.286 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001616/0.4198, allocations: 3.938 kB / 1.286 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002407/0.42, allocations: 27.73 kB / 1.286 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005645/0.4206, allocations: 131.4 kB / 1.287 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005377/0.4211, allocations: 159.7 kB / 1.287 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004281/0.4215, allocations: 239.4 kB / 1.287 GB, free: 444 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.4217, allocations: 30.06 kB / 1.287 GB, free: 416 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00021/0.4219, allocations: 115.7 kB / 1.287 GB, free: 300 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008283/0.4302, allocations: 1.06 MB / 1.288 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.004e-05/0.4303, allocations: 16 kB / 1.288 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001615/0.4304, allocations: 43.97 kB / 1.288 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.783e-05/0.4305, allocations: 43.84 kB / 1.288 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.4307, allocations: 79.56 kB / 1.288 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000431/0.4311, allocations: 223.1 kB / 1.288 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4311, allocations: 0 / 1.288 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4311, allocations: 0 / 1.288 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.4311, allocations: 0 / 1.288 GB, free: 15.09 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.0009376/0.432, allocations: 0.4927 MB / 1.289 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.4321, allocations: 12.03 kB / 1.289 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.956e-05/0.4321, allocations: 192 / 1.289 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.683e-05/0.4322, allocations: 46.73 kB / 1.289 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.917e-05/0.4322, allocations: 20.84 kB / 1.289 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000339/0.4326, allocations: 194.3 kB / 1.289 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.4326, allocations: 16.11 kB / 1.289 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.777e-05/0.4326, allocations: 16 kB / 1.289 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/0.4329, allocations: 109.5 kB / 1.289 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.4329, allocations: 4 kB / 1.289 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.4329, allocations: 4 kB / 1.289 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.4329, allocations: 4 kB / 1.289 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.433, allocations: 59.95 kB / 1.289 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009319/0.434, allocations: 423.5 kB / 1.29 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003034/0.4343, allocations: 102.6 kB / 1.29 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.596e-05/0.4343, allocations: 32.89 kB / 1.29 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.4344, allocations: 8 kB / 1.29 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001775/0.4345, allocations: 107.3 kB / 1.29 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.673e-06/0.4345, allocations: 0 / 1.29 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.0003664/0.4349, allocations: 172.2 kB / 1.29 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.435, allocations: 59.41 kB / 1.29 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.4352, allocations: 203.8 kB / 1.29 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.638e-05/0.4352, allocations: 33.7 kB / 1.291 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.4353, allocations: 136.4 kB / 1.291 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.4354, allocations: 35.72 kB / 1.291 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.4355, allocations: 65.64 kB / 1.291 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.4356, allocations: 338.8 kB / 1.291 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/0.4359, allocations: 127.3 kB / 1.291 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003134/0.4362, allocations: 240.7 kB / 1.291 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003311/0.4365, allocations: 215.4 kB / 1.292 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.4365, allocations: 0 / 1.292 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006915/0.4372, allocations: 388.2 kB / 1.292 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.343e-05/0.4373, allocations: 71.33 kB / 1.292 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.4373, allocations: 0 / 1.292 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.4373, allocations: 4 kB / 1.292 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.864e-05/0.4374, allocations: 19.92 kB / 1.292 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.4374, allocations: 4 kB / 1.292 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000205/0.4376, allocations: 27.88 kB / 1.292 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/0.4376, allocations: 8 kB / 1.292 GB, free: 11.02 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.0001955/0.4378, allocations: 147.9 kB / 1.292 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.188e-05/0.4379, allocations: 23.8 kB / 1.292 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000333/0.4382, allocations: 151.3 kB / 1.292 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.4382, allocations: 4 kB / 1.292 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.4382, allocations: 3.984 kB / 1.292 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.4382, allocations: 0 / 1.292 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007125/0.4389, allocations: 445.3 kB / 1.293 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4389, allocations: 0 / 1.293 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.694e-05/0.439, allocations: 11.97 kB / 1.293 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.439, allocations: 3.984 kB / 1.293 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.439, allocations: 8 kB / 1.293 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.439, allocations: 0 / 1.293 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.439, allocations: 0 / 1.293 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003137/0.4393, allocations: 246.1 kB / 1.293 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.134e-05/0.4394, allocations: 23.89 kB / 1.293 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.819e-05/0.4394, allocations: 11.98 kB / 1.293 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.4395, allocations: 8 kB / 1.293 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.716e-05/0.4396, allocations: 15.91 kB / 1.293 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.349e-05/0.4397, allocations: 15.98 kB / 1.293 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001615/0.4398, allocations: 141.5 kB / 1.293 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4398, allocations: 7.938 kB / 1.293 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000348/0.4402, allocations: 47.94 kB / 1.293 GB, free: 9.648 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.001/0.4412, allocations: 0.8346 MB / 1.294 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000506/0.4417, allocations: 313.9 kB / 1.294 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4417, allocations: 4 kB / 1.295 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.4418, allocations: 43.92 kB / 1.295 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004627/0.4422, allocations: 76.44 kB / 1.295 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003331/0.4456, allocations: 2.496 MB / 1.297 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.4457, allocations: 112.1 kB / 1.297 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001237/0.4458, allocations: 29.88 kB / 1.297 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.446, allocations: 63.41 kB / 1.297 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of SimCode: time 6.31e-07/0.446, allocations: 0 / 1.297 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02962/0.4756, allocations: 5.992 MB / 1.303 GB, free: 15.69 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.12, allocations: 7.844 kB / 1.303 GB, free: 15.68 MB / 1.014 GB " [Timeout remaining time 288] (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: 19.397869382984936] Failed to read output from testmodel.py, exit status != 0: 12.291608265019022 12.315282663 11.879583862 Calling exit ...