Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 107.2 kB / 16.35 MB, free: 5.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 192.5 kB / 17.28 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.834/1.834, allocations: 292.3 MB / 0.5496 GB, free: 17.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 67.03 kB / 0.6729 GB, free: 5.805 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2464, allocations: 114.6 MB / 0.7848 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.004562/0.251, allocations: 3.073 MB / 0.7878 GB, free: 40 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4084/0.6594, allocations: 1.315 MB / 0.7891 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001518/0.6596, allocations: 5.125 kB / 0.7891 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0009846/0.6606, allocations: 336.9 kB / 0.7894 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003203/0.6609, allocations: 139.4 kB / 0.7895 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003152/0.6612, allocations: 139.1 kB / 0.7896 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002845/0.6615, allocations: 306 kB / 0.7899 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003693/0.6619, allocations: 231.8 kB / 0.7902 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.662, allocations: 129.1 kB / 0.7903 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002521/0.6623, allocations: 139.9 kB / 0.7904 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.297e-05/0.6623, allocations: 17.69 kB / 0.7904 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002631/0.6626, allocations: 166.2 kB / 0.7906 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.192e-05/0.6627, allocations: 79.53 kB / 0.7907 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.6628, allocations: 111.3 kB / 0.7908 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003575/0.6632, allocations: 334.8 kB / 0.7911 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.6632, allocations: 0.5938 kB / 0.7911 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6632, allocations: 0.75 kB / 0.7911 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.6632, allocations: 0 / 0.7911 GB, free: 46.55 MB / 0.6544 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.0007341/0.6639, allocations: 0.5183 MB / 0.7916 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.664, allocations: 11.59 kB / 0.7916 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00056/0.6646, allocations: 78.75 kB / 0.7917 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.6648, allocations: 241.8 kB / 0.7919 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.6648, allocations: 12.06 kB / 0.7919 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.6649, allocations: 23.72 kB / 0.7919 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003722/0.6653, allocations: 308.4 kB / 0.7922 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.6653, allocations: 0 / 0.7922 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.434e-05/0.6653, allocations: 7.375 kB / 0.7923 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.704e-05/0.6653, allocations: 17.44 kB / 0.7923 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002586/0.6656, allocations: 201.8 kB / 0.7925 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.6667, allocations: 1.456 MB / 0.7939 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002291/0.667, allocations: 177.7 kB / 0.7941 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.298e-05/0.6671, allocations: 31.69 kB / 0.7941 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.824e-06/0.6671, allocations: 0.7188 kB / 0.7941 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.6671, allocations: 36.94 kB / 0.7941 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.6671, allocations: 0.5 kB / 0.7941 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0004268/0.6675, allocations: 229.6 kB / 0.7943 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.6676, allocations: 52.66 kB / 0.7944 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.6677, allocations: 201.4 kB / 0.7946 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.6677, allocations: 25.7 kB / 0.7946 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.327e-05/0.6678, allocations: 163.3 kB / 0.7948 GB, free: 44 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.6678, allocations: 29.8 kB / 0.7948 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.708e-05/0.6679, allocations: 37.92 kB / 0.7948 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.063e-05/0.6679, allocations: 323.3 kB / 0.7951 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.483e-05/0.668, allocations: 36.84 kB / 0.7952 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.566e-05/0.6681, allocations: 105.5 kB / 0.7953 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.6682, allocations: 147.7 kB / 0.7954 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.6682, allocations: 1.5 kB / 0.7954 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002509/0.6685, allocations: 193.1 kB / 0.7956 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.6685, allocations: 7.188 kB / 0.7956 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.6685, allocations: 0 / 0.7956 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001577/0.6687, allocations: 27.59 kB / 0.7956 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.6688, allocations: 35.67 kB / 0.7957 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007548/0.6696, allocations: 1.416 MB / 0.797 GB, free: 42.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.6697, allocations: 18.25 kB / 0.7971 GB, free: 42.06 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.6697, allocations: 10.03 kB / 0.7971 GB, free: 42.06 MB / 0.6544 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 (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.0001013/0.6698, allocations: 151.3 kB / 0.7972 GB, free: 41.95 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.539e-05/0.6699, allocations: 15.59 kB / 0.7972 GB, free: 41.94 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.997e-05/0.6699, allocations: 19.2 kB / 0.7972 GB, free: 41.94 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.6699, allocations: 7.375 kB / 0.7973 GB, free: 41.93 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.6699, allocations: 0 / 0.7973 GB, free: 41.93 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.6699, allocations: 3.938 kB / 0.7973 GB, free: 41.93 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004093/0.6703, allocations: 441.9 kB / 0.7977 GB, free: 41.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.6704, allocations: 1.547 kB / 0.7977 GB, free: 41.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.507e-05/0.6704, allocations: 7.406 kB / 0.7977 GB, free: 41.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.002e-05/0.6705, allocations: 22.97 kB / 0.7977 GB, free: 41.62 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.6705, allocations: 4.406 kB / 0.7977 GB, free: 41.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006367/0.6711, allocations: 1.417 MB / 0.7991 GB, free: 40.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.6711, allocations: 4.625 kB / 0.7991 GB, free: 40.27 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001647/0.6713, allocations: 217.4 kB / 0.7993 GB, free: 40.12 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.749e-05/0.6714, allocations: 102.4 kB / 0.7994 GB, free: 40.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.6714, allocations: 0 / 0.7994 GB, free: 40.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.6715, allocations: 6.719 kB / 0.7994 GB, free: 40.01 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.884e-05/0.6715, allocations: 10.89 kB / 0.7994 GB, free: 40.01 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.6716, allocations: 0 / 0.7994 GB, free: 40.01 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.327e-05/0.6717, allocations: 147.1 kB / 0.7996 GB, free: 39.93 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6717, allocations: 0 / 0.7996 GB, free: 39.93 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003117/0.672, allocations: 49.28 kB / 0.7996 GB, free: 39.92 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 5 * 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.609e-05/0.6721, allocations: 101.1 kB / 0.7997 GB, free: 39.83 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003145/0.6724, allocations: 214.4 kB / 0.7999 GB, free: 39.72 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6724, allocations: 0 / 0.7999 GB, free: 39.72 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.6725, allocations: 151.2 kB / 0.8001 GB, free: 39.61 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.6729, allocations: 32.66 kB / 0.8001 GB, free: 39.61 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005053/0.6734, allocations: 358.2 kB / 0.8004 GB, free: 39.41 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001818/0.6736, allocations: 0.7507 MB / 0.8012 GB, free: 38.71 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.864e-05/0.6737, allocations: 21.25 kB / 0.8012 GB, free: 38.71 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.959e-05/0.6737, allocations: 14.12 kB / 0.8012 GB, free: 38.7 MB / 0.6544 GB Notification: Performance of SimCode: time 3.6e-07/0.6737, allocations: 0 / 0.8012 GB, free: 38.7 MB / 0.6544 GB Notification: Performance of Templates: time 0.00495/0.6787, allocations: 1.748 MB / 0.8029 GB, free: 38.64 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1)