Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") 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.554/1.554, allocations: 255.9 MB / 271.2 MB, free: 8.867 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.00106/0.00106, allocations: 182.8 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.755/1.755, allocations: 225.7 MB / 0.6016 GB, free: 1.598 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.0007547/0.0007546, allocations: 95.59 kB / 0.709 GB, free: 7.047 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003028/0.0003028, allocations: 8 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.1931, allocations: 109.2 MB / 0.9327 GB, free: 6.262 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.002875/0.196, allocations: 2.694 MB / 0.9354 GB, free: 3.555 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.002427/0.1984, allocations: 3.335 MB / 0.9386 GB, free: 15.84 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.1986, allocations: 7.938 kB / 0.9386 GB, free: 15.83 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001553/0.1987, allocations: 27.78 kB / 0.9387 GB, free: 15.8 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0004611/0.1992, allocations: 183.2 kB / 0.9388 GB, free: 15.62 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005386/0.1997, allocations: 215.5 kB / 0.939 GB, free: 15.41 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0004192/0.2002, allocations: 450.7 kB / 0.9395 GB, free: 14.97 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006459/0.2008, allocations: 484.3 kB / 0.9399 GB, free: 14.44 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001665/0.201, allocations: 119.5 kB / 0.94 GB, free: 14.32 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000266/0.2013, allocations: 139.4 kB / 0.9402 GB, free: 14.18 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.212e-05/0.2013, allocations: 15.94 kB / 0.9402 GB, free: 14.17 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006419/0.202, allocations: 451.1 kB / 0.9406 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.03e-05/0.2021, allocations: 75.78 kB / 0.9407 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.2022, allocations: 129.1 kB / 0.9408 GB, free: 13.52 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0005933/0.2028, allocations: 498.4 kB / 0.9413 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2028, allocations: 0 / 0.9413 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2028, allocations: 0 / 0.9413 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.2029, allocations: 4 kB / 0.9413 GB, free: 13.03 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.000748/0.2036, allocations: 0.5108 MB / 0.9418 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.2037, allocations: 11.98 kB / 0.9418 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007432/0.2044, allocations: 116.5 kB / 0.9419 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003225/0.2047, allocations: 251.9 kB / 0.9422 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.109e-05/0.2048, allocations: 20.81 kB / 0.9422 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.934e-05/0.2048, allocations: 24.3 kB / 0.9422 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005606/0.2054, allocations: 353.2 kB / 0.9425 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.2054, allocations: 0 / 0.9425 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.2054, allocations: 8 kB / 0.9426 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-05/0.2055, allocations: 24.42 kB / 0.9426 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004467/0.206, allocations: 297.5 kB / 0.9429 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002068/0.208, allocations: 1.737 MB / 0.9446 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004737/0.2085, allocations: 322.1 kB / 0.9449 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.2087, allocations: 113.6 kB / 0.945 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001105/0.2088, allocations: 85.11 kB / 0.9451 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.2088, allocations: 38.56 kB / 0.9451 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.2088, allocations: 0 / 0.9451 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of matching and sorting (n=23): time 0.002369/0.2112, allocations: 0.9844 MB / 0.9461 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.2113, allocations: 81.05 kB / 0.9461 GB, free: 7.68 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.2115, allocations: 209.1 kB / 0.9463 GB, free: 7.465 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.2115, allocations: 29.7 kB / 0.9464 GB, free: 7.43 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.2116, allocations: 176.1 kB / 0.9465 GB, free: 7.254 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.237e-05/0.2117, allocations: 82.84 kB / 0.9466 GB, free: 7.172 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.501e-05/0.2117, allocations: 4 kB / 0.9466 GB, free: 7.168 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.2118, allocations: 334.8 kB / 0.9469 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.212, allocations: 127.9 kB / 0.947 GB, free: 6.707 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002345/0.2123, allocations: 209.4 kB / 0.9472 GB, free: 6.469 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004545/0.2127, allocations: 368.2 kB / 0.9476 GB, free: 6.078 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2128, allocations: 0 / 0.9476 GB, free: 6.078 MB / 0.5886 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008267/0.2136, allocations: 0.4966 MB / 0.9481 GB, free: 5.562 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.2136, allocations: 8 kB / 0.9481 GB, free: 5.555 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.2136, allocations: 4.094 kB / 0.9481 GB, free: 5.551 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004977/0.2141, allocations: 159.2 kB / 0.9482 GB, free: 5.383 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002535/0.2144, allocations: 55.91 kB / 0.9483 GB, free: 5.328 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002785/0.2172, allocations: 3.969 MB / 0.9522 GB, free: 1.039 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.2174, allocations: 19.97 kB / 0.9522 GB, free: 1.02 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.724e-05/0.2174, allocations: 16.16 kB / 0.9522 GB, free: 1.004 MB / 0.5886 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 (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001636/0.2176, allocations: 157.8 kB / 0.9524 GB, free: 0.8398 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.148e-05/0.2177, allocations: 23.8 kB / 0.9524 GB, free: 0.8164 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008523/0.2185, allocations: 484.7 kB / 0.9528 GB, free: 336 kB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.2186, allocations: 4 kB / 0.9528 GB, free: 332 kB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.2186, allocations: 0 / 0.9528 GB, free: 332 kB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.2186, allocations: 3.938 kB / 0.9529 GB, free: 328 kB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/0.2201, allocations: 1.004 MB / 0.9538 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.2201, allocations: 4.25 kB / 0.9538 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.2202, allocations: 35.92 kB / 0.9539 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004179/0.2207, allocations: 147.3 kB / 0.954 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/0.2207, allocations: 8 kB / 0.954 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002668/0.2234, allocations: 3.95 MB / 0.9579 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.2234, allocations: 8 kB / 0.9579 GB, free: 10.74 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008602/0.2243, allocations: 0.6196 MB / 0.9585 GB, free: 10.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.2244, allocations: 128.7 kB / 0.9586 GB, free: 9.926 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.348e-05/0.2245, allocations: 12 kB / 0.9586 GB, free: 9.914 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.2247, allocations: 19.98 kB / 0.9586 GB, free: 9.895 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.089e-05/0.2248, allocations: 27.91 kB / 0.9587 GB, free: 9.867 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.2248, allocations: 8 kB / 0.9587 GB, free: 9.859 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001525/0.2249, allocations: 157.5 kB / 0.9588 GB, free: 9.707 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/0.225, allocations: 4 kB / 0.9588 GB, free: 9.703 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005213/0.2255, allocations: 88 kB / 0.9589 GB, free: 9.617 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002191/0.2257, allocations: 136.2 kB / 0.959 GB, free: 9.477 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009654/0.2267, allocations: 0.5714 MB / 0.9596 GB, free: 8.879 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.2267, allocations: 0 / 0.9596 GB, free: 8.879 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005356/0.2272, allocations: 398 kB / 0.96 GB, free: 8.465 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005319/0.2278, allocations: 48.53 kB / 0.96 GB, free: 8.418 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.2288, allocations: 0.7566 MB / 0.9608 GB, free: 7.613 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.2293, allocations: 0.7792 MB / 0.9615 GB, free: 6.801 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001797/0.2294, allocations: 62.23 kB / 0.9616 GB, free: 6.738 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.731e-05/0.2295, allocations: 23.42 kB / 0.9616 GB, free: 6.715 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.2295, allocations: 0 / 0.9616 GB, free: 6.715 MB / 0.6042 GB Notification: Performance of Templates: time 0.007806/0.2373, allocations: 3.946 MB / 0.9655 GB, free: 2.785 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)