Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter") translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.042/2.042, allocations: 391.2 MB / 407 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 195.4 kB / 499.1 MB, free: 4.688 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 222.9 MB / 0.7948 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009299/0.0009299, allocations: 107.6 kB / 0.9329 GB, free: 7.109 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001114, allocations: 53.03 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2088, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.002666/0.2115, allocations: 1.931 MB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0009439/0.2125, allocations: 0.6435 MB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.732e-05/0.2126, allocations: 0 / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001687/0.2128, allocations: 23.86 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002582/0.213, allocations: 91.66 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.2133, allocations: 139.8 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.2135, allocations: 207.5 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.2136, allocations: 45.47 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.664e-05/0.2137, allocations: 91.67 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01114/0.2248, allocations: 0.7409 MB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.896e-05/0.2249, allocations: 12 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.914e-05/0.225, allocations: 20 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 5.532e-05/0.225, allocations: 35.89 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 8.001e-05/0.2251, allocations: 79.56 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.2253, allocations: 199.3 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2253, allocations: 7.938 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2253, allocations: 0 / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.898e-06/0.2253, allocations: 0 / 1.222 GB, free: 113.2 MB / 0.823 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.0005647/0.2259, allocations: 0.5335 MB / 1.223 GB, free: 112.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 2.882e-05/0.2259, allocations: 11.98 kB / 1.223 GB, free: 112.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.611e-05/0.226, allocations: 20.75 kB / 1.223 GB, free: 112.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/0.2262, allocations: 252.3 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.2262, allocations: 19.98 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/0.2263, allocations: 12 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.2264, allocations: 95.34 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.2264, allocations: 0 / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.2264, allocations: 4 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.2265, allocations: 7.938 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.738e-05/0.2265, allocations: 47.97 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006133/0.2272, allocations: 472.4 kB / 1.224 GB, free: 111.6 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.2273, allocations: 74.55 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.002e-05/0.2273, allocations: 32.84 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.2274, allocations: 15.94 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001137/0.2275, allocations: 94.12 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of pre-optimization done (n=14): time 2.254e-06/0.2275, allocations: 0 / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=14): time 0.0002302/0.2277, allocations: 153.5 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.535e-05/0.2278, allocations: 55.39 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.2279, allocations: 190.2 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.2279, allocations: 29.7 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.482e-05/0.228, allocations: 128.4 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.929e-05/0.228, allocations: 39.48 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.637e-05/0.2281, allocations: 57.66 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.175e-05/0.2281, allocations: 326.8 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.909e-05/0.2282, allocations: 35.94 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/0.2283, allocations: 130.1 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.55e-05/0.2284, allocations: 101.1 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2284, allocations: 4 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001784/0.2286, allocations: 144.5 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.2286, allocations: 10.19 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.2287, allocations: 0 / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.2287, allocations: 7.938 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.244e-05/0.2288, allocations: 19.92 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.2288, allocations: 0 / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.2289, allocations: 27.98 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.229, allocations: 8 kB / 1.225 GB, free: 109.8 MB / 0.823 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 7.659e-05/0.229, allocations: 134.4 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.158e-05/0.2291, allocations: 15.81 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001634/0.2292, allocations: 131.1 kB / 1.226 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.2292, allocations: 4 kB / 1.226 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2293, allocations: 3.938 kB / 1.226 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2293, allocations: 3.938 kB / 1.226 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003639/0.2296, allocations: 458.2 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.2296, allocations: 4 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.369e-05/0.2297, allocations: 11.94 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2297, allocations: 3.938 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.2297, allocations: 3.984 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2297, allocations: 0 / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.2297, allocations: 4 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002915/0.23, allocations: 0.8165 MB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.746e-05/0.23, allocations: 88.92 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.2301, allocations: 4 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.046e-05/0.2302, allocations: 7.984 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.638e-05/0.2302, allocations: 19.92 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.2302, allocations: 7.984 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of sorting global known variables: time 7.101e-05/0.2303, allocations: 132.4 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2303, allocations: 4 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003529/0.2307, allocations: 47.89 kB / 1.227 GB, free: 107.8 MB / 0.823 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.0002366/0.2309, allocations: 167.6 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001556/0.2311, allocations: 87.91 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2311, allocations: 0 / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 6.331e-05/0.2312, allocations: 49.66 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.2315, allocations: 48.55 kB / 1.227 GB, free: 107.4 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004942/0.232, allocations: 475.6 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.2321, allocations: 0.7244 MB / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 5.926e-05/0.2322, allocations: 25.53 kB / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.2322, allocations: 23.44 kB / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of SimCode: time 2.5e-07/0.2322, allocations: 0 / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of Templates: time 0.004828/0.2371, allocations: 3.219 MB / 1.232 GB, free: 103 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1)