Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.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.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.428/1.428, allocations: 252 MB / 267.6 MB, free: 10.89 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.001163/0.001163, allocations: 180 kB / 327.3 MB, free: 2.188 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.713/1.713, allocations: 205.4 MB / 0.5783 GB, free: 20.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.001049/0.001049, allocations: 93.53 kB / 0.6829 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004205/0.0004207, allocations: 9.344 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2037, allocations: 106.3 MB / 0.9008 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.002863/0.2066, allocations: 2.653 MB / 0.9034 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001513/0.2082, allocations: 1.259 MB / 0.9047 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.2083, allocations: 4 kB / 0.9047 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001771/0.2085, allocations: 39.7 kB / 0.9047 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003053/0.2088, allocations: 107.5 kB / 0.9048 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002682/0.2091, allocations: 103.7 kB / 0.9049 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002782/0.2094, allocations: 346.9 kB / 0.9052 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002694/0.2097, allocations: 207.9 kB / 0.9054 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.571e-05/0.2098, allocations: 107.6 kB / 0.9055 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000259/0.21, allocations: 131.5 kB / 0.9057 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.832e-05/0.2101, allocations: 8 kB / 0.9057 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001588/0.2102, allocations: 75.89 kB / 0.9057 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.31e-05/0.2103, allocations: 71.78 kB / 0.9058 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.471e-05/0.2104, allocations: 65.58 kB / 0.9059 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.2106, allocations: 247.6 kB / 0.9061 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.2106, allocations: 4 kB / 0.9061 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2106, allocations: 3.938 kB / 0.9061 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.2106, allocations: 0 / 0.9061 GB, free: 58.41 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.0006132/0.2112, allocations: 483 kB / 0.9066 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.2113, allocations: 12.02 kB / 0.9066 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005057/0.2118, allocations: 83.61 kB / 0.9067 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.212, allocations: 239.3 kB / 0.9069 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.2121, allocations: 16.38 kB / 0.9069 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/0.2121, allocations: 16 kB / 0.9069 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003548/0.2125, allocations: 291.2 kB / 0.9072 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.2125, allocations: 4 kB / 0.9072 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.435e-05/0.2125, allocations: 11.98 kB / 0.9072 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-05/0.2125, allocations: 24.31 kB / 0.9072 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002495/0.2128, allocations: 192.9 kB / 0.9074 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.2139, allocations: 1.46 MB / 0.9088 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002113/0.2142, allocations: 171.7 kB / 0.909 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.791e-05/0.2142, allocations: 36.84 kB / 0.909 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.2142, allocations: 0 / 0.909 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.536e-05/0.2143, allocations: 38.56 kB / 0.9091 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.2143, allocations: 0 / 0.9091 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003996/0.2147, allocations: 231.5 kB / 0.9093 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.312e-05/0.2147, allocations: 51.41 kB / 0.9093 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.2149, allocations: 194.4 kB / 0.9095 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.2149, allocations: 25.7 kB / 0.9096 GB, free: 54.51 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.65e-05/0.2149, allocations: 175.5 kB / 0.9097 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.52e-05/0.215, allocations: 31.58 kB / 0.9098 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.219e-06/0.215, allocations: 0 / 0.9098 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.916e-05/0.215, allocations: 326.8 kB / 0.9101 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.884e-05/0.2151, allocations: 27.98 kB / 0.9101 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.773e-05/0.2152, allocations: 104.5 kB / 0.9102 GB, free: 53.81 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.931e-05/0.2152, allocations: 47.98 kB / 0.9102 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2152, allocations: 0 / 0.9102 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002387/0.2155, allocations: 194.1 kB / 0.9104 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.2155, allocations: 8 kB / 0.9104 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.2155, allocations: 0 / 0.9104 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001568/0.2157, allocations: 24.78 kB / 0.9105 GB, free: 53.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.2158, allocations: 36.27 kB / 0.9105 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006924/0.2165, allocations: 1.311 MB / 0.9118 GB, free: 52.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.2166, allocations: 31.94 kB / 0.9118 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.2166, allocations: 4 kB / 0.9118 GB, free: 52.01 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 9.065e-05/0.2167, allocations: 145.7 kB / 0.9119 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.19e-05/0.2168, allocations: 15.86 kB / 0.912 GB, free: 51.84 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.306e-05/0.2168, allocations: 21.39 kB / 0.912 GB, free: 51.83 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.2168, allocations: 0 / 0.912 GB, free: 51.83 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.2168, allocations: 4 kB / 0.912 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2168, allocations: 0 / 0.912 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003629/0.2172, allocations: 451.1 kB / 0.9124 GB, free: 51.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2172, allocations: 0 / 0.9124 GB, free: 51.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.395e-05/0.2172, allocations: 8 kB / 0.9124 GB, free: 51.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.419e-05/0.2173, allocations: 24.84 kB / 0.9124 GB, free: 51.29 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.2173, allocations: 4 kB / 0.9124 GB, free: 51.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005661/0.2179, allocations: 1.308 MB / 0.9137 GB, free: 49.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2179, allocations: 0 / 0.9137 GB, free: 49.84 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001717/0.2181, allocations: 212.3 kB / 0.9139 GB, free: 49.61 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.713e-05/0.2181, allocations: 104.9 kB / 0.914 GB, free: 49.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.2182, allocations: 3.938 kB / 0.914 GB, free: 49.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.2183, allocations: 4 kB / 0.914 GB, free: 49.48 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.288e-05/0.2183, allocations: 11.98 kB / 0.914 GB, free: 49.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.2183, allocations: 3.953 kB / 0.9141 GB, free: 49.47 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.743e-05/0.2184, allocations: 148.1 kB / 0.9142 GB, free: 49.32 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2184, allocations: 7.938 kB / 0.9142 GB, free: 49.32 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002694/0.2187, allocations: 51.91 kB / 0.9142 GB, free: 49.27 MB / 0.6042 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 (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 Backend phase and start with SimCode phase: time 0.0001014/0.2188, allocations: 99.19 kB / 0.9143 GB, free: 49.16 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002951/0.2191, allocations: 206.5 kB / 0.9145 GB, free: 48.94 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2191, allocations: 4.562 kB / 0.9145 GB, free: 48.94 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.2192, allocations: 146.7 kB / 0.9147 GB, free: 48.78 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.2196, allocations: 31.03 kB / 0.9147 GB, free: 48.75 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00049/0.2201, allocations: 461 kB / 0.9152 GB, free: 48.28 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001598/0.2202, allocations: 0.7517 MB / 0.9159 GB, free: 47.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.401e-05/0.2203, allocations: 15.44 kB / 0.9159 GB, free: 47.48 MB / 0.6042 GB Notification: Performance of SimCode: time 2e-07/0.2203, allocations: 0 / 0.9159 GB, free: 47.48 MB / 0.6042 GB Notification: Performance of Templates: time 0.00374/0.224, allocations: 2.964 MB / 0.9188 GB, free: 44.53 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1)