Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter.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.Scatter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter") translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009816/0.0009817, allocations: 105 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.0009799/0.0009799, allocations: 195.5 kB / 17.3 MB, free: 5.801 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.424/1.424, 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.788/1.788, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.001418/0.001418, allocations: 71.89 kB / 0.6729 GB, free: 5.887 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2115, allocations: 114.5 MB / 0.7848 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.002977/0.2145, allocations: 1.778 MB / 0.7865 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009921/0.2155, allocations: 0.5928 MB / 0.7871 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.305e-05/0.2156, allocations: 8 kB / 0.7871 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001811/0.2158, allocations: 27.67 kB / 0.7871 GB, free: 0.793 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.0003298/0.2161, allocations: 123.4 kB / 0.7872 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003091/0.2164, allocations: 143.7 kB / 0.7874 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002352/0.2167, allocations: 223.5 kB / 0.7876 GB, free: 320 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.2168, allocations: 41.48 kB / 0.7876 GB, free: 280 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.2169, allocations: 103.7 kB / 0.7877 GB, free: 176 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001972/0.2171, allocations: 123.5 kB / 0.7878 GB, free: 52 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.361e-05/0.2172, allocations: 16 kB / 0.7879 GB, free: 36 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3534/0.5705, allocations: 134.3 kB / 0.788 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.5707, allocations: 37.44 kB / 0.788 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001575/0.5709, allocations: 90.19 kB / 0.7881 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004503/0.5713, allocations: 281.7 kB / 0.7884 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.5713, allocations: 1.375 kB / 0.7884 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.365e-06/0.5713, allocations: 0 / 0.7884 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.974e-06/0.5714, allocations: 0 / 0.7884 GB, free: 47.32 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0007562/0.5721, allocations: 0.5508 MB / 0.7889 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.5722, allocations: 13.92 kB / 0.7889 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.039e-05/0.5722, allocations: 17.94 kB / 0.7889 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002411/0.5725, allocations: 246.2 kB / 0.7892 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.5725, allocations: 16.05 kB / 0.7892 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.594e-05/0.5726, allocations: 16.06 kB / 0.7892 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.5727, allocations: 93.17 kB / 0.7893 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.5727, allocations: 0 / 0.7893 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.5728, allocations: 3.062 kB / 0.7893 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.5728, allocations: 5.609 kB / 0.7893 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.5729, allocations: 58.22 kB / 0.7894 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000714/0.5736, allocations: 470.9 kB / 0.7898 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.5738, allocations: 76.2 kB / 0.7899 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.06e-05/0.5738, allocations: 36.23 kB / 0.7899 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.5738, allocations: 2.891 kB / 0.7899 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00021/0.5741, allocations: 104.5 kB / 0.79 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=14): time 1.663e-06/0.5741, allocations: 0 / 0.79 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.0003082/0.5744, allocations: 139.1 kB / 0.7902 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.5744, allocations: 61.58 kB / 0.7902 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.5746, allocations: 191.2 kB / 0.7904 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/0.5746, allocations: 33.11 kB / 0.7904 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.423e-05/0.5747, allocations: 123.9 kB / 0.7905 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.892e-05/0.5747, allocations: 35.53 kB / 0.7906 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.343e-05/0.5748, allocations: 58.86 kB / 0.7906 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.133e-05/0.5749, allocations: 326.2 kB / 0.7909 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.262e-05/0.575, allocations: 32.45 kB / 0.791 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002189/0.5752, allocations: 134.2 kB / 0.7911 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.5753, allocations: 105 kB / 0.7912 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.5754, allocations: 0 / 0.7912 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002241/0.5756, allocations: 148.3 kB / 0.7913 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.5756, allocations: 7.875 kB / 0.7914 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.5756, allocations: 1.375 kB / 0.7914 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.5756, allocations: 2.625 kB / 0.7914 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.538e-05/0.5757, allocations: 19.55 kB / 0.7914 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.5758, allocations: 7.281 kB / 0.7914 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/0.5759, allocations: 27.75 kB / 0.7914 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.576, allocations: 5.25 kB / 0.7914 GB, free: 45.37 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (sca1.sampleTrigger,sca1.tActivateLast,$PRE.sca1.tActivateLast,sca1.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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 9.378e-05/0.5761, allocations: 137.5 kB / 0.7915 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/0.5761, allocations: 15.91 kB / 0.7916 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001877/0.5763, allocations: 131.2 kB / 0.7917 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.5763, allocations: 3.781 kB / 0.7917 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.5763, allocations: 4.531 kB / 0.7917 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.5763, allocations: 1.25 kB / 0.7917 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004328/0.5768, allocations: 459.1 kB / 0.7921 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.5768, allocations: 1.125 kB / 0.7921 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.543e-05/0.5768, allocations: 12 kB / 0.7921 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.5768, allocations: 3.656 kB / 0.7921 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.709e-06/0.5768, allocations: 6.844 kB / 0.7922 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.5768, allocations: 3.969 kB / 0.7922 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.5769, allocations: 0 / 0.7922 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.577, allocations: 216.3 kB / 0.7924 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.062e-05/0.5771, allocations: 93.5 kB / 0.7925 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/0.5771, allocations: 2.375 kB / 0.7925 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.5772, allocations: 9.062 kB / 0.7925 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.013e-05/0.5773, allocations: 20.73 kB / 0.7925 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.5773, allocations: 11.39 kB / 0.7925 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.842e-05/0.5774, allocations: 136.6 kB / 0.7926 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5774, allocations: 1.781 kB / 0.7926 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003394/0.5777, allocations: 72.5 kB / 0.7927 GB, free: 44.56 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: 11 (sca1.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,sca1.active,sca1.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004397/0.5782, allocations: 224.1 kB / 0.7929 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002017/0.5784, allocations: 94.7 kB / 0.793 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.5784, allocations: 2.625 kB / 0.793 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.657e-05/0.5785, allocations: 41.73 kB / 0.793 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.5789, allocations: 55.02 kB / 0.7931 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005395/0.5794, allocations: 295.8 kB / 0.7934 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/0.5796, allocations: 0.7173 MB / 0.7941 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.358e-05/0.5797, allocations: 25.89 kB / 0.7941 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.595e-05/0.5797, allocations: 24.69 kB / 0.7941 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of SimCode: time 2.91e-07/0.5797, allocations: 2.625 kB / 0.7941 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of Templates: time 0.007099/0.5868, allocations: 3.803 MB / 0.7978 GB, free: 43.37 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter.makefile (rm -f Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter.sim & ./Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1)