Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries") translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.313/2.313, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001302/0.001301, allocations: 183.8 kB / 325.8 MB, free: 2.766 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.391/2.391, allocations: 205.4 MB / 0.5767 GB, free: 20.74 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009843/0.0009839, allocations: 88.5 kB / 0.6812 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000689/0.0006893, allocations: 12.03 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2111, allocations: 106.3 MB / 0.899 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002836/0.214, allocations: 1.536 MB / 0.9005 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002339/0.2164, allocations: 0.6395 MB / 0.9012 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002073/0.2167, allocations: 7.938 kB / 0.9012 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003028/0.217, allocations: 23.8 kB / 0.9012 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000711/0.2177, allocations: 99.58 kB / 0.9013 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008103/0.2186, allocations: 153.8 kB / 0.9014 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004186/0.219, allocations: 203.4 kB / 0.9016 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002177/0.2193, allocations: 29.67 kB / 0.9016 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002394/0.2195, allocations: 91.67 kB / 0.9017 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008056/0.2276, allocations: 2.489 MB / 0.9042 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.421e-05/0.2277, allocations: 8 kB / 0.9042 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/0.2279, allocations: 27.94 kB / 0.9042 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.571e-05/0.228, allocations: 35.89 kB / 0.9042 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.553e-05/0.2281, allocations: 53.58 kB / 0.9043 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.2283, allocations: 143.6 kB / 0.9044 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.2284, allocations: 4 kB / 0.9044 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.194e-06/0.2284, allocations: 0 / 0.9044 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.2284, allocations: 0 / 0.9044 GB, free: 59.84 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.0008428/0.2293, allocations: 0.5176 MB / 0.9049 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.2293, allocations: 12.03 kB / 0.9049 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.273e-05/0.2294, allocations: 20.75 kB / 0.905 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003849/0.2298, allocations: 244 kB / 0.9052 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.766e-05/0.2299, allocations: 16.36 kB / 0.9052 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.517e-05/0.2299, allocations: 24.12 kB / 0.9052 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002687/0.2302, allocations: 107.6 kB / 0.9053 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.2302, allocations: 0 / 0.9053 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.2303, allocations: 0 / 0.9053 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.2303, allocations: 8 kB / 0.9053 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000177/0.2305, allocations: 59.97 kB / 0.9054 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/0.2316, allocations: 0.4884 MB / 0.9059 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003557/0.232, allocations: 106.7 kB / 0.906 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.892e-05/0.2321, allocations: 40.78 kB / 0.906 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.2321, allocations: 4 kB / 0.906 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002038/0.2323, allocations: 111.2 kB / 0.9061 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 2.374e-06/0.2324, allocations: 0 / 0.9061 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16): time 0.0004758/0.2328, allocations: 171.7 kB / 0.9063 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.2329, allocations: 63.41 kB / 0.9064 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002307/0.2331, allocations: 200.4 kB / 0.9065 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.305e-05/0.2332, allocations: 37.7 kB / 0.9066 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.608e-05/0.2333, allocations: 120.5 kB / 0.9067 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.98e-05/0.2333, allocations: 43.45 kB / 0.9067 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.508e-05/0.2334, allocations: 4 kB / 0.9067 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.335e-05/0.2335, allocations: 330.8 kB / 0.9071 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002478/0.2337, allocations: 67.89 kB / 0.9071 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003049/0.234, allocations: 128.5 kB / 0.9072 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002855/0.2343, allocations: 127.4 kB / 0.9074 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.2344, allocations: 4.031 kB / 0.9074 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008208/0.2352, allocations: 327.5 kB / 0.9077 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.65e-05/0.2353, allocations: 69.42 kB / 0.9077 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.2353, allocations: 7.922 kB / 0.9078 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.2353, allocations: 7.938 kB / 0.9078 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.2355, allocations: 19.92 kB / 0.9078 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.2355, allocations: 4 kB / 0.9078 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003395/0.2358, allocations: 31.98 kB / 0.9078 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.766e-05/0.2359, allocations: 15.98 kB / 0.9078 GB, free: 56.06 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 ($PRE.timSer1.timeConverted,timSer1.timeConverted,$PRE.timSer.timeConverted,timSer.timeConverted,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,timSer.active,$PRE.timSer.tActivateLast,timSer.tActivateLast,timSer.sampleTrigger,timSer1.active,$PRE.timSer1.tActivateLast,timSer1.tActivateLast,timSer1.sampleTrigger,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001594/0.2361, allocations: 140 kB / 0.908 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.971e-05/0.2361, allocations: 23.8 kB / 0.908 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00035/0.2365, allocations: 143.4 kB / 0.9081 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.2365, allocations: 4 kB / 0.9081 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.2365, allocations: 0 / 0.9081 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.2365, allocations: 0 / 0.9081 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007518/0.2373, allocations: 0.4964 MB / 0.9086 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.2373, allocations: 0 / 0.9086 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.145e-05/0.2374, allocations: 4 kB / 0.9086 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.2374, allocations: 0 / 0.9086 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.2374, allocations: 8 kB / 0.9086 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.2374, allocations: 0 / 0.9086 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.2374, allocations: 4 kB / 0.9086 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002899/0.2377, allocations: 239.2 kB / 0.9089 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.318e-05/0.2378, allocations: 96.86 kB / 0.9089 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.432e-05/0.2379, allocations: 0 / 0.9089 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.238, allocations: 15.98 kB / 0.909 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.744e-05/0.2381, allocations: 19.91 kB / 0.909 GB, free: 54.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.319e-05/0.2382, allocations: 8 kB / 0.909 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000153/0.2383, allocations: 145.5 kB / 0.9091 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.51e-07/0.2384, allocations: 0 / 0.9091 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004594/0.2388, allocations: 51.89 kB / 0.9092 GB, free: 54.58 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004303/0.2393, allocations: 169.7 kB / 0.9093 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005555/0.2398, allocations: 246.1 kB / 0.9096 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2399, allocations: 3.938 kB / 0.9096 GB, free: 54.15 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.24, allocations: 55.91 kB / 0.9096 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006455/0.2406, allocations: 59.39 kB / 0.9097 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008794/0.2415, allocations: 346.6 kB / 0.91 GB, free: 53.67 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000196/0.2418, allocations: 0.7206 MB / 0.9107 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001415/0.2419, allocations: 37.91 kB / 0.9108 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.411e-05/0.242, allocations: 19.44 kB / 0.9108 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of SimCode: time 9.72e-07/0.242, allocations: 0 / 0.9108 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of Templates: time 0.009819/0.2518, allocations: 3.241 MB / 0.9139 GB, free: 49.66 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_7.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1)