Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.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.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.433/1.433, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.001066/0.001066, allocations: 176 kB / 326.5 MB, free: 2.668 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.46/1.46, allocations: 205 MB / 0.5766 GB, free: 20.94 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.0007798/0.0007797, allocations: 101.2 kB / 0.6804 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003026/0.0003026, allocations: 11.91 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1715, allocations: 105.4 MB / 0.8967 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.003482/0.175, allocations: 3.537 MB / 0.9002 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002221/0.1773, allocations: 1.726 MB / 0.9019 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002789/0.1776, allocations: 7.938 kB / 0.9019 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001132/0.1787, allocations: 476.8 kB / 0.9023 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005285/0.1793, allocations: 211.1 kB / 0.9025 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005138/0.1798, allocations: 187.6 kB / 0.9027 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005541/0.1804, allocations: 0.6622 MB / 0.9034 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003458/0.1807, allocations: 237.2 kB / 0.9036 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002142/0.181, allocations: 159.3 kB / 0.9038 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003341/0.1813, allocations: 207.2 kB / 0.9039 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.185e-05/0.1813, allocations: 16 kB / 0.904 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004576/0.1818, allocations: 303.3 kB / 0.9043 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.849e-05/0.1819, allocations: 111.7 kB / 0.9044 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001209/0.182, allocations: 155.2 kB / 0.9045 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003863/0.1824, allocations: 375 kB / 0.9049 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.1825, allocations: 0 / 0.9049 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.006e-06/0.1825, allocations: 0 / 0.9049 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.553e-05/0.1825, allocations: 7.938 kB / 0.9049 GB, free: 59.78 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0008429/0.1833, allocations: 0.5809 MB / 0.9054 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.1834, allocations: 12.03 kB / 0.9055 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008675/0.1843, allocations: 136.3 kB / 0.9056 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003447/0.1846, allocations: 287.7 kB / 0.9059 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.1846, allocations: 17.03 kB / 0.9059 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.386e-05/0.1847, allocations: 28.38 kB / 0.9059 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005503/0.1852, allocations: 475.9 kB / 0.9064 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.1853, allocations: 0 / 0.9064 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.484e-05/0.1853, allocations: 15.98 kB / 0.9064 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-05/0.1854, allocations: 28.55 kB / 0.9064 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004626/0.1858, allocations: 321.9 kB / 0.9067 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001678/0.1875, allocations: 2.197 MB / 0.9088 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003039/0.1878, allocations: 251.8 kB / 0.9091 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002053/0.188, allocations: 112.8 kB / 0.9092 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.1881, allocations: 0 / 0.9092 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.1881, allocations: 34.56 kB / 0.9092 GB, free: 54.94 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=14): time 1.153e-06/0.1881, allocations: 4 kB / 0.9092 GB, free: 54.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.0005331/0.1886, allocations: 302.1 kB / 0.9095 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.1887, allocations: 55.41 kB / 0.9096 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/0.1889, allocations: 266.5 kB / 0.9098 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.1889, allocations: 25.7 kB / 0.9099 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.252e-05/0.189, allocations: 211.8 kB / 0.9101 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.189, allocations: 51.28 kB / 0.9101 GB, free: 53.99 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.094e-05/0.1891, allocations: 29.7 kB / 0.9101 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.96e-05/0.1891, allocations: 330.8 kB / 0.9104 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.132e-05/0.1892, allocations: 64.42 kB / 0.9105 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.1893, allocations: 140.8 kB / 0.9106 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002159/0.1896, allocations: 212.1 kB / 0.9108 GB, free: 53.13 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1896, allocations: 0 / 0.9108 GB, free: 53.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003395/0.1899, allocations: 275.9 kB / 0.9111 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.1899, allocations: 6.5 kB / 0.9111 GB, free: 52.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.485e-06/0.1899, allocations: 4 kB / 0.9111 GB, free: 52.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001552/0.1901, allocations: 25.22 kB / 0.9111 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.1903, allocations: 55.91 kB / 0.9112 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007092/0.191, allocations: 1.319 MB / 0.9125 GB, free: 51.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/0.1912, allocations: 31.67 kB / 0.9125 GB, free: 51.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.1912, allocations: 12.09 kB / 0.9125 GB, free: 51.27 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001343/0.1913, allocations: 169.6 kB / 0.9127 GB, free: 51.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.824e-05/0.1914, allocations: 27.66 kB / 0.9127 GB, free: 51.07 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.125e-05/0.1914, allocations: 25.84 kB / 0.9127 GB, free: 51.05 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1914, allocations: 0 / 0.9127 GB, free: 51.05 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.1915, allocations: 3.984 kB / 0.9127 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1915, allocations: 4.062 kB / 0.9127 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007238/0.1922, allocations: 0.7065 MB / 0.9134 GB, free: 50.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1922, allocations: 0 / 0.9134 GB, free: 50.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.896e-05/0.1923, allocations: 27.98 kB / 0.9135 GB, free: 50.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.91e-05/0.1924, allocations: 20.84 kB / 0.9135 GB, free: 50.19 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.1924, allocations: 7.938 kB / 0.9135 GB, free: 50.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005899/0.193, allocations: 1.319 MB / 0.9148 GB, free: 48.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.193, allocations: 0 / 0.9148 GB, free: 48.73 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.1933, allocations: 321.1 kB / 0.9151 GB, free: 48.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.237e-05/0.1933, allocations: 108.8 kB / 0.9152 GB, free: 48.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/0.1934, allocations: 11.98 kB / 0.9152 GB, free: 48.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.1936, allocations: 12 kB / 0.9152 GB, free: 48.23 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.793e-05/0.1936, allocations: 15.97 kB / 0.9152 GB, free: 48.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.1936, allocations: 8 kB / 0.9152 GB, free: 48.21 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001294/0.1938, allocations: 190 kB / 0.9154 GB, free: 48.02 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1938, allocations: 0 / 0.9154 GB, free: 48.02 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003552/0.1941, allocations: 83.69 kB / 0.9155 GB, free: 47.94 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.562e-05/0.1942, allocations: 107.2 kB / 0.9156 GB, free: 47.82 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003519/0.1946, allocations: 269.1 kB / 0.9159 GB, free: 47.55 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.1946, allocations: 0 / 0.9159 GB, free: 47.55 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.1947, allocations: 183.7 kB / 0.916 GB, free: 47.36 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004605/0.1952, allocations: 63.94 kB / 0.9161 GB, free: 47.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007184/0.1959, allocations: 0.6965 MB / 0.9168 GB, free: 46.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001762/0.1961, allocations: 0.795 MB / 0.9175 GB, free: 45.73 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.882e-05/0.1962, allocations: 23.44 kB / 0.9176 GB, free: 45.71 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.1962, allocations: 0 / 0.9176 GB, free: 45.71 MB / 0.6042 GB Notification: Performance of Templates: time 0.005088/0.2013, allocations: 4.342 MB / 0.9218 GB, free: 41.37 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)