Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Utilities.Plotters.Examples.Scatter") translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.005032/0.005036, allocations: 101.3 kB / 15.73 MB, free: 6.047 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.001228/0.001228, allocations: 188.6 kB / 16.67 MB, free: 5.98 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.208/1.208, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.252/1.252, allocations: 251.7 MB / 0.5094 GB, free: 428 kB / 430.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.001304/0.001304, allocations: 79.89 kB / 0.7257 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4914/0.4927, allocations: 104.7 MB / 0.828 GB, free: 2.652 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.002934/0.4957, allocations: 1.777 MB / 0.8297 GB, free: 0.8555 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.4968, allocations: 0.6005 MB / 0.8303 GB, free: 260 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.474e-05/0.4969, allocations: 0 / 0.8303 GB, free: 260 kB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001804/0.4971, allocations: 31.72 kB / 0.8304 GB, free: 228 kB / 0.6231 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.0003282/0.4974, allocations: 111.5 kB / 0.8305 GB, free: 116 kB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.000315/0.4978, allocations: 155.2 kB / 0.8306 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002683/0.498, allocations: 227.4 kB / 0.8308 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.4982, allocations: 33.55 kB / 0.8309 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.4983, allocations: 103.7 kB / 0.831 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001805/0.4985, allocations: 119.5 kB / 0.8311 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.482e-05/0.4985, allocations: 16 kB / 0.8311 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001802/0.4987, allocations: 143.8 kB / 0.8312 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 6.239e-05/0.4988, allocations: 31.91 kB / 0.8313 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 9.712e-05/0.4989, allocations: 95.5 kB / 0.8313 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003391/0.4992, allocations: 282.8 kB / 0.8316 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.4992, allocations: 0 / 0.8316 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.272e-06/0.4992, allocations: 0 / 0.8316 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.4992, allocations: 0 / 0.8316 GB, free: 14.93 MB / 0.6387 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.0007537/0.5, allocations: 0.5513 MB / 0.8322 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.5, allocations: 12.03 kB / 0.8322 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.557e-05/0.5001, allocations: 24.67 kB / 0.8322 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.5004, allocations: 244.8 kB / 0.8324 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.5004, allocations: 11.94 kB / 0.8324 GB, free: 14 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.641e-05/0.5005, allocations: 16 kB / 0.8324 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.5006, allocations: 95.7 kB / 0.8325 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.5007, allocations: 3.984 kB / 0.8325 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.5007, allocations: 8 kB / 0.8326 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.5007, allocations: 3.938 kB / 0.8326 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.5008, allocations: 55.97 kB / 0.8326 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007698/0.5016, allocations: 468.3 kB / 0.8331 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.5017, allocations: 78.48 kB / 0.8331 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.071e-05/0.5018, allocations: 36.84 kB / 0.8332 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.5018, allocations: 0 / 0.8332 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002213/0.502, allocations: 107.3 kB / 0.8333 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.502, allocations: 0 / 0.8333 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of matching and sorting (n=14): time 0.0002916/0.5023, allocations: 141.6 kB / 0.8334 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.5024, allocations: 55.41 kB / 0.8335 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.5026, allocations: 195.1 kB / 0.8336 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.868e-05/0.5026, allocations: 33.7 kB / 0.8337 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 8.221e-05/0.5027, allocations: 120.4 kB / 0.8338 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.5027, allocations: 39.55 kB / 0.8338 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.279e-05/0.5028, allocations: 49.69 kB / 0.8339 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.5029, allocations: 330.8 kB / 0.8342 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.787e-05/0.503, allocations: 31.92 kB / 0.8342 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002252/0.5032, allocations: 128.5 kB / 0.8343 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.5034, allocations: 105.2 kB / 0.8344 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.5034, allocations: 3.984 kB / 0.8344 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002246/0.5036, allocations: 148.4 kB / 0.8346 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.5036, allocations: 4 kB / 0.8346 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.5037, allocations: 4 kB / 0.8346 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.5037, allocations: 3.938 kB / 0.8346 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.834e-05/0.5038, allocations: 27.92 kB / 0.8346 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.5038, allocations: 0 / 0.8346 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.504, allocations: 23.83 kB / 0.8346 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.504, allocations: 8 kB / 0.8347 GB, free: 11.54 MB / 0.6387 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.0001231/0.5041, allocations: 137.7 kB / 0.8348 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.5042, allocations: 15.81 kB / 0.8348 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002165/0.5044, allocations: 135 kB / 0.8349 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.5044, allocations: 8 kB / 0.8349 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.5044, allocations: 0 / 0.8349 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.5044, allocations: 0 / 0.8349 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005369/0.5049, allocations: 454.2 kB / 0.8354 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.505, allocations: 4 kB / 0.8354 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.714e-05/0.505, allocations: 11.94 kB / 0.8354 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.505, allocations: 0 / 0.8354 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.505, allocations: 7.984 kB / 0.8354 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.505, allocations: 0 / 0.8354 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.505, allocations: 0 / 0.8354 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002032/0.5053, allocations: 215.3 kB / 0.8356 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.201e-05/0.5053, allocations: 96.84 kB / 0.8357 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.5053, allocations: 4 kB / 0.8357 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.341e-05/0.5054, allocations: 8 kB / 0.8357 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.73e-05/0.5055, allocations: 19.97 kB / 0.8357 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.5055, allocations: 4 kB / 0.8357 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001031/0.5056, allocations: 135.2 kB / 0.8359 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.753e-06/0.5057, allocations: 0 / 0.8359 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003469/0.506, allocations: 83.77 kB / 0.8359 GB, free: 10.12 MB / 0.6387 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.0004367/0.5065, allocations: 240.4 kB / 0.8362 GB, free: 9.914 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002106/0.5067, allocations: 95.34 kB / 0.8363 GB, free: 9.824 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5067, allocations: 0 / 0.8363 GB, free: 9.824 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 7.299e-05/0.5068, allocations: 43.92 kB / 0.8363 GB, free: 9.781 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.5071, allocations: 35.97 kB / 0.8363 GB, free: 9.746 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006816/0.5078, allocations: 307 kB / 0.8366 GB, free: 9.426 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.5081, allocations: 0.7163 MB / 0.8373 GB, free: 8.684 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 7.208e-05/0.5082, allocations: 21.53 kB / 0.8373 GB, free: 8.664 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.02e-05/0.5083, allocations: 27.42 kB / 0.8374 GB, free: 8.637 MB / 0.6387 GB Notification: Performance of SimCode: time 2.5e-07/0.5083, allocations: 3.938 kB / 0.8374 GB, free: 8.633 MB / 0.6387 GB Notification: Performance of Templates: time 0.007465/0.5157, allocations: 3.813 MB / 0.8411 GB, free: 4.859 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.Scatter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.Scatter.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1)