Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.774/1.774, allocations: 285.6 MB / 293.1 MB, free: 10.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001044/0.001044, allocations: 179.8 kB / 361.4 MB, free: 6.797 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205.2 MB / 0.62 GB, free: 11.59 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008191/0.0008191, allocations: 87.34 kB / 0.733 GB, free: 44.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.96e-05/1.984e-05, allocations: 4 kB / 0.8518 GB, free: 2.609 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6866/0.6866, allocations: 115.3 MB / 0.9644 GB, free: 78.81 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2074/0.8941, allocations: 140.8 MB / 1.102 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/0.8944, allocations: 75.95 kB / 1.102 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01929/0.9137, allocations: 6.72 MB / 1.109 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.374e-06/0.9137, allocations: 0.6875 kB / 1.109 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.613e-05/0.9138, allocations: 5.938 kB / 1.109 GB, free: 8.27 MB / 0.7136 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.0007254/0.9145, allocations: 0.5241 MB / 1.109 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.9145, allocations: 8.031 kB / 1.109 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/0.9147, allocations: 27.75 kB / 1.109 GB, free: 7.656 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000542/0.9152, allocations: 270.6 kB / 1.109 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.9152, allocations: 8.797 kB / 1.109 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.398e-05/0.9153, allocations: 8 kB / 1.109 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001685/0.9155, allocations: 59.23 kB / 1.109 GB, free: 7.281 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.9156, allocations: 90.34 kB / 1.11 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.9157, allocations: 0 / 1.11 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.9157, allocations: 7.938 kB / 1.11 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.9157, allocations: 1.406 kB / 1.11 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008555/0.9166, allocations: 471.5 kB / 1.11 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.9168, allocations: 92.47 kB / 1.11 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.08e-05/0.9169, allocations: 32.89 kB / 1.11 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.884e-05/0.9169, allocations: 4 kB / 1.11 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001583/0.9171, allocations: 103.9 kB / 1.11 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.713e-06/0.9171, allocations: 3.938 kB / 1.11 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0002699/0.9174, allocations: 123.1 kB / 1.11 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.9174, allocations: 55.41 kB / 1.11 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.9176, allocations: 171.1 kB / 1.111 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.609e-05/0.9177, allocations: 29.7 kB / 1.111 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.412e-05/0.9178, allocations: 128.4 kB / 1.111 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.26e-05/0.9178, allocations: 31.55 kB / 1.111 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.865e-05/0.9178, allocations: 8.938 kB / 1.111 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.918, allocations: 330.8 kB / 1.111 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.9181, allocations: 47.98 kB / 1.111 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.9183, allocations: 119.6 kB / 1.111 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.9184, allocations: 63.98 kB / 1.111 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.9184, allocations: 4 kB / 1.111 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004561/0.9189, allocations: 250.4 kB / 1.111 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.365e-05/0.9189, allocations: 63.39 kB / 1.112 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.919, allocations: 160 / 1.112 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.919, allocations: 9.125 kB / 1.112 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.945e-05/0.9191, allocations: 23.92 kB / 1.112 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.9191, allocations: 0 / 1.112 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.9193, allocations: 23.83 kB / 1.112 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.047e-05/0.9193, allocations: 17.12 kB / 1.112 GB, free: 4.879 MB / 0.7136 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 ($PRE.timSer1.timeConverted,timSer1.timeConverted,$PRE.timSer.timeConverted,timSer.timeConverted,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,timSer.active,$PRE.timSer.tActivateLast,timSer.tActivateLast,timSer.sampleTrigger,timSer1.active,$PRE.timSer1.tActivateLast,timSer1.tActivateLast,timSer1.sampleTrigger,plotConfiguration.activate_internal) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001137/0.9195, allocations: 119.2 kB / 1.112 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000208/0.9197, allocations: 121.4 kB / 1.112 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.921e-05/0.9197, allocations: 27.72 kB / 1.112 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/0.92, allocations: 133.8 kB / 1.112 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.92, allocations: 3.984 kB / 1.112 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.92, allocations: 0 / 1.112 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.92, allocations: 3.984 kB / 1.112 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005703/0.9206, allocations: 449.8 kB / 1.112 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.9206, allocations: 2.062 kB / 1.112 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.155e-05/0.9207, allocations: 11.94 kB / 1.112 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.9207, allocations: 0 / 1.112 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.9207, allocations: 7.984 kB / 1.112 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.9207, allocations: 4 kB / 1.112 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.9207, allocations: 0 / 1.112 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002583/0.921, allocations: 221 kB / 1.113 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.215e-05/0.921, allocations: 100.9 kB / 1.113 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.9211, allocations: 4 kB / 1.113 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.9212, allocations: 11.98 kB / 1.113 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.144e-05/0.9213, allocations: 15.97 kB / 1.113 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.398e-05/0.9213, allocations: 8 kB / 1.113 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001222/0.9214, allocations: 141.4 kB / 1.113 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9214, allocations: 0 / 1.113 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000337/0.9218, allocations: 51.84 kB / 1.113 GB, free: 3.383 MB / 0.7136 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00083/0.9226, allocations: 0.8295 MB / 1.114 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000338/0.923, allocations: 234.6 kB / 1.114 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.923, allocations: 0 / 1.114 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.143e-05/0.9231, allocations: 47.94 kB / 1.114 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.9234, allocations: 50.14 kB / 1.114 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007404/0.9242, allocations: 272.8 kB / 1.114 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.9246, allocations: 0.736 MB / 1.115 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.76e-05/0.9246, allocations: 34.58 kB / 1.115 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.957e-05/0.9247, allocations: 51.42 kB / 1.115 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of SimCode: time 3.7e-07/0.9247, allocations: 0 / 1.115 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02324/0.948, allocations: 4.55 MB / 1.12 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001885/0.9482, allocations: 174.2 kB / 1.12 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.814/2.762, allocations: 0 / 1.12 GB, free: 12.44 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Plotters_Examples_TimeSeries_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Plotters_Examples_TimeSeries.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1)