Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001685/0.001685, 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.002021/0.002021, 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.627/1.627, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3/3, allocations: 0.49 GB / 0.7923 GB, free: 1.426 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_12_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.002012/0.002012, allocations: 68.14 kB / 1.149 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.076/1.078, allocations: 176.1 MB / 1.321 GB, free: 24.72 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002906/1.081, allocations: 1.81 MB / 1.323 GB, free: 23.45 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001092/1.082, allocations: 0.6247 MB / 1.324 GB, free: 23.04 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/1.082, allocations: 6.656 kB / 1.324 GB, free: 23.04 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002378/1.082, allocations: 24.06 kB / 1.324 GB, free: 23.02 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004282/1.082, allocations: 125.9 kB / 1.324 GB, free: 22.96 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003977/1.083, allocations: 153.1 kB / 1.324 GB, free: 22.88 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003232/1.083, allocations: 256.7 kB / 1.324 GB, free: 22.77 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/1.083, allocations: 26.58 kB / 1.324 GB, free: 22.76 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/1.083, allocations: 108.3 kB / 1.324 GB, free: 22.72 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007765/1.091, allocations: 1.05 MB / 1.326 GB, free: 22.43 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001006/1.091, allocations: 16.78 kB / 1.326 GB, free: 22.43 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/1.091, allocations: 41.14 kB / 1.326 GB, free: 22.42 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.791e-05/1.092, allocations: 39.19 kB / 1.326 GB, free: 22.39 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001374/1.092, allocations: 94.67 kB / 1.326 GB, free: 22.34 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005077/1.092, allocations: 223.5 kB / 1.326 GB, free: 22.24 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/1.092, allocations: 0 / 1.326 GB, free: 22.24 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.454e-06/1.092, allocations: 0 / 1.326 GB, free: 22.24 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.168e-05/1.092, allocations: 3.938 kB / 1.326 GB, free: 22.24 MB / 1.061 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.0009222/1.093, allocations: 0.564 MB / 1.326 GB, free: 21.72 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/1.093, allocations: 14.45 kB / 1.326 GB, free: 21.72 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.027e-05/1.093, allocations: 6.781 kB / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.633e-05/1.093, allocations: 40.67 kB / 1.327 GB, free: 21.67 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/1.093, allocations: 26.36 kB / 1.327 GB, free: 21.66 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003642/1.094, allocations: 246.9 kB / 1.327 GB, free: 21.43 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/1.094, allocations: 17.09 kB / 1.327 GB, free: 21.42 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.664e-05/1.094, allocations: 19.47 kB / 1.327 GB, free: 21.41 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002592/1.094, allocations: 106.6 kB / 1.327 GB, free: 21.36 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/1.094, allocations: 4 kB / 1.327 GB, free: 21.35 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/1.094, allocations: 5.453 kB / 1.327 GB, free: 21.35 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/1.094, allocations: 2.469 kB / 1.327 GB, free: 21.35 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001453/1.094, allocations: 66.03 kB / 1.327 GB, free: 21.32 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009827/1.095, allocations: 492.6 kB / 1.327 GB, free: 20.97 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000288/1.096, allocations: 105.5 kB / 1.328 GB, free: 20.91 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.639e-05/1.096, allocations: 34.55 kB / 1.328 GB, free: 20.89 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/1.096, allocations: 1.719 kB / 1.328 GB, free: 20.89 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001753/1.096, allocations: 107.4 kB / 1.328 GB, free: 20.82 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.974e-06/1.096, allocations: 4 kB / 1.328 GB, free: 20.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.0004117/1.096, allocations: 170.8 kB / 1.328 GB, free: 20.75 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/1.096, allocations: 58.62 kB / 1.328 GB, free: 20.68 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/1.096, allocations: 206.9 kB / 1.328 GB, free: 20.54 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/1.096, allocations: 33.77 kB / 1.328 GB, free: 20.5 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.786e-05/1.097, allocations: 133.3 kB / 1.328 GB, free: 20.39 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/1.097, allocations: 41.72 kB / 1.328 GB, free: 20.36 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/1.097, allocations: 61.06 kB / 1.328 GB, free: 20.32 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.852e-05/1.097, allocations: 335.3 kB / 1.329 GB, free: 20 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/1.097, allocations: 60.27 kB / 1.329 GB, free: 19.98 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/1.097, allocations: 127.5 kB / 1.329 GB, free: 19.89 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003156/1.098, allocations: 211.8 kB / 1.329 GB, free: 19.73 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/1.098, allocations: 0.9062 kB / 1.329 GB, free: 19.73 MB / 1.061 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007187/1.098, allocations: 325.8 kB / 1.329 GB, free: 19.57 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.265e-05/1.098, allocations: 76.53 kB / 1.329 GB, free: 19.5 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/1.098, allocations: 5.531 kB / 1.329 GB, free: 19.49 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.502e-05/1.098, allocations: 3.125 kB / 1.329 GB, free: 19.49 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.896e-05/1.098, allocations: 20.72 kB / 1.329 GB, free: 19.49 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/1.098, allocations: 2.812 kB / 1.329 GB, free: 19.49 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/1.099, allocations: 25.98 kB / 1.33 GB, free: 19.48 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.561e-05/1.099, allocations: 16.66 kB / 1.33 GB, free: 19.47 MB / 1.061 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.0001259/1.099, allocations: 143.1 kB / 1.33 GB, free: 19.34 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.3e-05/1.099, allocations: 24.11 kB / 1.33 GB, free: 19.33 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002801/1.099, allocations: 149.9 kB / 1.33 GB, free: 19.25 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/1.099, allocations: 0.8125 kB / 1.33 GB, free: 19.25 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/1.099, allocations: 0.5625 kB / 1.33 GB, free: 19.25 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/1.099, allocations: 0.5 kB / 1.33 GB, free: 19.25 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006351/1.1, allocations: 499.8 kB / 1.33 GB, free: 18.87 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/1.1, allocations: 0 / 1.33 GB, free: 18.87 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.624e-05/1.1, allocations: 16.84 kB / 1.33 GB, free: 18.86 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/1.1, allocations: 1.219 kB / 1.33 GB, free: 18.86 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/1.1, allocations: 9.281 kB / 1.33 GB, free: 18.86 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/1.1, allocations: 1.188 kB / 1.33 GB, free: 18.86 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/1.1, allocations: 0 / 1.33 GB, free: 18.86 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/1.1, allocations: 239.7 kB / 1.331 GB, free: 18.68 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.173e-05/1.1, allocations: 104.2 kB / 1.331 GB, free: 18.58 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/1.1, allocations: 1.125 kB / 1.331 GB, free: 18.58 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/1.1, allocations: 11.84 kB / 1.331 GB, free: 18.57 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.577e-05/1.1, allocations: 18.47 kB / 1.331 GB, free: 18.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.559e-05/1.1, allocations: 11.23 kB / 1.331 GB, free: 18.57 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001264/1.101, allocations: 146.2 kB / 1.331 GB, free: 18.47 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.101, allocations: 0 / 1.331 GB, free: 18.47 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003384/1.101, allocations: 51.42 kB / 1.331 GB, free: 18.46 MB / 1.061 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.0006865/1.102, allocations: 0.8419 MB / 1.332 GB, free: 17.73 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004609/1.102, allocations: 250.3 kB / 1.332 GB, free: 17.56 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/1.102, allocations: 0 / 1.332 GB, free: 17.56 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001056/1.102, allocations: 46.08 kB / 1.332 GB, free: 17.55 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004702/1.103, allocations: 63.45 kB / 1.332 GB, free: 17.54 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003399/1.106, allocations: 2.263 MB / 1.334 GB, free: 15.86 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/1.106, allocations: 0.7269 MB / 1.335 GB, free: 15.16 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001627/1.106, allocations: 30.58 kB / 1.335 GB, free: 15.15 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/1.107, allocations: 59.98 kB / 1.335 GB, free: 15.11 MB / 1.061 GB Notification: Performance of SimCode: time 7.31e-07/1.107, allocations: 0 / 1.335 GB, free: 15.11 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02853/1.135, allocations: 5.538 MB / 1.34 GB, free: 14.35 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.744/9.879, allocations: 9.172 kB / 1.34 GB, free: 14.35 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Plotters_Examples_TimeSeries_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Plotters_Examples_TimeSeries.fmu > Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.723251855000854] Failed to read output from testmodel.py, exit status != 0: 10.015793600992765 10.0382489 8.941787465 Calling exit ...