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.001409/0.001409, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002316/0.002316, allocations: 221.7 kB / 23.05 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.651/1.651, allocations: 230.6 MB / 256.8 MB, free: 7.969 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.441/3.441, allocations: 0.49 GB / 0.7959 GB, free: 33.43 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.001969/0.001969, allocations: 71.94 kB / 1.155 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.354, allocations: 176.1 MB / 1.327 GB, free: 1.992 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003484/0.3575, allocations: 1.822 MB / 1.328 GB, free: 164 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.3589, allocations: 0.6199 MB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.428e-05/0.359, allocations: 7.938 kB / 1.329 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002252/0.3592, allocations: 39.7 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003853/0.3596, allocations: 119.5 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004141/0.36, allocations: 155.7 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003247/0.3603, allocations: 251.2 kB / 1.33 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.3604, allocations: 26.02 kB / 1.33 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.3606, allocations: 107.7 kB / 1.33 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008282/0.3689, allocations: 1.069 MB / 1.331 GB, free: 14.03 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.741e-05/0.369, allocations: 16 kB / 1.331 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001599/0.3691, allocations: 32 kB / 1.331 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.042e-05/0.3692, allocations: 43.83 kB / 1.331 GB, free: 13.94 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001682/0.3694, allocations: 99.44 kB / 1.331 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005267/0.3699, allocations: 223.1 kB / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3699, allocations: 0 / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.395e-06/0.3699, allocations: 0 / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.3699, allocations: 0 / 1.331 GB, free: 13.62 MB / 1.029 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.000983/0.3709, allocations: 0.4966 MB / 1.332 GB, free: 13.09 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.3709, allocations: 8.031 kB / 1.332 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.343e-05/0.371, allocations: 8.125 kB / 1.332 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.312e-05/0.371, allocations: 38.73 kB / 1.332 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.095e-05/0.3711, allocations: 28.8 kB / 1.332 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000366/0.3715, allocations: 194.9 kB / 1.332 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.3715, allocations: 16.12 kB / 1.332 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.973e-05/0.3715, allocations: 16 kB / 1.332 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002486/0.3718, allocations: 103.9 kB / 1.332 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.3718, allocations: 3.984 kB / 1.332 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.3718, allocations: 7.984 kB / 1.332 GB, free: 12.63 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.3718, allocations: 4 kB / 1.332 GB, free: 12.63 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.3719, allocations: 59.83 kB / 1.332 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000999/0.3729, allocations: 459.4 kB / 1.333 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003248/0.3733, allocations: 98.64 kB / 1.333 GB, free: 11.97 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.012e-05/0.3733, allocations: 36.89 kB / 1.333 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.009e-05/0.3734, allocations: 4 kB / 1.333 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001906/0.3736, allocations: 106.5 kB / 1.333 GB, free: 11.82 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 2.114e-06/0.3736, allocations: 0 / 1.333 GB, free: 11.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0004295/0.374, allocations: 173.4 kB / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.206e-05/0.374, allocations: 59.39 kB / 1.333 GB, free: 11.57 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.3743, allocations: 207.8 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.389e-05/0.3743, allocations: 37.69 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.3744, allocations: 132.4 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.135e-05/0.3745, allocations: 39.69 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001732/0.3746, allocations: 57.69 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.3748, allocations: 330.8 kB / 1.334 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/0.375, allocations: 63.95 kB / 1.334 GB, free: 10.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002495/0.3752, allocations: 135.6 kB / 1.334 GB, free: 10.52 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000361/0.3756, allocations: 209.2 kB / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3756, allocations: 0 / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006313/0.3762, allocations: 336.8 kB / 1.334 GB, free: 9.938 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.876e-05/0.3763, allocations: 75.27 kB / 1.335 GB, free: 9.852 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.3763, allocations: 0 / 1.335 GB, free: 9.852 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.3763, allocations: 4 kB / 1.335 GB, free: 9.848 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.725e-05/0.3764, allocations: 19.92 kB / 1.335 GB, free: 9.828 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.3764, allocations: 4 kB / 1.335 GB, free: 9.824 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000195/0.3766, allocations: 23.88 kB / 1.335 GB, free: 9.801 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.125e-05/0.3767, allocations: 20.14 kB / 1.335 GB, free: 9.781 MB / 1.029 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.0001507/0.3768, allocations: 140.3 kB / 1.335 GB, free: 9.637 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.928e-05/0.3769, allocations: 27.8 kB / 1.335 GB, free: 9.609 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002766/0.3771, allocations: 147.4 kB / 1.335 GB, free: 9.453 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3771, allocations: 0 / 1.335 GB, free: 9.453 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3771, allocations: 4 kB / 1.335 GB, free: 9.449 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.3771, allocations: 7.969 kB / 1.335 GB, free: 9.441 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006835/0.3778, allocations: 457.3 kB / 1.335 GB, free: 8.945 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3778, allocations: 0 / 1.335 GB, free: 8.945 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.467e-05/0.3779, allocations: 11.92 kB / 1.335 GB, free: 8.934 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3779, allocations: 4 kB / 1.335 GB, free: 8.93 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.3779, allocations: 0 / 1.335 GB, free: 8.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3779, allocations: 0 / 1.335 GB, free: 8.93 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3779, allocations: 0 / 1.335 GB, free: 8.93 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002688/0.3782, allocations: 246.1 kB / 1.336 GB, free: 8.676 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.779e-05/0.3782, allocations: 19.89 kB / 1.336 GB, free: 8.656 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.311e-05/0.3782, allocations: 15.98 kB / 1.336 GB, free: 8.641 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.3784, allocations: 4 kB / 1.336 GB, free: 8.637 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.405e-05/0.3784, allocations: 15.97 kB / 1.336 GB, free: 8.621 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.681e-05/0.3784, allocations: 11.98 kB / 1.336 GB, free: 8.609 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001419/0.3786, allocations: 149.5 kB / 1.336 GB, free: 8.465 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3786, allocations: 0 / 1.336 GB, free: 8.465 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003258/0.3789, allocations: 47.94 kB / 1.336 GB, free: 8.418 MB / 1.029 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.0009377/0.3798, allocations: 0.8463 MB / 1.337 GB, free: 7.57 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000476/0.3803, allocations: 254.4 kB / 1.337 GB, free: 7.301 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3803, allocations: 0 / 1.337 GB, free: 7.301 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.348e-05/0.3804, allocations: 47.02 kB / 1.337 GB, free: 7.258 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004683/0.3809, allocations: 62.42 kB / 1.337 GB, free: 7.199 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003193/0.3841, allocations: 2.255 MB / 1.339 GB, free: 4.805 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.3845, allocations: 0.7319 MB / 1.34 GB, free: 4.047 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001222/0.3846, allocations: 33.88 kB / 1.34 GB, free: 4.012 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.3847, allocations: 55.41 kB / 1.34 GB, free: 3.957 MB / 1.029 GB Notification: Performance of SimCode: time 1.153e-06/0.3847, allocations: 0 / 1.34 GB, free: 3.957 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02931/0.414, allocations: 5.748 MB / 1.346 GB, free: 14.39 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.99, allocations: 4.875 kB / 1.346 GB, free: 14.39 MB / 1.045 GB " [Timeout remaining time 288] (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: 19.24260531103937] Failed to read output from testmodel.py, exit status != 0: 12.157286162022501 12.183216254 11.808515306 Calling exit ...