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.00129/0.00129, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.366/1.366, allocations: 205.1 MB / 222.4 MB, free: 4.562 MB / 174.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.676/1.676, allocations: 292.3 MB / 0.5489 GB, free: 12.85 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.00145/0.00145, allocations: 76.14 kB / 0.6715 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2018, allocations: 114.5 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002991/0.2049, allocations: 1.757 MB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001077/0.206, allocations: 0.6246 MB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.926e-05/0.206, allocations: 7.938 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001602/0.2062, allocations: 23.73 kB / 0.7857 GB, free: 11.04 MB / 0.6075 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.0003405/0.2066, allocations: 119.4 kB / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003361/0.2069, allocations: 158.8 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002451/0.2072, allocations: 235.4 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.2073, allocations: 45.66 kB / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.2074, allocations: 95.69 kB / 0.7863 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001861/0.2076, allocations: 131.5 kB / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.372e-05/0.2077, allocations: 16 kB / 0.7865 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001792/0.2079, allocations: 115.9 kB / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.629e-05/0.2079, allocations: 51.78 kB / 0.7866 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.208, allocations: 91.5 kB / 0.7867 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003719/0.2084, allocations: 287.5 kB / 0.787 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2084, allocations: 3.938 kB / 0.787 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2084, allocations: 0 / 0.787 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.2084, allocations: 0 / 0.787 GB, free: 9.719 MB / 0.6075 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.0009303/0.2094, allocations: 0.5683 MB / 0.7876 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.2094, allocations: 16.03 kB / 0.7876 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.811e-05/0.2095, allocations: 24.75 kB / 0.7876 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003707/0.2099, allocations: 248 kB / 0.7878 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.2099, allocations: 8.375 kB / 0.7878 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.705e-05/0.21, allocations: 24.11 kB / 0.7879 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.2102, allocations: 112.5 kB / 0.788 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.2102, allocations: 0 / 0.788 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.2103, allocations: 8 kB / 0.788 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.2103, allocations: 0 / 0.788 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.2104, allocations: 55.97 kB / 0.788 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008773/0.2113, allocations: 492.2 kB / 0.7885 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002514/0.2115, allocations: 118.7 kB / 0.7886 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.786e-05/0.2116, allocations: 44.84 kB / 0.7887 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.2117, allocations: 0 / 0.7887 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001476/0.2118, allocations: 103.4 kB / 0.7888 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.373e-06/0.2118, allocations: 0 / 0.7888 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0003344/0.2122, allocations: 184.5 kB / 0.7889 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.2122, allocations: 55.41 kB / 0.789 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.2124, allocations: 207.7 kB / 0.7892 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.2124, allocations: 33.7 kB / 0.7892 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.059e-05/0.2125, allocations: 140.2 kB / 0.7893 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.2126, allocations: 31.56 kB / 0.7894 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.261e-05/0.2127, allocations: 57.67 kB / 0.7894 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.2128, allocations: 334.8 kB / 0.7898 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.2129, allocations: 67.95 kB / 0.7898 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.2132, allocations: 131.6 kB / 0.7899 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002812/0.2134, allocations: 213.3 kB / 0.7901 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2135, allocations: 0 / 0.7901 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005583/0.214, allocations: 331.2 kB / 0.7905 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.727e-05/0.2141, allocations: 63.39 kB / 0.7905 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.2141, allocations: 12.09 kB / 0.7905 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.2141, allocations: 0 / 0.7905 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.148e-05/0.2142, allocations: 23.92 kB / 0.7906 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.2142, allocations: 4 kB / 0.7906 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.2144, allocations: 19.89 kB / 0.7906 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.2144, allocations: 16 kB / 0.7906 GB, free: 5.719 MB / 0.6075 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.0001168/0.2146, allocations: 140 kB / 0.7907 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.01e-05/0.2146, allocations: 19.72 kB / 0.7907 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002355/0.2148, allocations: 159.4 kB / 0.7909 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2149, allocations: 3.984 kB / 0.7909 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2149, allocations: 0 / 0.7909 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.2149, allocations: 0 / 0.7909 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005397/0.2154, allocations: 490.1 kB / 0.7914 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.2154, allocations: 0 / 0.7914 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.152e-05/0.2155, allocations: 15.92 kB / 0.7914 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.2155, allocations: 0 / 0.7914 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.2155, allocations: 8 kB / 0.7914 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2155, allocations: 0 / 0.7914 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2155, allocations: 0 / 0.7914 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002226/0.2157, allocations: 239.1 kB / 0.7916 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.338e-05/0.2158, allocations: 100.9 kB / 0.7917 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.2158, allocations: 0 / 0.7917 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.2159, allocations: 15.92 kB / 0.7917 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.169e-05/0.216, allocations: 15.98 kB / 0.7917 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/0.216, allocations: 12 kB / 0.7918 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001289/0.2162, allocations: 141.5 kB / 0.7919 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2162, allocations: 0 / 0.7919 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000342/0.2165, allocations: 75.89 kB / 0.792 GB, free: 4.207 MB / 0.6075 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.0004319/0.217, allocations: 230.4 kB / 0.7922 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003961/0.2174, allocations: 262.7 kB / 0.7924 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2174, allocations: 0 / 0.7924 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.038e-05/0.2175, allocations: 54.72 kB / 0.7925 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004121/0.2179, allocations: 67.36 kB / 0.7926 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005756/0.2185, allocations: 323.6 kB / 0.7929 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.2188, allocations: 0.7322 MB / 0.7936 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.211e-05/0.2188, allocations: 29.92 kB / 0.7936 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.649e-05/0.2189, allocations: 23.42 kB / 0.7936 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2189, allocations: 0 / 0.7936 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of Templates: time 0.007616/0.2265, allocations: 4.049 MB / 0.7976 GB, free: 14.44 MB / 0.6231 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 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1)