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.345/1.345, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.001019/0.001019, allocations: 174.5 kB / 326.5 MB, free: 2.688 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.676/1.676, allocations: 205 MB / 0.5766 GB, free: 21 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.0007405/0.0007406, allocations: 89.11 kB / 0.6804 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003381/0.0003383, allocations: 8.625 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1695, allocations: 105.4 MB / 0.8967 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.003713/0.1733, allocations: 3.772 MB / 0.9004 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002125/0.1754, allocations: 1.602 MB / 0.902 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002402/0.1757, allocations: 8 kB / 0.902 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001295/0.177, allocations: 0.5529 MB / 0.9025 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00052/0.1775, allocations: 219 kB / 0.9027 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005036/0.1781, allocations: 190.5 kB / 0.9029 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005836/0.1787, allocations: 0.7753 MB / 0.9037 GB, free: 61 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003791/0.179, allocations: 317.9 kB / 0.904 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001816/0.1792, allocations: 183.2 kB / 0.9042 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003086/0.1795, allocations: 243.1 kB / 0.9044 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.31e-05/0.1796, allocations: 24 kB / 0.9044 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002837/0.1799, allocations: 191.6 kB / 0.9046 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.642e-05/0.18, allocations: 127.7 kB / 0.9047 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.1801, allocations: 171.1 kB / 0.9049 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002993/0.1804, allocations: 410.9 kB / 0.9053 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1804, allocations: 0 / 0.9053 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.213e-06/0.1804, allocations: 0 / 0.9053 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.148e-05/0.1805, allocations: 0 / 0.9053 GB, free: 59.37 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.0008799/0.1813, allocations: 0.6241 MB / 0.9059 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.1814, allocations: 8.031 kB / 0.9059 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006342/0.182, allocations: 112.4 kB / 0.906 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.1823, allocations: 299.6 kB / 0.9063 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.228e-05/0.1824, allocations: 59.25 kB / 0.9063 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.387e-05/0.1825, allocations: 28.38 kB / 0.9064 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006413/0.1831, allocations: 0.5126 MB / 0.9069 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.1831, allocations: 0 / 0.9069 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.294e-05/0.1832, allocations: 16 kB / 0.9069 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-05/0.1832, allocations: 28.98 kB / 0.9069 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000567/0.1838, allocations: 395.6 kB / 0.9073 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001793/0.1856, allocations: 2.208 MB / 0.9094 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005996/0.1862, allocations: 262.6 kB / 0.9097 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003136/0.1865, allocations: 168.7 kB / 0.9099 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.1866, allocations: 4 kB / 0.9099 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.526e-05/0.1866, allocations: 30.56 kB / 0.9099 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=19): time 1.864e-06/0.1866, allocations: 4 kB / 0.9099 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.001328/0.1879, allocations: 0.5924 MB / 0.9105 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.04e-05/0.188, allocations: 55.34 kB / 0.9105 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.1881, allocations: 233 kB / 0.9107 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.1882, allocations: 33.7 kB / 0.9108 GB, free: 53.28 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.064e-05/0.1883, allocations: 203.6 kB / 0.911 GB, free: 53.08 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.225e-05/0.1883, allocations: 63.11 kB / 0.911 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/0.1883, allocations: 29.7 kB / 0.9111 GB, free: 52.98 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.558e-05/0.1884, allocations: 326.8 kB / 0.9114 GB, free: 52.65 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.1886, allocations: 107.9 kB / 0.9115 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.1888, allocations: 175.1 kB / 0.9116 GB, free: 52.34 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003827/0.1892, allocations: 288.1 kB / 0.9119 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1892, allocations: 0 / 0.9119 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007477/0.1899, allocations: 394.8 kB / 0.9123 GB, free: 51.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.478e-05/0.19, allocations: 161.7 kB / 0.9124 GB, free: 51.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.19, allocations: 3.984 kB / 0.9125 GB, free: 51.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004517/0.1905, allocations: 105.6 kB / 0.9126 GB, free: 51.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001943/0.1907, allocations: 59.91 kB / 0.9126 GB, free: 51.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002231/0.1929, allocations: 2.83 MB / 0.9154 GB, free: 48.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002401/0.1932, allocations: 35.89 kB / 0.9154 GB, free: 48.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.1932, allocations: 19.94 kB / 0.9154 GB, free: 48.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.392e-06/0.1932, allocations: 4 kB / 0.9154 GB, free: 48.1 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006599/0.1939, allocations: 313.8 kB / 0.9157 GB, free: 47.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1939, allocations: 4 kB / 0.9157 GB, free: 47.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002617/0.1942, allocations: 80.94 kB / 0.9158 GB, free: 47.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/0.1944, allocations: 59.91 kB / 0.9159 GB, free: 47.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00139/0.1958, allocations: 1.499 MB / 0.9173 GB, free: 46.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.196, allocations: 31.77 kB / 0.9174 GB, free: 45.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.196, allocations: 8 kB / 0.9174 GB, free: 45.97 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.0001637/0.1962, allocations: 249.1 kB / 0.9176 GB, free: 45.72 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.207e-05/0.1962, allocations: 23.72 kB / 0.9176 GB, free: 45.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.941e-05/0.1963, allocations: 30.17 kB / 0.9177 GB, free: 45.67 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1963, allocations: 3.938 kB / 0.9177 GB, free: 45.66 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.1963, allocations: 4 kB / 0.9177 GB, free: 45.66 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.1963, allocations: 4 kB / 0.9177 GB, free: 45.66 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.1974, allocations: 0.851 MB / 0.9185 GB, free: 44.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.1974, allocations: 0 / 0.9185 GB, free: 44.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.1976, allocations: 31.98 kB / 0.9185 GB, free: 44.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003323/0.1979, allocations: 101.7 kB / 0.9186 GB, free: 44.59 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.1979, allocations: 7.984 kB / 0.9186 GB, free: 44.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001951/0.1999, allocations: 2.802 MB / 0.9214 GB, free: 41.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1999, allocations: 4.219 kB / 0.9214 GB, free: 41.51 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006524/0.2006, allocations: 420.5 kB / 0.9218 GB, free: 41.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.279e-05/0.2007, allocations: 124.7 kB / 0.9219 GB, free: 40.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.659e-05/0.2007, allocations: 4 kB / 0.9219 GB, free: 40.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.2009, allocations: 15.98 kB / 0.9219 GB, free: 40.91 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.071e-05/0.2009, allocations: 27.91 kB / 0.9219 GB, free: 40.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.201, allocations: 4 kB / 0.9219 GB, free: 40.88 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001006/0.2011, allocations: 164.4 kB / 0.9221 GB, free: 40.73 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2011, allocations: 0 / 0.9221 GB, free: 40.73 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005365/0.2016, allocations: 167.4 kB / 0.9223 GB, free: 40.56 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.086e-05/0.2017, allocations: 103.2 kB / 0.9224 GB, free: 40.45 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001565/0.2033, allocations: 0.7663 MB / 0.9231 GB, free: 39.65 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.2033, allocations: 4.125 kB / 0.9231 GB, free: 39.64 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006223/0.2039, allocations: 377.1 kB / 0.9235 GB, free: 39.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004028/0.2043, allocations: 54.56 kB / 0.9235 GB, free: 39.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008217/0.2052, allocations: 0.7652 MB / 0.9243 GB, free: 38.4 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.2054, allocations: 0.8029 MB / 0.9251 GB, free: 37.57 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.665e-05/0.2055, allocations: 27.44 kB / 0.9251 GB, free: 37.54 MB / 0.6042 GB Notification: Performance of SimCode: time 2.6e-07/0.2055, allocations: 0 / 0.9251 GB, free: 37.54 MB / 0.6042 GB Notification: Performance of Templates: time 0.005875/0.2114, allocations: 6.122 MB / 0.9311 GB, free: 31.43 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)