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.001249/0.001249, allocations: 101.4 kB / 15.7 MB, free: 28 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.001175/0.001175, allocations: 198.3 kB / 16.64 MB, free: 6.43 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.294/1.294, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.636/1.636, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001368/0.001369, allocations: 62.36 kB / 0.6722 GB, free: 25.87 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2205, allocations: 114.6 MB / 0.7841 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003042/0.2236, allocations: 1.761 MB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.2247, allocations: 0.6246 MB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.687e-05/0.2248, allocations: 4 kB / 0.7865 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000173/0.225, allocations: 23.73 kB / 0.7865 GB, free: 10.36 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.0003517/0.2254, allocations: 123.4 kB / 0.7866 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003487/0.2257, allocations: 162.8 kB / 0.7867 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002751/0.226, allocations: 235.4 kB / 0.787 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.2261, allocations: 41.67 kB / 0.787 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.2263, allocations: 107.7 kB / 0.7871 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000218/0.2265, allocations: 123.5 kB / 0.7872 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.575e-05/0.2265, allocations: 20 kB / 0.7873 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001893/0.2267, allocations: 135.8 kB / 0.7874 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.147e-05/0.2268, allocations: 47.83 kB / 0.7874 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.752e-05/0.2269, allocations: 91.5 kB / 0.7875 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003357/0.2273, allocations: 291.1 kB / 0.7878 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2273, allocations: 0 / 0.7878 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2273, allocations: 0 / 0.7878 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.2273, allocations: 0 / 0.7878 GB, free: 9.004 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.0008693/0.2282, allocations: 0.5876 MB / 0.7884 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.2282, allocations: 11.97 kB / 0.7884 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.123e-05/0.2283, allocations: 24.73 kB / 0.7884 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000333/0.2286, allocations: 252 kB / 0.7886 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.2287, allocations: 12.38 kB / 0.7887 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.413e-05/0.2287, allocations: 16.12 kB / 0.7887 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.2289, allocations: 108.5 kB / 0.7888 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.2289, allocations: 0 / 0.7888 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.229, allocations: 7.984 kB / 0.7888 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.229, allocations: 4 kB / 0.7888 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.2291, allocations: 59.97 kB / 0.7888 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008405/0.2299, allocations: 484.2 kB / 0.7893 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002526/0.2302, allocations: 122.7 kB / 0.7894 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.44e-05/0.2303, allocations: 44.84 kB / 0.7895 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.2303, allocations: 4 kB / 0.7895 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001523/0.2305, allocations: 95.36 kB / 0.7896 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.2305, allocations: 0 / 0.7896 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0003362/0.2308, allocations: 181.3 kB / 0.7897 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.2309, allocations: 59.41 kB / 0.7898 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001959/0.2311, allocations: 203.7 kB / 0.79 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/0.2311, allocations: 33.7 kB / 0.79 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.886e-05/0.2312, allocations: 128.3 kB / 0.7901 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.15e-05/0.2313, allocations: 39.53 kB / 0.7902 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.82e-05/0.2314, allocations: 61.67 kB / 0.7902 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.2315, allocations: 326.8 kB / 0.7905 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.2317, allocations: 63.95 kB / 0.7906 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002299/0.2319, allocations: 131.7 kB / 0.7907 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000315/0.2322, allocations: 217.2 kB / 0.7909 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.2323, allocations: 0 / 0.7909 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006016/0.2329, allocations: 328.6 kB / 0.7912 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.124e-05/0.2329, allocations: 67.39 kB / 0.7913 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.233, allocations: 7.922 kB / 0.7913 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.233, allocations: 4 kB / 0.7913 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.609e-05/0.2331, allocations: 20.09 kB / 0.7913 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.2331, allocations: 11.98 kB / 0.7914 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.2333, allocations: 15.91 kB / 0.7914 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/0.2333, allocations: 19.98 kB / 0.7914 GB, free: 4.988 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.000138/0.2335, allocations: 148 kB / 0.7915 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.161e-05/0.2335, allocations: 19.72 kB / 0.7915 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002518/0.2338, allocations: 150.2 kB / 0.7917 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.2338, allocations: 7.938 kB / 0.7917 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.2338, allocations: 4 kB / 0.7917 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.2338, allocations: 0 / 0.7917 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005765/0.2344, allocations: 490.1 kB / 0.7922 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2344, allocations: 3.938 kB / 0.7922 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.237e-05/0.2344, allocations: 8 kB / 0.7922 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.2344, allocations: 0 / 0.7922 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.2345, allocations: 3.984 kB / 0.7922 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2345, allocations: 0 / 0.7922 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2345, allocations: 0 / 0.7922 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002395/0.2347, allocations: 239.3 kB / 0.7924 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.477e-05/0.2348, allocations: 96.89 kB / 0.7925 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.2348, allocations: 4 kB / 0.7925 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.2349, allocations: 11.98 kB / 0.7925 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.903e-05/0.235, allocations: 19.91 kB / 0.7925 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-05/0.235, allocations: 8 kB / 0.7925 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001296/0.2352, allocations: 141.5 kB / 0.7927 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2352, allocations: 4 kB / 0.7927 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003499/0.2355, allocations: 75.89 kB / 0.7928 GB, free: 3.48 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.0004593/0.236, allocations: 231.8 kB / 0.793 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003878/0.2364, allocations: 250.6 kB / 0.7932 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2364, allocations: 0 / 0.7932 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.721e-05/0.2365, allocations: 48.3 kB / 0.7933 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.2369, allocations: 80.44 kB / 0.7933 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005839/0.2375, allocations: 315.3 kB / 0.7936 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.2378, allocations: 0.7244 MB / 0.7944 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.821e-05/0.2379, allocations: 33.88 kB / 0.7944 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.446e-05/0.2379, allocations: 31.42 kB / 0.7944 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of SimCode: time 3.71e-07/0.2379, allocations: 0 / 0.7944 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of Templates: time 0.007834/0.2458, allocations: 4.046 MB / 0.7984 GB, free: 13.73 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)