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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.589/1.589, allocations: 292.3 MB / 308.1 MB, free: 4.312 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.00132/0.00132, allocations: 194.3 kB / 376.9 MB, free: 1.781 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 205.1 MB / 0.6354 GB, free: 9.754 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.0009798/0.0009797, allocations: 102.4 kB / 0.748 GB, free: 61.24 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.001221, allocations: 55.91 kB / 0.8703 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2579, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.004763/0.2628, allocations: 1.929 MB / 0.9841 GB, free: 8.434 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001739/0.2645, allocations: 0.6665 MB / 0.9847 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002207/0.2648, allocations: 4 kB / 0.9847 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002931/0.2651, allocations: 27.84 kB / 0.9848 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0004934/0.2656, allocations: 87.67 kB / 0.9849 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005341/0.2662, allocations: 147.7 kB / 0.985 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003948/0.2666, allocations: 227.4 kB / 0.9852 GB, free: 7.281 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.2668, allocations: 37.64 kB / 0.9852 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002091/0.267, allocations: 103.7 kB / 0.9853 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01603/0.283, allocations: 0.9694 MB / 0.9863 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.995e-05/0.2832, allocations: 8 kB / 0.9863 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.2833, allocations: 28 kB / 0.9863 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.763e-05/0.2834, allocations: 51.77 kB / 0.9864 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.2835, allocations: 79.56 kB / 0.9865 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003252/0.2839, allocations: 207.3 kB / 0.9866 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2839, allocations: 0 / 0.9866 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.645e-06/0.2839, allocations: 0 / 0.9866 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.2839, allocations: 3.938 kB / 0.9867 GB, free: 6.004 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.001002/0.2849, allocations: 0.5449 MB / 0.9872 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.285, allocations: 20.02 kB / 0.9872 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.599e-05/0.2851, allocations: 20.75 kB / 0.9872 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003871/0.2855, allocations: 244.1 kB / 0.9875 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.2855, allocations: 16.23 kB / 0.9875 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.477e-05/0.2856, allocations: 24.06 kB / 0.9875 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.2858, allocations: 104.7 kB / 0.9876 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.2858, allocations: 0 / 0.9876 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.2858, allocations: 15.97 kB / 0.9876 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.2858, allocations: 0 / 0.9876 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.286, allocations: 55.97 kB / 0.9877 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009408/0.2869, allocations: 492.2 kB / 0.9881 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002802/0.2872, allocations: 110.7 kB / 0.9882 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.356e-05/0.2873, allocations: 40.84 kB / 0.9883 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.2873, allocations: 4 kB / 0.9883 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001746/0.2875, allocations: 111.3 kB / 0.9884 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.2875, allocations: 0 / 0.9884 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0003354/0.2879, allocations: 177.2 kB / 0.9886 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.2879, allocations: 59.39 kB / 0.9886 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.2881, allocations: 204.4 kB / 0.9888 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.142e-05/0.2881, allocations: 33.7 kB / 0.9888 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.982e-05/0.2882, allocations: 124.4 kB / 0.989 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.566e-05/0.2883, allocations: 39.53 kB / 0.989 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.2884, allocations: 61.67 kB / 0.9891 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.2885, allocations: 326.8 kB / 0.9894 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/0.2887, allocations: 68.16 kB / 0.9894 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002082/0.2889, allocations: 127.5 kB / 0.9896 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002812/0.2892, allocations: 213.3 kB / 0.9898 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.2892, allocations: 4 kB / 0.9898 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005514/0.2898, allocations: 324.5 kB / 0.9901 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.659e-05/0.2898, allocations: 67.39 kB / 0.9901 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.2899, allocations: 8.094 kB / 0.9901 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.2899, allocations: 7.984 kB / 0.9901 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.144e-05/0.29, allocations: 19.88 kB / 0.9902 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.29, allocations: 4 kB / 0.9902 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.2902, allocations: 27.83 kB / 0.9902 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.311e-05/0.2902, allocations: 11.98 kB / 0.9902 GB, free: 2.035 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 (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.0001341/0.2904, allocations: 151.9 kB / 0.9904 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.818e-05/0.2904, allocations: 15.81 kB / 0.9904 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002395/0.2906, allocations: 158.6 kB / 0.9905 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.2906, allocations: 4 kB / 0.9905 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2907, allocations: 0 / 0.9905 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/0.2907, allocations: 4.031 kB / 0.9905 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005983/0.2913, allocations: 490.1 kB / 0.991 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2913, allocations: 0 / 0.991 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.036e-05/0.2913, allocations: 8 kB / 0.991 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.2913, allocations: 4 kB / 0.991 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.2914, allocations: 4 kB / 0.991 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.2914, allocations: 4 kB / 0.991 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2914, allocations: 0 / 0.991 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005799/0.292, allocations: 0.8368 MB / 0.9918 GB, free: 256 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.059e-05/0.292, allocations: 100.8 kB / 0.9919 GB, free: 136 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.2921, allocations: 4 kB / 0.9919 GB, free: 132 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.829e-05/0.2922, allocations: 11.98 kB / 0.9919 GB, free: 120 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.814e-05/0.2922, allocations: 19.92 kB / 0.992 GB, free: 100 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/0.2923, allocations: 11.98 kB / 0.992 GB, free: 88 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001303/0.2924, allocations: 141.5 kB / 0.9921 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2924, allocations: 0 / 0.9921 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004016/0.2928, allocations: 47.91 kB / 0.9922 GB, free: 15.9 MB / 0.7292 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.0003452/0.2932, allocations: 184.3 kB / 0.9923 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003784/0.2936, allocations: 250.8 kB / 0.9926 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2936, allocations: 4.125 kB / 0.9926 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.741e-05/0.2937, allocations: 51.92 kB / 0.9926 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.2941, allocations: 51.95 kB / 0.9927 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000741/0.2948, allocations: 0.5038 MB / 0.9932 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.2952, allocations: 0.7361 MB / 0.9939 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.581e-05/0.2953, allocations: 33.91 kB / 0.9939 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.852e-05/0.2953, allocations: 23.38 kB / 0.9939 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of SimCode: time 2.11e-07/0.2953, allocations: 0 / 0.9939 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of Templates: time 0.00722/0.3025, allocations: 3.463 MB / 0.9973 GB, free: 10.55 MB / 0.7292 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)