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.00119/0.00119, 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.001152/0.001152, allocations: 190.8 kB / 16.63 MB, free: 6.438 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.321/1.321, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.672/1.672, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001372/0.001372, allocations: 69.73 kB / 0.6722 GB, free: 25.94 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2167, allocations: 114.6 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003759/0.2205, allocations: 1.77 MB / 0.7859 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001237/0.2218, allocations: 0.5937 MB / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.671e-05/0.222, allocations: 0 / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002035/0.2222, allocations: 31.72 kB / 0.7865 GB, free: 10.33 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.0003807/0.2226, allocations: 119.4 kB / 0.7866 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003231/0.2229, allocations: 147.1 kB / 0.7867 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002765/0.2232, allocations: 223.5 kB / 0.7869 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.2233, allocations: 45.53 kB / 0.787 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.2234, allocations: 95.73 kB / 0.7871 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002645/0.2237, allocations: 131.5 kB / 0.7872 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.575e-05/0.2237, allocations: 16 kB / 0.7872 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001948/0.2239, allocations: 131.8 kB / 0.7873 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.475e-05/0.224, allocations: 47.81 kB / 0.7874 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.536e-05/0.2241, allocations: 83.58 kB / 0.7875 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000333/0.2245, allocations: 275.2 kB / 0.7877 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.2245, allocations: 4 kB / 0.7877 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2245, allocations: 0 / 0.7877 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.2245, allocations: 0 / 0.7877 GB, free: 9.043 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0008385/0.2253, allocations: 0.5646 MB / 0.7883 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.2254, allocations: 8.031 kB / 0.7883 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.455e-05/0.2255, allocations: 20.75 kB / 0.7883 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002859/0.2258, allocations: 243.6 kB / 0.7885 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.2258, allocations: 8 kB / 0.7885 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.403e-05/0.2258, allocations: 16 kB / 0.7886 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.226, allocations: 93.59 kB / 0.7886 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.226, allocations: 4 kB / 0.7886 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.226, allocations: 8 kB / 0.7887 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.2261, allocations: 3.938 kB / 0.7887 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.2262, allocations: 59.97 kB / 0.7887 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008397/0.227, allocations: 472.4 kB / 0.7892 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.2272, allocations: 78.5 kB / 0.7892 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.082e-05/0.2273, allocations: 33.06 kB / 0.7893 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.2273, allocations: 3.938 kB / 0.7893 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001797/0.2275, allocations: 103.2 kB / 0.7894 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.2275, allocations: 0 / 0.7894 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0003006/0.2278, allocations: 149.6 kB / 0.7895 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.2278, allocations: 55.41 kB / 0.7896 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.228, allocations: 192 kB / 0.7898 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.2281, allocations: 33.7 kB / 0.7898 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.958e-05/0.2282, allocations: 124.4 kB / 0.7899 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.2282, allocations: 35.55 kB / 0.7899 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.146e-05/0.2283, allocations: 53.67 kB / 0.79 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.2284, allocations: 326.8 kB / 0.7903 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.102e-05/0.2285, allocations: 31.98 kB / 0.7903 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002229/0.2287, allocations: 132.4 kB / 0.7905 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.2289, allocations: 112.5 kB / 0.7906 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.2289, allocations: 0 / 0.7906 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002417/0.2291, allocations: 149.4 kB / 0.7907 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.2291, allocations: 4 kB / 0.7907 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.2291, allocations: 4 kB / 0.7907 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.2292, allocations: 8.094 kB / 0.7907 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.505e-05/0.2293, allocations: 23.92 kB / 0.7907 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.2293, allocations: 0 / 0.7907 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/0.2295, allocations: 27.83 kB / 0.7908 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.2295, allocations: 4 kB / 0.7908 GB, free: 5.625 MB / 0.6075 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 0.0001387/0.2296, allocations: 129.8 kB / 0.7909 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.2297, allocations: 15.81 kB / 0.7909 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002187/0.2299, allocations: 127.1 kB / 0.791 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2299, allocations: 8 kB / 0.791 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2299, allocations: 0 / 0.791 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.2299, allocations: 0 / 0.791 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005302/0.2305, allocations: 466.1 kB / 0.7915 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.2305, allocations: 0 / 0.7915 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.057e-05/0.2305, allocations: 15.92 kB / 0.7915 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2305, allocations: 4 kB / 0.7915 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.2305, allocations: 0 / 0.7915 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2305, allocations: 0 / 0.7915 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.2306, allocations: 4 kB / 0.7915 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.2308, allocations: 217.9 kB / 0.7917 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.339e-05/0.2308, allocations: 88.92 kB / 0.7918 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.2309, allocations: 8 kB / 0.7918 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.231, allocations: 11.92 kB / 0.7918 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.882e-05/0.2311, allocations: 15.98 kB / 0.7918 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.2311, allocations: 4 kB / 0.7918 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001192/0.2312, allocations: 148.1 kB / 0.792 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2312, allocations: 0 / 0.792 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003497/0.2316, allocations: 71.98 kB / 0.7921 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: 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.0004351/0.232, allocations: 227.4 kB / 0.7923 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002156/0.2323, allocations: 99.47 kB / 0.7924 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.2323, allocations: 4.25 kB / 0.7924 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.104e-05/0.2323, allocations: 47.92 kB / 0.7924 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003713/0.2327, allocations: 54.92 kB / 0.7925 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005632/0.2333, allocations: 287 kB / 0.7927 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.2336, allocations: 0.7202 MB / 0.7934 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.518e-05/0.2337, allocations: 29.52 kB / 0.7935 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.116e-05/0.2337, allocations: 23.42 kB / 0.7935 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.2337, allocations: 0 / 0.7935 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of Templates: time 0.00726/0.241, allocations: 3.783 MB / 0.7972 GB, free: 14.96 MB / 0.6231 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 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1)