Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.344/1.344, allocations: 251.5 MB / 266.7 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001001/0.001001, allocations: 183.6 kB / 325.9 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.814/1.814, allocations: 205 MB / 0.576 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006984/0.0006984, allocations: 88.97 kB / 0.6797 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003118/0.0003119, allocations: 13.06 kB / 0.7932 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1846, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.00192/0.1865, allocations: 1.603 MB / 0.8978 GB, free: 66.44 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.1876, allocations: 0.6781 MB / 0.8984 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.252e-05/0.1876, allocations: 7.938 kB / 0.8984 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001914/0.1878, allocations: 15.86 kB / 0.8984 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002391/0.1881, allocations: 99.64 kB / 0.8985 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.1884, allocations: 145.5 kB / 0.8987 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00018/0.1886, allocations: 227.4 kB / 0.8989 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.1887, allocations: 37.67 kB / 0.8989 GB, free: 65.24 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.445e-05/0.1888, allocations: 91.67 kB / 0.899 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04784/0.2366, allocations: 2.638 MB / 0.9016 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.392e-05/0.2367, allocations: 8 kB / 0.9016 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.2368, allocations: 24 kB / 0.9016 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.31e-05/0.2369, allocations: 39.77 kB / 0.9017 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.237, allocations: 87.5 kB / 0.9017 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.2373, allocations: 203.3 kB / 0.9019 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2373, allocations: 0 / 0.9019 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2373, allocations: 0 / 0.9019 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.2373, allocations: 0 / 0.9019 GB, free: 62.79 MB / 0.6042 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.0006021/0.2379, allocations: 0.5177 MB / 0.9024 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.2379, allocations: 8.031 kB / 0.9025 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.79e-05/0.238, allocations: 42.73 kB / 0.9025 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.496e-05/0.2381, allocations: 24.75 kB / 0.9025 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.2383, allocations: 244.1 kB / 0.9027 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.2383, allocations: 16.31 kB / 0.9028 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.844e-05/0.2384, allocations: 23.92 kB / 0.9028 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.2386, allocations: 108.9 kB / 0.9029 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.2386, allocations: 0 / 0.9029 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.2386, allocations: 8 kB / 0.9029 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.2386, allocations: 0 / 0.9029 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.2387, allocations: 55.97 kB / 0.903 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007106/0.2394, allocations: 496.2 kB / 0.9034 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.2397, allocations: 118.6 kB / 0.9035 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.181e-05/0.2397, allocations: 40.84 kB / 0.9036 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.2397, allocations: 0 / 0.9036 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001284/0.2399, allocations: 107.3 kB / 0.9037 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 1.293e-06/0.2399, allocations: 0 / 0.9037 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16): time 0.0002835/0.2402, allocations: 172.7 kB / 0.9038 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.2402, allocations: 67.34 kB / 0.9039 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.2404, allocations: 204.4 kB / 0.9041 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.2404, allocations: 33.7 kB / 0.9041 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.122e-05/0.2405, allocations: 128.4 kB / 0.9043 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.2405, allocations: 35.55 kB / 0.9043 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.852e-05/0.2405, allocations: 33.7 kB / 0.9043 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.621e-05/0.2406, allocations: 330.8 kB / 0.9046 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.2407, allocations: 63.95 kB / 0.9047 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/0.2409, allocations: 135.6 kB / 0.9048 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002129/0.2411, allocations: 221.2 kB / 0.905 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2411, allocations: 0 / 0.905 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004505/0.2416, allocations: 331.5 kB / 0.9054 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.497e-05/0.2416, allocations: 67.33 kB / 0.9054 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.2416, allocations: 4 kB / 0.9054 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.2417, allocations: 4 kB / 0.9054 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-05/0.2417, allocations: 19.92 kB / 0.9054 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.2418, allocations: 8.156 kB / 0.9055 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.2419, allocations: 27.83 kB / 0.9055 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.242, allocations: 8 kB / 0.9055 GB, free: 58.82 MB / 0.6042 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 9.764e-05/0.2421, allocations: 148 kB / 0.9056 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.2421, allocations: 19.75 kB / 0.9056 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001981/0.2423, allocations: 147.5 kB / 0.9058 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.2423, allocations: 4 kB / 0.9058 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.2423, allocations: 0 / 0.9058 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.2423, allocations: 0 / 0.9058 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004254/0.2427, allocations: 498.1 kB / 0.9063 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.2428, allocations: 0 / 0.9063 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.566e-05/0.2428, allocations: 11.92 kB / 0.9063 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.2428, allocations: 8 kB / 0.9063 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.2428, allocations: 4 kB / 0.9063 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.2428, allocations: 0 / 0.9063 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2428, allocations: 0 / 0.9063 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/0.243, allocations: 231.3 kB / 0.9065 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.545e-05/0.2431, allocations: 100.9 kB / 0.9066 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.2431, allocations: 8 kB / 0.9066 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.2433, allocations: 15.98 kB / 0.9066 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.929e-05/0.2434, allocations: 15.98 kB / 0.9066 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.63e-05/0.2434, allocations: 8 kB / 0.9067 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001056/0.2436, allocations: 149.5 kB / 0.9068 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2436, allocations: 0 / 0.9068 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002844/0.2439, allocations: 47.91 kB / 0.9068 GB, free: 57.33 MB / 0.6042 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.0005233/0.2444, allocations: 0.8429 MB / 0.9077 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003115/0.2447, allocations: 254.5 kB / 0.9079 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2447, allocations: 0 / 0.9079 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.064e-05/0.2448, allocations: 47.92 kB / 0.908 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.2452, allocations: 51.95 kB / 0.908 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002105/0.2473, allocations: 2.296 MB / 0.9102 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000146/0.2474, allocations: 0.7284 MB / 0.911 GB, free: 52.94 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.551e-05/0.2475, allocations: 25.94 kB / 0.911 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.109e-05/0.2476, allocations: 55.41 kB / 0.911 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of SimCode: time 1.042e-06/0.2476, allocations: 0 / 0.911 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01455/0.2622, allocations: 5.024 MB / 0.9159 GB, free: 47.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00013/0.2624, allocations: 257.2 kB / 0.9162 GB, free: 47.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.835/2.097, allocations: 3.938 kB / 0.9162 GB, free: 47.7 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Examples_TimeSeries_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Examples_TimeSeries.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1)