Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.459/1.459, allocations: 255.9 MB / 271.2 MB, free: 8.891 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 183.4 kB / 330.8 MB, free: 480 kB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.645/1.645, allocations: 225.7 MB / 0.6016 GB, free: 1.516 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000847/0.0008468, allocations: 95.61 kB / 0.709 GB, free: 6.969 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004117/0.0004118, allocations: 12 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1956, allocations: 109.2 MB / 0.9327 GB, free: 6.246 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.00292/0.1985, allocations: 2.678 MB / 0.9354 GB, free: 3.555 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.00179/0.2004, allocations: 2.095 MB / 0.9374 GB, free: 1.25 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001507/0.2005, allocations: 7.938 kB / 0.9374 GB, free: 1.242 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001827/0.2007, allocations: 31.72 kB / 0.9374 GB, free: 1.211 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0004097/0.2011, allocations: 135.4 kB / 0.9376 GB, free: 1.078 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003537/0.2015, allocations: 135.7 kB / 0.9377 GB, free: 0.9453 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0003882/0.2019, allocations: 430.8 kB / 0.9381 GB, free: 0.5234 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002815/0.2022, allocations: 237.4 kB / 0.9383 GB, free: 280 kB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.2023, allocations: 99.62 kB / 0.9384 GB, free: 180 kB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00034/0.2027, allocations: 131.5 kB / 0.9386 GB, free: 48 kB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 3.913e-05/0.2027, allocations: 12 kB / 0.9386 GB, free: 36 kB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004309/0.2032, allocations: 203.6 kB / 0.9388 GB, free: 15.84 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.2033, allocations: 67.8 kB / 0.9388 GB, free: 15.77 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001644/0.2035, allocations: 121.2 kB / 0.9389 GB, free: 15.64 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0005087/0.204, allocations: 339.1 kB / 0.9393 GB, free: 15.31 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.204, allocations: 0 / 0.9393 GB, free: 15.31 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.324e-06/0.204, allocations: 0 / 0.9393 GB, free: 15.31 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.204, allocations: 0 / 0.9393 GB, free: 15.31 MB / 0.5886 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.000794/0.2048, allocations: 491.1 kB / 0.9397 GB, free: 14.78 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.2049, allocations: 15.98 kB / 0.9398 GB, free: 14.77 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006156/0.2055, allocations: 84.52 kB / 0.9398 GB, free: 14.68 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003663/0.2059, allocations: 243 kB / 0.9401 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.2059, allocations: 20.75 kB / 0.9401 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.378e-05/0.206, allocations: 16.38 kB / 0.9401 GB, free: 14.38 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005061/0.2065, allocations: 299.3 kB / 0.9404 GB, free: 14.06 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.2065, allocations: 0 / 0.9404 GB, free: 14.06 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.82e-05/0.2065, allocations: 12 kB / 0.9404 GB, free: 14.05 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.577e-05/0.2066, allocations: 16.36 kB / 0.9404 GB, free: 14.03 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003186/0.2069, allocations: 200.9 kB / 0.9406 GB, free: 13.84 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001556/0.2085, allocations: 1.464 MB / 0.942 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002629/0.2087, allocations: 179.7 kB / 0.9422 GB, free: 12 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.833e-05/0.2088, allocations: 32.84 kB / 0.9422 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.2088, allocations: 0 / 0.9422 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.2089, allocations: 30.56 kB / 0.9423 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.2089, allocations: 0 / 0.9423 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0005179/0.2094, allocations: 235.5 kB / 0.9425 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.2094, allocations: 51.41 kB / 0.9425 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.2097, allocations: 198.3 kB / 0.9427 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.2097, allocations: 33.7 kB / 0.9428 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.2098, allocations: 159.6 kB / 0.9429 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.2098, allocations: 23.7 kB / 0.9429 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-06/0.2098, allocations: 0 / 0.9429 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.21, allocations: 338.7 kB / 0.9433 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.703e-05/0.21, allocations: 31.98 kB / 0.9433 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.2102, allocations: 104.4 kB / 0.9434 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.2104, allocations: 148.4 kB / 0.9435 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.2104, allocations: 4 kB / 0.9435 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000327/0.2107, allocations: 190 kB / 0.9437 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.2107, allocations: 4 kB / 0.9437 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.2108, allocations: 4 kB / 0.9437 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001879/0.2109, allocations: 29.12 kB / 0.9438 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.2111, allocations: 27.92 kB / 0.9438 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/0.2122, allocations: 1.323 MB / 0.9451 GB, free: 8.781 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.2123, allocations: 19.73 kB / 0.9451 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.2124, allocations: 8 kB / 0.9451 GB, free: 8.754 MB / 0.5886 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.0001503/0.2125, allocations: 146.4 kB / 0.9452 GB, free: 8.602 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.255e-05/0.2126, allocations: 15.84 kB / 0.9453 GB, free: 8.586 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/0.2126, allocations: 21.39 kB / 0.9453 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.2126, allocations: 4.094 kB / 0.9453 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.2126, allocations: 0 / 0.9453 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2126, allocations: 0 / 0.9453 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005526/0.2132, allocations: 447.5 kB / 0.9457 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.2132, allocations: 3.984 kB / 0.9457 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.85e-05/0.2133, allocations: 7.938 kB / 0.9457 GB, free: 8.051 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.813e-05/0.2134, allocations: 24.84 kB / 0.9457 GB, free: 8.023 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.2134, allocations: 4 kB / 0.9457 GB, free: 8.02 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009517/0.2143, allocations: 1.315 MB / 0.947 GB, free: 6.57 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.2143, allocations: 8.094 kB / 0.947 GB, free: 6.562 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.2146, allocations: 212.3 kB / 0.9472 GB, free: 6.336 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.109e-05/0.2147, allocations: 92.91 kB / 0.9473 GB, free: 6.227 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.2147, allocations: 7.938 kB / 0.9473 GB, free: 6.219 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.2148, allocations: 4 kB / 0.9473 GB, free: 6.215 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.007e-05/0.2149, allocations: 7.984 kB / 0.9473 GB, free: 6.207 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.2149, allocations: 7.938 kB / 0.9474 GB, free: 6.199 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001337/0.215, allocations: 152.1 kB / 0.9475 GB, free: 6.051 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.51e-07/0.215, allocations: 0 / 0.9475 GB, free: 6.051 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003255/0.2154, allocations: 51.84 kB / 0.9475 GB, free: 6 MB / 0.5886 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 0.0001277/0.2155, allocations: 103.8 kB / 0.9476 GB, free: 5.891 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003807/0.2159, allocations: 214.7 kB / 0.9478 GB, free: 5.668 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2159, allocations: 4 kB / 0.9479 GB, free: 5.664 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.2161, allocations: 138.7 kB / 0.948 GB, free: 5.516 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.2164, allocations: 36.2 kB / 0.948 GB, free: 5.48 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007631/0.2172, allocations: 447.7 kB / 0.9484 GB, free: 5.016 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/0.2176, allocations: 0.7478 MB / 0.9492 GB, free: 4.242 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.00011/0.2177, allocations: 21.55 kB / 0.9492 GB, free: 4.223 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.781e-05/0.2178, allocations: 15.44 kB / 0.9492 GB, free: 4.207 MB / 0.5886 GB Notification: Performance of SimCode: time 2.31e-07/0.2178, allocations: 0 / 0.9492 GB, free: 4.207 MB / 0.5886 GB Notification: Performance of Templates: time 0.005172/0.223, allocations: 1.659 MB / 0.9508 GB, free: 2.562 MB / 0.5886 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)