Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries") translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 100.6 kB / 16.36 MB, free: 6.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009446/0.0009446, allocations: 196.5 kB / 17.3 MB, free: 5.797 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.399/1.399, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.777/1.777, allocations: 292.3 MB / 0.5496 GB, free: 17.49 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 71.89 kB / 0.6729 GB, free: 5.887 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2447, allocations: 114.5 MB / 0.7848 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003323/0.2481, allocations: 1.766 MB / 0.7865 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.2492, allocations: 0.6236 MB / 0.7871 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.05e-05/0.2493, allocations: 4 kB / 0.7871 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001905/0.2495, allocations: 27.72 kB / 0.7871 GB, free: 0.7773 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:310:3-383:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.replace' contains a call to impure function 'Modelica.Utilities.Strings.length'. Notification: Performance of NFTyping.typeBindings: time 0.000361/0.2499, allocations: 119.4 kB / 0.7872 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003569/0.2503, allocations: 159.7 kB / 0.7874 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002748/0.2506, allocations: 235.4 kB / 0.7876 GB, free: 280 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.2507, allocations: 41.62 kB / 0.7877 GB, free: 240 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.2508, allocations: 107.7 kB / 0.7878 GB, free: 132 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002095/0.2511, allocations: 123.5 kB / 0.7879 GB, free: 8 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.4352/0.6863, allocations: 19.05 kB / 0.7879 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004093/0.6868, allocations: 128.8 kB / 0.788 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.195e-05/0.6869, allocations: 51.56 kB / 0.7881 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.687, allocations: 92.92 kB / 0.7882 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004492/0.6875, allocations: 292.4 kB / 0.7884 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.6875, allocations: 3.938 kB / 0.7884 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.534e-06/0.6875, allocations: 0 / 0.7884 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.6875, allocations: 0 / 0.7884 GB, free: 46.79 MB / 0.6544 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.0008326/0.6884, allocations: 0.5793 MB / 0.789 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.6884, allocations: 9.344 kB / 0.789 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.42e-05/0.6885, allocations: 20.5 kB / 0.789 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.6888, allocations: 255.6 kB / 0.7893 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.6889, allocations: 11.44 kB / 0.7893 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.789e-05/0.6889, allocations: 15.31 kB / 0.7893 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.6891, allocations: 113.1 kB / 0.7894 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.6892, allocations: 0 / 0.7894 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.6892, allocations: 8.578 kB / 0.7894 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.6892, allocations: 2.5 kB / 0.7894 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.6893, allocations: 64.45 kB / 0.7895 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008871/0.6902, allocations: 488.6 kB / 0.79 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002491/0.6905, allocations: 106.3 kB / 0.7901 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.578e-05/0.6905, allocations: 44.75 kB / 0.7901 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.6906, allocations: 7.125 kB / 0.7901 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001357/0.6907, allocations: 103.1 kB / 0.7902 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.6907, allocations: 0.5625 kB / 0.7902 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.0003193/0.6911, allocations: 174.5 kB / 0.7904 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.6911, allocations: 55.41 kB / 0.7904 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.6913, allocations: 203.9 kB / 0.7906 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.276e-05/0.6913, allocations: 35.83 kB / 0.7907 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.27e-05/0.6914, allocations: 135.7 kB / 0.7908 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.6914, allocations: 33.36 kB / 0.7908 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.605e-05/0.6915, allocations: 66.83 kB / 0.7909 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.66e-05/0.6916, allocations: 326.3 kB / 0.7912 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.6918, allocations: 63.88 kB / 0.7913 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/0.692, allocations: 131.6 kB / 0.7914 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002551/0.6922, allocations: 210.2 kB / 0.7916 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.6922, allocations: 0.9375 kB / 0.7916 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005082/0.6928, allocations: 332 kB / 0.7919 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.566e-05/0.6928, allocations: 66.06 kB / 0.792 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.6928, allocations: 2.625 kB / 0.792 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.6928, allocations: 8.281 kB / 0.792 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.958e-05/0.6929, allocations: 21.91 kB / 0.792 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.693, allocations: 2.625 kB / 0.792 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/0.6931, allocations: 29.66 kB / 0.792 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.6932, allocations: 11.31 kB / 0.792 GB, free: 44.64 MB / 0.6544 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.0001116/0.6933, allocations: 149.5 kB / 0.7922 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.719e-05/0.6933, allocations: 16.44 kB / 0.7922 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002233/0.6935, allocations: 153.5 kB / 0.7923 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.6936, allocations: 2.625 kB / 0.7923 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.6936, allocations: 0.6562 kB / 0.7923 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.6936, allocations: 5.062 kB / 0.7923 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004793/0.6941, allocations: 488.2 kB / 0.7928 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.6941, allocations: 4.562 kB / 0.7928 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.028e-05/0.6941, allocations: 13.19 kB / 0.7928 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.6941, allocations: 0.8438 kB / 0.7928 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.6942, allocations: 2.625 kB / 0.7928 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.6942, allocations: 2.094 kB / 0.7928 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.6942, allocations: 0 / 0.7928 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/0.6944, allocations: 242.8 kB / 0.7931 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.495e-05/0.6944, allocations: 97.45 kB / 0.7932 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.6944, allocations: 3.234 kB / 0.7932 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.6945, allocations: 8.875 kB / 0.7932 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.845e-05/0.6946, allocations: 14.06 kB / 0.7932 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.6946, allocations: 11.69 kB / 0.7932 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001017/0.6947, allocations: 143.9 kB / 0.7933 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6948, allocations: 0 / 0.7933 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003645/0.6951, allocations: 78.11 kB / 0.7934 GB, free: 43.84 MB / 0.6544 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.0004733/0.6956, allocations: 230.4 kB / 0.7936 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003655/0.696, allocations: 252.1 kB / 0.7939 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.696, allocations: 1.062 kB / 0.7939 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.36e-05/0.6961, allocations: 61.61 kB / 0.7939 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.6965, allocations: 61.53 kB / 0.794 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005698/0.6971, allocations: 317.8 kB / 0.7943 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001538/0.6973, allocations: 0.7281 MB / 0.795 GB, free: 42.74 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.863e-05/0.6973, allocations: 32.86 kB / 0.795 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.882e-05/0.6974, allocations: 24.56 kB / 0.7951 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of SimCode: time 3.21e-07/0.6974, allocations: 0 / 0.7951 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of Templates: time 0.008104/0.7055, allocations: 4.052 MB / 0.799 GB, free: 42.49 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile (rm -f Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1)