Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.24/2.24, allocations: 251.1 MB / 266.7 MB, free: 11.64 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.001402/0.001402, allocations: 180.3 kB / 326.3 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.543/2.543, allocations: 205.4 MB / 0.5772 GB, free: 20.78 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.0009722/0.000972, allocations: 92.5 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004657/0.0004661, allocations: 16.06 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2062, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.004135/0.2104, allocations: 2.664 MB / 0.9021 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002603/0.2131, allocations: 1.248 MB / 0.9033 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002046/0.2133, allocations: 4 kB / 0.9033 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002161/0.2136, allocations: 43.64 kB / 0.9034 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004529/0.214, allocations: 115.4 kB / 0.9035 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005115/0.2146, allocations: 97.5 kB / 0.9036 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004605/0.215, allocations: 354.8 kB / 0.9039 GB, free: 61 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003498/0.2154, allocations: 212 kB / 0.9041 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.2156, allocations: 99.61 kB / 0.9042 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003289/0.2159, allocations: 123.6 kB / 0.9043 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.886e-05/0.216, allocations: 16 kB / 0.9043 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002946/0.2163, allocations: 83.83 kB / 0.9044 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.82e-05/0.2164, allocations: 71.83 kB / 0.9045 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.907e-05/0.2165, allocations: 65.58 kB / 0.9045 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003544/0.2168, allocations: 239.7 kB / 0.9048 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2169, allocations: 3.938 kB / 0.9048 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2169, allocations: 4 kB / 0.9048 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.326e-05/0.2169, allocations: 0 / 0.9048 GB, free: 60.07 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008322/0.2177, allocations: 491.1 kB / 0.9052 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.2178, allocations: 8.031 kB / 0.9053 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008243/0.2186, allocations: 80.59 kB / 0.9053 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003496/0.219, allocations: 245.8 kB / 0.9056 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.219, allocations: 12.75 kB / 0.9056 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.916e-05/0.2191, allocations: 16.38 kB / 0.9056 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005818/0.2197, allocations: 303.3 kB / 0.9059 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.2197, allocations: 3.984 kB / 0.9059 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.939e-05/0.2198, allocations: 12 kB / 0.9059 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.863e-05/0.2198, allocations: 16.36 kB / 0.9059 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004458/0.2203, allocations: 189 kB / 0.9061 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001774/0.2221, allocations: 1.468 MB / 0.9075 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003522/0.2225, allocations: 179.7 kB / 0.9077 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.844e-05/0.2225, allocations: 32.84 kB / 0.9077 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.2226, allocations: 0 / 0.9077 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.2226, allocations: 34.56 kB / 0.9078 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.144e-06/0.2226, allocations: 0 / 0.9078 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0006498/0.2233, allocations: 231.4 kB / 0.908 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.436e-05/0.2233, allocations: 55.41 kB / 0.908 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.2236, allocations: 194.3 kB / 0.9082 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.2236, allocations: 33.64 kB / 0.9083 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.747e-05/0.2237, allocations: 163.7 kB / 0.9084 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.2237, allocations: 35.53 kB / 0.9084 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.468e-06/0.2238, allocations: 0 / 0.9084 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.934e-05/0.2238, allocations: 330.8 kB / 0.9088 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.095e-05/0.2239, allocations: 39.98 kB / 0.9088 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.2241, allocations: 92.56 kB / 0.9089 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.2242, allocations: 55.92 kB / 0.9089 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.2242, allocations: 0 / 0.9089 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004627/0.2247, allocations: 182.4 kB / 0.9091 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.2247, allocations: 12.06 kB / 0.9091 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.2248, allocations: 0 / 0.9091 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000224/0.225, allocations: 28.84 kB / 0.9091 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/0.2252, allocations: 27.92 kB / 0.9092 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/0.2263, allocations: 1.319 MB / 0.9105 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/0.2266, allocations: 23.78 kB / 0.9105 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.2266, allocations: 4 kB / 0.9105 GB, free: 53.66 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001702/0.2268, allocations: 149.9 kB / 0.9106 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.803e-05/0.2268, allocations: 19.84 kB / 0.9107 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.535e-05/0.2269, allocations: 17.39 kB / 0.9107 GB, free: 53.47 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.2269, allocations: 3.938 kB / 0.9107 GB, free: 53.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.2269, allocations: 4 kB / 0.9107 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.681e-05/0.227, allocations: 96.91 kB / 0.9108 GB, free: 53.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.227, allocations: 0 / 0.9108 GB, free: 53.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.2272, allocations: 8 kB / 0.9108 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.136e-05/0.2272, allocations: 7.984 kB / 0.9108 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003178/0.2276, allocations: 178.1 kB / 0.911 GB, free: 53.15 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002628/0.2279, allocations: 306.5 kB / 0.9112 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.266e-05/0.2279, allocations: 24.11 kB / 0.9113 GB, free: 52.81 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000137/0.2281, allocations: 148.1 kB / 0.9114 GB, free: 52.67 MB / 0.6042 GB Notification: Performance of Backend: time 9.12e-07/0.2281, allocations: 64 / 0.9114 GB, free: 52.67 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008783/0.229, allocations: 316.8 kB / 0.9117 GB, free: 52.34 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001051/0.2301, allocations: 0.892 MB / 0.9126 GB, free: 51.39 MB / 0.6042 GB Notification: Performance of Templates: time 0.007893/0.238, allocations: 2.378 MB / 0.9149 GB, free: 49.04 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1)