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.001061/0.001061, allocations: 108 kB / 15.6 MB, free: 132 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.001093/0.001093, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.296/1.296, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.656/1.656, allocations: 292.3 MB / 0.5489 GB, free: 13.54 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.001348/0.001348, allocations: 67.31 kB / 0.6715 GB, free: 25.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2199, allocations: 114.5 MB / 0.7834 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003076/0.2231, allocations: 1.763 MB / 0.7851 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001017/0.2241, allocations: 0.5938 MB / 0.7857 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.535e-05/0.2242, allocations: 0 / 0.7857 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001659/0.2244, allocations: 31.73 kB / 0.7857 GB, free: 11.2 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.0003319/0.2247, allocations: 115.4 kB / 0.7858 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000308/0.225, allocations: 147.7 kB / 0.7859 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002325/0.2253, allocations: 227.4 kB / 0.7862 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.2254, allocations: 37.53 kB / 0.7862 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.2255, allocations: 107.7 kB / 0.7863 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001932/0.2257, allocations: 123.5 kB / 0.7864 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.491e-05/0.2258, allocations: 16 kB / 0.7864 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001815/0.226, allocations: 115.9 kB / 0.7865 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.804e-05/0.226, allocations: 31.91 kB / 0.7866 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.2262, allocations: 95.5 kB / 0.7867 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003327/0.2265, allocations: 275.5 kB / 0.7869 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2265, allocations: 3.938 kB / 0.7869 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2265, allocations: 0 / 0.7869 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.2266, allocations: 0 / 0.7869 GB, free: 9.93 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.0007688/0.2273, allocations: 0.5569 MB / 0.7875 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.2274, allocations: 8.031 kB / 0.7875 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.89e-05/0.2274, allocations: 20.75 kB / 0.7875 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.2277, allocations: 247.6 kB / 0.7877 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.2277, allocations: 8 kB / 0.7877 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.72e-05/0.2278, allocations: 16 kB / 0.7878 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.228, allocations: 104 kB / 0.7879 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.228, allocations: 0 / 0.7879 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.228, allocations: 12 kB / 0.7879 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.228, allocations: 3.938 kB / 0.7879 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.2281, allocations: 59.91 kB / 0.7879 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007749/0.2289, allocations: 464.4 kB / 0.7884 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.2291, allocations: 78.55 kB / 0.7884 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.002e-05/0.2292, allocations: 32.84 kB / 0.7885 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.2292, allocations: 0 / 0.7885 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002014/0.2294, allocations: 106.4 kB / 0.7886 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.733e-06/0.2294, allocations: 4 kB / 0.7886 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0003081/0.2297, allocations: 145.6 kB / 0.7887 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.2298, allocations: 55.41 kB / 0.7888 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/0.23, allocations: 192.2 kB / 0.789 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/0.23, allocations: 33.7 kB / 0.789 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.131e-05/0.2301, allocations: 124.4 kB / 0.7891 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.517e-05/0.2301, allocations: 35.53 kB / 0.7891 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.57e-05/0.2302, allocations: 49.69 kB / 0.7892 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.2304, allocations: 334.8 kB / 0.7895 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.425e-05/0.2304, allocations: 31.98 kB / 0.7895 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.2307, allocations: 124.4 kB / 0.7897 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.2308, allocations: 109.1 kB / 0.7898 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.2308, allocations: 0 / 0.7898 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002307/0.231, allocations: 153.3 kB / 0.7899 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.2311, allocations: 8.156 kB / 0.7899 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.2311, allocations: 4 kB / 0.7899 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.2311, allocations: 7.938 kB / 0.7899 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.063e-05/0.2312, allocations: 15.94 kB / 0.7899 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.2312, allocations: 4.203 kB / 0.7899 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.2314, allocations: 23.84 kB / 0.79 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.2314, allocations: 7.938 kB / 0.79 GB, free: 6.52 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.0001133/0.2315, allocations: 133.8 kB / 0.7901 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.2316, allocations: 15.81 kB / 0.7901 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002123/0.2318, allocations: 134.4 kB / 0.7902 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.2318, allocations: 4 kB / 0.7903 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.2318, allocations: 0 / 0.7903 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2318, allocations: 0 / 0.7903 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000516/0.2323, allocations: 462.2 kB / 0.7907 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.2324, allocations: 3.984 kB / 0.7907 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.815e-05/0.2324, allocations: 15.94 kB / 0.7907 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.2324, allocations: 8 kB / 0.7907 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.2324, allocations: 0 / 0.7907 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.2324, allocations: 3.984 kB / 0.7907 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.2324, allocations: 4 kB / 0.7907 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002071/0.2327, allocations: 211.3 kB / 0.7909 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.108e-05/0.2327, allocations: 88.92 kB / 0.791 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.038e-05/0.2328, allocations: 11.98 kB / 0.791 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.2329, allocations: 8 kB / 0.791 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.592e-05/0.2329, allocations: 15.97 kB / 0.791 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.2329, allocations: 8 kB / 0.7911 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001111/0.2331, allocations: 148.1 kB / 0.7912 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2331, allocations: 0 / 0.7912 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003532/0.2334, allocations: 67.98 kB / 0.7913 GB, free: 5.094 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.0004352/0.2339, allocations: 236.1 kB / 0.7915 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002164/0.2341, allocations: 107.9 kB / 0.7916 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2341, allocations: 0 / 0.7916 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.373e-05/0.2342, allocations: 43.92 kB / 0.7916 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.2346, allocations: 54.08 kB / 0.7917 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005449/0.2352, allocations: 291.3 kB / 0.792 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.2354, allocations: 0.7202 MB / 0.7927 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.263e-05/0.2355, allocations: 21.53 kB / 0.7927 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.714e-05/0.2355, allocations: 31.36 kB / 0.7927 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of SimCode: time 2.91e-07/0.2356, allocations: 0 / 0.7927 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of Templates: time 0.007323/0.2429, allocations: 3.788 MB / 0.7964 GB, free: 15.84 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)