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.333/1.333, allocations: 251.5 MB / 267.4 MB, free: 11.1 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.0008919/0.0008917, allocations: 184.5 kB / 326.5 MB, free: 2.711 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.634/1.634, allocations: 205 MB / 0.5766 GB, free: 21.02 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.0006977/0.0006976, allocations: 86.95 kB / 0.6804 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003777/0.0003781, allocations: 12.31 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1844, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.003785/0.1882, allocations: 3.776 MB / 0.9004 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002126/0.1904, allocations: 1.59 MB / 0.902 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002431/0.1906, allocations: 8 kB / 0.902 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001319/0.192, allocations: 0.566 MB / 0.9026 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004841/0.1925, allocations: 223 kB / 0.9028 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004589/0.1929, allocations: 186.3 kB / 0.9029 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000649/0.1936, allocations: 0.7753 MB / 0.9037 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004239/0.194, allocations: 321.8 kB / 0.904 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002364/0.1943, allocations: 179.3 kB / 0.9042 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003724/0.1946, allocations: 243.1 kB / 0.9044 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.013e-05/0.1947, allocations: 20 kB / 0.9044 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002841/0.195, allocations: 187.6 kB / 0.9046 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.1951, allocations: 135.6 kB / 0.9047 GB, free: 60 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.1953, allocations: 167.1 kB / 0.9049 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004321/0.1957, allocations: 0.5099 MB / 0.9054 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1957, allocations: 8 kB / 0.9054 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1957, allocations: 0 / 0.9054 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.1957, allocations: 0 / 0.9054 GB, free: 59.32 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.0009633/0.1967, allocations: 0.6163 MB / 0.906 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.1967, allocations: 12.02 kB / 0.906 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006965/0.1974, allocations: 104.4 kB / 0.9061 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003205/0.1978, allocations: 299.6 kB / 0.9064 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.203e-05/0.1979, allocations: 51.27 kB / 0.9064 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.391e-05/0.1979, allocations: 40.38 kB / 0.9065 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006804/0.1986, allocations: 0.5087 MB / 0.907 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.1986, allocations: 0 / 0.907 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.269e-05/0.1987, allocations: 19.98 kB / 0.907 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.062e-05/0.1987, allocations: 36.97 kB / 0.907 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005928/0.1993, allocations: 387.6 kB / 0.9074 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001905/0.2012, allocations: 2.216 MB / 0.9096 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006731/0.2019, allocations: 258.6 kB / 0.9098 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003197/0.2022, allocations: 164.8 kB / 0.91 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.101e-05/0.2023, allocations: 3.984 kB / 0.91 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.2023, allocations: 34.56 kB / 0.91 GB, free: 54.22 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=19): time 1.894e-06/0.2023, allocations: 0 / 0.91 GB, free: 54.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.001332/0.2037, allocations: 0.592 MB / 0.9106 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.728e-05/0.2037, allocations: 51.41 kB / 0.9106 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.2039, allocations: 233 kB / 0.9109 GB, free: 53.28 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.2039, allocations: 29.64 kB / 0.9109 GB, free: 53.24 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.2e-05/0.204, allocations: 215.6 kB / 0.9111 GB, free: 53.03 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.815e-05/0.204, allocations: 67.08 kB / 0.9112 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-05/0.2041, allocations: 25.72 kB / 0.9112 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.292e-05/0.2041, allocations: 334.8 kB / 0.9115 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.2043, allocations: 91.94 kB / 0.9116 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002057/0.2045, allocations: 183.1 kB / 0.9118 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000382/0.2049, allocations: 287.5 kB / 0.912 GB, free: 51.97 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.2049, allocations: 0 / 0.912 GB, free: 51.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007866/0.2057, allocations: 390.6 kB / 0.9124 GB, free: 51.58 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.27e-05/0.2058, allocations: 163.4 kB / 0.9126 GB, free: 51.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.2058, allocations: 7.938 kB / 0.9126 GB, free: 51.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004603/0.2063, allocations: 109.6 kB / 0.9127 GB, free: 51.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001906/0.2065, allocations: 51.91 kB / 0.9127 GB, free: 51.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002405/0.2089, allocations: 2.829 MB / 0.9155 GB, free: 48.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002427/0.2092, allocations: 31.73 kB / 0.9155 GB, free: 48.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.2092, allocations: 8 kB / 0.9155 GB, free: 48.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.973e-06/0.2092, allocations: 11.88 kB / 0.9155 GB, free: 48.06 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006403/0.2099, allocations: 316.7 kB / 0.9158 GB, free: 47.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.2099, allocations: 4 kB / 0.9158 GB, free: 47.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002636/0.2101, allocations: 84.81 kB / 0.9159 GB, free: 47.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.2104, allocations: 51.97 kB / 0.916 GB, free: 47.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001545/0.2119, allocations: 1.491 MB / 0.9174 GB, free: 45.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002186/0.2121, allocations: 47.7 kB / 0.9175 GB, free: 45.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.2122, allocations: 12 kB / 0.9175 GB, free: 45.93 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.0001964/0.2124, allocations: 241.1 kB / 0.9177 GB, free: 45.68 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.844e-05/0.2124, allocations: 19.72 kB / 0.9177 GB, free: 45.66 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.845e-05/0.2125, allocations: 38.11 kB / 0.9178 GB, free: 45.62 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.2125, allocations: 0 / 0.9178 GB, free: 45.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2125, allocations: 7.938 kB / 0.9178 GB, free: 45.62 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.622e-05/0.2126, allocations: 116.7 kB / 0.9179 GB, free: 45.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.2126, allocations: 4 kB / 0.9179 GB, free: 45.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.2128, allocations: 15.98 kB / 0.9179 GB, free: 45.46 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.553e-05/0.2129, allocations: 15.97 kB / 0.9179 GB, free: 45.45 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006895/0.2136, allocations: 384.1 kB / 0.9183 GB, free: 45.06 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005594/0.2141, allocations: 0.5007 MB / 0.9188 GB, free: 44.55 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001633/0.2143, allocations: 99.97 kB / 0.9189 GB, free: 44.45 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001022/0.2144, allocations: 160.4 kB / 0.919 GB, free: 44.3 MB / 0.6042 GB Notification: Performance of Backend: time 5.51e-07/0.2144, allocations: 0 / 0.919 GB, free: 44.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00189/0.2163, allocations: 0.8639 MB / 0.9199 GB, free: 43.39 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001001/0.2173, allocations: 1.176 MB / 0.921 GB, free: 42.17 MB / 0.6042 GB Notification: Performance of Templates: time 0.008072/0.2254, allocations: 5.171 MB / 0.9261 GB, free: 37.03 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)