Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.418/1.418, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001072/0.001072, allocations: 176.1 kB / 327.6 MB, free: 2.098 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.572/1.572, allocations: 205.4 MB / 0.5786 GB, free: 20.17 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007968/0.0007968, allocations: 86.3 kB / 0.6832 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003019/0.000302, allocations: 8.75 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.1828, allocations: 106.3 MB / 0.9015 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.003796/0.1867, allocations: 3.724 MB / 0.9051 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002621/0.1893, allocations: 1.571 MB / 0.9066 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003012/0.1897, allocations: 12 kB / 0.9066 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003037/0.19, allocations: 63.48 kB / 0.9067 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000678/0.1907, allocations: 219 kB / 0.9069 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005812/0.1913, allocations: 195.7 kB / 0.9071 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006876/0.192, allocations: 0.7752 MB / 0.9079 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004752/0.1925, allocations: 446.4 kB / 0.9083 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002689/0.1928, allocations: 183.3 kB / 0.9085 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004072/0.1932, allocations: 235.2 kB / 0.9087 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.183e-05/0.1932, allocations: 24 kB / 0.9087 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003274/0.1936, allocations: 191.5 kB / 0.9089 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.1937, allocations: 127.6 kB / 0.909 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001676/0.1939, allocations: 208.8 kB / 0.9092 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003515/0.1942, allocations: 399.3 kB / 0.9096 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1942, allocations: 0 / 0.9096 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1942, allocations: 0 / 0.9096 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.1943, allocations: 0 / 0.9096 GB, free: 55.1 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0009485/0.1952, allocations: 0.6255 MB / 0.9102 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.1953, allocations: 8.031 kB / 0.9102 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007699/0.196, allocations: 116.4 kB / 0.9103 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/0.1964, allocations: 295.6 kB / 0.9106 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.587e-05/0.1965, allocations: 55.2 kB / 0.9106 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.381e-05/0.1966, allocations: 28.38 kB / 0.9107 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007734/0.1974, allocations: 0.5165 MB / 0.9112 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.1974, allocations: 0 / 0.9112 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.962e-05/0.1974, allocations: 12 kB / 0.9112 GB, free: 53.33 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.684e-05/0.1975, allocations: 36.92 kB / 0.9112 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006445/0.1981, allocations: 387.7 kB / 0.9116 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002113/0.2003, allocations: 2.224 MB / 0.9138 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006451/0.2009, allocations: 262.7 kB / 0.914 GB, free: 50.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003248/0.2013, allocations: 156.8 kB / 0.9142 GB, free: 50.04 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/0.2013, allocations: 4 kB / 0.9142 GB, free: 50.04 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.2013, allocations: 38.5 kB / 0.9142 GB, free: 49.99 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=19): time 1.312e-06/0.2013, allocations: 4 kB / 0.9142 GB, free: 49.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.001343/0.2027, allocations: 0.5841 MB / 0.9148 GB, free: 49.35 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.357e-05/0.2027, allocations: 59.39 kB / 0.9148 GB, free: 49.28 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.2029, allocations: 225 kB / 0.9151 GB, free: 49.05 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.2029, allocations: 33.7 kB / 0.9151 GB, free: 49.01 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.408e-05/0.203, allocations: 215.6 kB / 0.9153 GB, free: 48.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.582e-05/0.2031, allocations: 67.03 kB / 0.9154 GB, free: 48.73 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.261e-05/0.2031, allocations: 4 kB / 0.9154 GB, free: 48.73 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.412e-05/0.2031, allocations: 330.8 kB / 0.9157 GB, free: 48.39 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/0.2033, allocations: 95.94 kB / 0.9158 GB, free: 48.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002411/0.2036, allocations: 183.1 kB / 0.9159 GB, free: 48.08 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004173/0.204, allocations: 283.4 kB / 0.9162 GB, free: 47.77 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.204, allocations: 0 / 0.9162 GB, free: 47.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000756/0.2048, allocations: 394.8 kB / 0.9166 GB, free: 47.38 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.902e-05/0.2049, allocations: 159.2 kB / 0.9167 GB, free: 47.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.2049, allocations: 4 kB / 0.9167 GB, free: 47.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004542/0.2053, allocations: 121.5 kB / 0.9169 GB, free: 47.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/0.2055, allocations: 47.92 kB / 0.9169 GB, free: 47.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002319/0.2079, allocations: 2.825 MB / 0.9197 GB, free: 43.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002363/0.2081, allocations: 31.75 kB / 0.9197 GB, free: 43.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.2081, allocations: 15.92 kB / 0.9197 GB, free: 43.87 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.161e-06/0.2082, allocations: 4 kB / 0.9197 GB, free: 43.86 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006625/0.2088, allocations: 316.4 kB / 0.92 GB, free: 43.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2088, allocations: 4 kB / 0.92 GB, free: 43.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002663/0.2091, allocations: 77 kB / 0.9201 GB, free: 43.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.2093, allocations: 59.91 kB / 0.9202 GB, free: 43.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/0.2108, allocations: 1.506 MB / 0.9216 GB, free: 41.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002131/0.211, allocations: 31.83 kB / 0.9217 GB, free: 41.74 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.211, allocations: 8 kB / 0.9217 GB, free: 41.73 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001679/0.2112, allocations: 253.1 kB / 0.9219 GB, free: 41.47 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.224e-05/0.2113, allocations: 19.86 kB / 0.9219 GB, free: 41.45 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.048e-05/0.2113, allocations: 38.16 kB / 0.922 GB, free: 41.42 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.2113, allocations: 3.938 kB / 0.922 GB, free: 41.41 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.2113, allocations: 0 / 0.922 GB, free: 41.41 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.2113, allocations: 0 / 0.922 GB, free: 41.41 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.2125, allocations: 0.8443 MB / 0.9228 GB, free: 40.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.2125, allocations: 0 / 0.9228 GB, free: 40.49 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/0.2126, allocations: 31.98 kB / 0.9228 GB, free: 40.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00034/0.213, allocations: 105.7 kB / 0.9229 GB, free: 40.35 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.213, allocations: 4 kB / 0.9229 GB, free: 40.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001999/0.215, allocations: 2.81 MB / 0.9257 GB, free: 37.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.215, allocations: 4.219 kB / 0.9257 GB, free: 37.27 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007083/0.2158, allocations: 426.2 kB / 0.9261 GB, free: 36.82 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.232e-05/0.2159, allocations: 116.7 kB / 0.9262 GB, free: 36.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.2159, allocations: 8 kB / 0.9262 GB, free: 36.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.2161, allocations: 11.98 kB / 0.9262 GB, free: 36.67 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.286e-05/0.2161, allocations: 31.84 kB / 0.9262 GB, free: 36.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.2162, allocations: 8 kB / 0.9262 GB, free: 36.63 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001095/0.2163, allocations: 160.5 kB / 0.9264 GB, free: 36.48 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2163, allocations: 0 / 0.9264 GB, free: 36.48 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005442/0.2168, allocations: 167.4 kB / 0.9266 GB, free: 36.32 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 9.27e-05/0.2169, allocations: 99.23 kB / 0.9267 GB, free: 36.21 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001636/0.2186, allocations: 0.7689 MB / 0.9274 GB, free: 35.41 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.2186, allocations: 4.125 kB / 0.9274 GB, free: 35.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000655/0.2193, allocations: 377.1 kB / 0.9278 GB, free: 35.01 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000441/0.2197, allocations: 59.8 kB / 0.9278 GB, free: 34.95 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008819/0.2206, allocations: 0.7768 MB / 0.9286 GB, free: 34.14 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/0.2208, allocations: 0.8068 MB / 0.9294 GB, free: 33.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.106e-05/0.2209, allocations: 23.44 kB / 0.9294 GB, free: 33.28 MB / 0.6042 GB Notification: Performance of SimCode: time 3.51e-07/0.2209, allocations: 0 / 0.9294 GB, free: 33.28 MB / 0.6042 GB Notification: Performance of Templates: time 0.006737/0.2277, allocations: 6.111 MB / 0.9354 GB, free: 27.18 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)