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.001325/0.001325, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.001479/0.001479, allocations: 217.3 kB / 23.04 MB, free: 5.074 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.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 8 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.792/2.792, allocations: 476.7 MB / 0.7715 GB, free: 4.293 MB / 0.6231 GB " [Timeout remaining time 177] 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.002102/0.002102, allocations: 63.59 kB / 1.118 GB, free: 39.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3244, allocations: 170 MB / 1.284 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003361/0.3278, allocations: 1.824 MB / 1.286 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.329, allocations: 0.6313 MB / 1.287 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.207e-05/0.3291, allocations: 0 / 1.287 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001885/0.3293, allocations: 27.73 kB / 1.287 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003955/0.3297, allocations: 131.4 kB / 1.287 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004849/0.3302, allocations: 155.7 kB / 1.287 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003487/0.3305, allocations: 247.4 kB / 1.287 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.3307, allocations: 33.31 kB / 1.287 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/0.3308, allocations: 115.6 kB / 1.287 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008247/0.3391, allocations: 1.047 MB / 1.288 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.042e-05/0.3392, allocations: 16 kB / 1.288 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.3393, allocations: 39.98 kB / 1.288 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.29e-05/0.3394, allocations: 47.78 kB / 1.288 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001435/0.3395, allocations: 91.5 kB / 1.288 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004313/0.34, allocations: 227 kB / 1.289 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.34, allocations: 0 / 1.289 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.373e-06/0.34, allocations: 0 / 1.289 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.34, allocations: 0 / 1.289 GB, free: 7.254 MB / 0.9825 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.0008898/0.3409, allocations: 0.5005 MB / 1.289 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.3409, allocations: 8.031 kB / 1.289 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.032e-05/0.3409, allocations: 4.188 kB / 1.289 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.424e-05/0.341, allocations: 46.73 kB / 1.289 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.751e-05/0.3411, allocations: 20.84 kB / 1.289 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003514/0.3414, allocations: 194.3 kB / 1.289 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/0.3414, allocations: 15.94 kB / 1.289 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.073e-05/0.3415, allocations: 23.98 kB / 1.289 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002441/0.3417, allocations: 105.5 kB / 1.289 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.3417, allocations: 0 / 1.289 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.3418, allocations: 8 kB / 1.29 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.3418, allocations: 0 / 1.29 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/0.3419, allocations: 59.91 kB / 1.29 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.343, allocations: 455.5 kB / 1.29 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000311/0.3433, allocations: 102.7 kB / 1.29 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.933e-05/0.3433, allocations: 36.84 kB / 1.29 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.3434, allocations: 0 / 1.29 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000209/0.3436, allocations: 111.3 kB / 1.29 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.412e-06/0.3436, allocations: 0 / 1.29 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0003943/0.344, allocations: 173.4 kB / 1.29 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/0.344, allocations: 55.41 kB / 1.29 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002398/0.3443, allocations: 207.8 kB / 1.291 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.29e-05/0.3443, allocations: 29.7 kB / 1.291 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.3444, allocations: 136.4 kB / 1.291 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.344e-05/0.3445, allocations: 31.73 kB / 1.291 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.3446, allocations: 73.62 kB / 1.291 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.3448, allocations: 326.8 kB / 1.291 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.3449, allocations: 63.95 kB / 1.291 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002442/0.3452, allocations: 129.6 kB / 1.291 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003265/0.3455, allocations: 217.2 kB / 1.292 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3455, allocations: 3.938 kB / 1.292 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000636/0.3462, allocations: 332.7 kB / 1.292 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.95e-05/0.3462, allocations: 67.39 kB / 1.292 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.3462, allocations: 3.938 kB / 1.292 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.3462, allocations: 4 kB / 1.292 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.815e-05/0.3463, allocations: 15.94 kB / 1.292 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.3463, allocations: 7.984 kB / 1.292 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.3465, allocations: 23.89 kB / 1.292 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.178e-05/0.3466, allocations: 15.97 kB / 1.292 GB, free: 3.414 MB / 0.9825 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.0001725/0.3467, allocations: 147.9 kB / 1.292 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.939e-05/0.3468, allocations: 23.8 kB / 1.292 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002862/0.3471, allocations: 155.4 kB / 1.292 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3471, allocations: 4 kB / 1.292 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3471, allocations: 0 / 1.292 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.3471, allocations: 3.984 kB / 1.292 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006418/0.3477, allocations: 460.5 kB / 1.293 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3477, allocations: 0 / 1.293 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.536e-05/0.3478, allocations: 16 kB / 1.293 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3478, allocations: 0 / 1.293 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.3478, allocations: 0 / 1.293 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/0.3478, allocations: 7.984 kB / 1.293 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3478, allocations: 0 / 1.293 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002718/0.3481, allocations: 243.2 kB / 1.293 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.542e-05/0.3481, allocations: 23.89 kB / 1.293 GB, free: 2.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.953e-05/0.3482, allocations: 8 kB / 1.293 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.3483, allocations: 11.98 kB / 1.293 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.512e-05/0.3483, allocations: 15.97 kB / 1.293 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.699e-05/0.3484, allocations: 8 kB / 1.293 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001521/0.3485, allocations: 145.5 kB / 1.293 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3485, allocations: 0 / 1.293 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003127/0.3488, allocations: 47.92 kB / 1.293 GB, free: 2.039 MB / 0.9825 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.000913/0.3497, allocations: 0.8387 MB / 1.294 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004524/0.3502, allocations: 253.3 kB / 1.294 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3502, allocations: 0 / 1.294 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.45e-05/0.3503, allocations: 47.91 kB / 1.294 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000442/0.3507, allocations: 59.06 kB / 1.294 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003165/0.3539, allocations: 2.256 MB / 1.297 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003918/0.3543, allocations: 0.7281 MB / 1.297 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001103/0.3544, allocations: 25.94 kB / 1.297 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.3545, allocations: 55.42 kB / 1.297 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of SimCode: time 8.52e-07/0.3545, allocations: 0 / 1.297 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03064/0.3851, allocations: 5.759 MB / 1.303 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.28, allocations: 19.36 kB / 1.303 GB, free: 8.023 MB / 0.9981 GB " [Timeout remaining time 287] (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.102275117998943] Failed to read output from testmodel.py, exit status != 0: 13.042728464992251 12.478279338 12.132998203 Calling exit ...