Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.622/2.622, allocations: 284.9 MB / 292.4 MB, free: 10.52 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.001435/0.001435, allocations: 177 kB / 360.6 MB, free: 7.273 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.159/2.159, allocations: 205.3 MB / 0.6191 GB, free: 12.18 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.00108/0.00108, allocations: 94.95 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.232e-05/2.228e-05, allocations: 4 kB / 0.8508 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8559/0.856, allocations: 115.3 MB / 0.9634 GB, free: 78.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2489/1.105, allocations: 140.6 MB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/1.105, allocations: 71.95 kB / 1.101 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03178/1.137, allocations: 6.722 MB / 1.107 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.683e-06/1.137, allocations: 0 / 1.107 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.65e-05/1.137, allocations: 5.281 kB / 1.107 GB, free: 9.043 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.0009892/1.138, allocations: 0.5288 MB / 1.108 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.748e-05/1.138, allocations: 15.78 kB / 1.108 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001417/1.138, allocations: 19.81 kB / 1.108 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008734/1.139, allocations: 266.6 kB / 1.108 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/1.139, allocations: 10.31 kB / 1.108 GB, free: 8.121 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.173e-05/1.139, allocations: 14.62 kB / 1.108 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002301/1.14, allocations: 51.92 kB / 1.108 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/1.14, allocations: 94.33 kB / 1.108 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/1.14, allocations: 3.953 kB / 1.108 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/1.14, allocations: 0 / 1.108 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/1.14, allocations: 4 kB / 1.108 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/1.141, allocations: 460.8 kB / 1.109 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003857/1.142, allocations: 104.5 kB / 1.109 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/1.142, allocations: 28.86 kB / 1.109 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.51e-05/1.142, allocations: 3.984 kB / 1.109 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002419/1.142, allocations: 104.3 kB / 1.109 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 2.755e-06/1.142, allocations: 0 / 1.109 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0004378/1.143, allocations: 126.4 kB / 1.109 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/1.143, allocations: 63.33 kB / 1.109 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002641/1.143, allocations: 167.1 kB / 1.109 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.349e-05/1.143, allocations: 29.7 kB / 1.109 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/1.143, allocations: 124.4 kB / 1.109 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.303e-05/1.143, allocations: 35.56 kB / 1.11 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.379e-05/1.143, allocations: 4 kB / 1.11 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001604/1.144, allocations: 330.8 kB / 1.11 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/1.144, allocations: 55.97 kB / 1.11 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002614/1.144, allocations: 117.3 kB / 1.11 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/1.144, allocations: 65.23 kB / 1.11 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.695e-06/1.144, allocations: 3.953 kB / 1.11 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007785/1.145, allocations: 241.5 kB / 1.11 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.05e-05/1.145, allocations: 72.17 kB / 1.11 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/1.145, allocations: 1.328 kB / 1.11 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/1.145, allocations: 8.156 kB / 1.11 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/1.145, allocations: 19.92 kB / 1.11 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/1.145, allocations: 4 kB / 1.11 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000345/1.146, allocations: 23.83 kB / 1.11 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.304e-05/1.146, allocations: 11.98 kB / 1.11 GB, free: 5.652 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.0001497/1.146, allocations: 123 kB / 1.111 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003086/1.146, allocations: 126.8 kB / 1.111 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.907e-05/1.146, allocations: 23.72 kB / 1.111 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003633/1.147, allocations: 137.5 kB / 1.111 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/1.147, allocations: 5.625 kB / 1.111 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/1.147, allocations: 0 / 1.111 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/1.147, allocations: 0 / 1.111 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009388/1.148, allocations: 452.5 kB / 1.111 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/1.148, allocations: 0 / 1.111 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.793e-05/1.148, allocations: 11.92 kB / 1.111 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.064e-06/1.148, allocations: 4 kB / 1.111 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/1.148, allocations: 0 / 1.111 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/1.148, allocations: 0 / 1.111 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.148, allocations: 0 / 1.111 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003681/1.148, allocations: 228.5 kB / 1.111 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.434e-05/1.148, allocations: 92.92 kB / 1.112 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.844e-05/1.149, allocations: 10.42 kB / 1.112 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/1.149, allocations: 15.92 kB / 1.112 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.738e-05/1.149, allocations: 11.98 kB / 1.112 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.261e-05/1.149, allocations: 15.98 kB / 1.112 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001706/1.149, allocations: 129.5 kB / 1.112 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.11e-07/1.149, allocations: 0 / 1.112 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005419/1.15, allocations: 59.83 kB / 1.112 GB, free: 4.152 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.001075/1.151, allocations: 0.821 MB / 1.113 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005997/1.151, allocations: 234.6 kB / 1.113 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/1.151, allocations: 4 kB / 1.113 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001338/1.152, allocations: 47.92 kB / 1.113 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005619/1.152, allocations: 52.89 kB / 1.113 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/1.153, allocations: 265.4 kB / 1.113 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003947/1.154, allocations: 0.7301 MB / 1.114 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000174/1.154, allocations: 31.78 kB / 1.114 GB, free: 1.902 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/1.154, allocations: 59.41 kB / 1.114 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of SimCode: time 1.322e-06/1.154, allocations: 0 / 1.114 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04873/1.203, allocations: 4.545 MB / 1.118 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003768/1.203, allocations: 165.6 kB / 1.119 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.627/3.83, allocations: 0 / 1.119 GB, free: 13.22 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries.fmu > Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1)