Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.578/2.578, allocations: 254.9 MB / 269.9 MB, free: 9.641 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.001496/0.001496, allocations: 198.9 kB / 329.5 MB, free: 1.156 MB / 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 2.612/2.612, allocations: 225.6 MB / 0.6001 GB, free: 492 kB / 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.0009538/0.0009536, allocations: 98.42 kB / 0.7074 GB, free: 6.215 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0006718/0.0006719, allocations: 10.84 kB / 0.8242 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2105, allocations: 109.1 MB / 0.9308 GB, free: 24.88 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004123/0.2147, allocations: 2.663 MB / 0.9334 GB, free: 22.2 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003645/0.2184, allocations: 1.782 MB / 0.9351 GB, free: 20.41 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002392/0.2187, allocations: 7.938 kB / 0.9351 GB, free: 20.4 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.000232/0.219, allocations: 39.7 kB / 0.9352 GB, free: 20.36 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0006561/0.2196, allocations: 143.4 kB / 0.9353 GB, free: 20.22 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008089/0.2205, allocations: 175.5 kB / 0.9355 GB, free: 20.05 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.00055/0.221, allocations: 366.6 kB / 0.9358 GB, free: 19.69 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009172/0.222, allocations: 329.9 kB / 0.9361 GB, free: 19.35 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002673/0.2223, allocations: 107.6 kB / 0.9362 GB, free: 19.24 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003569/0.2226, allocations: 135.5 kB / 0.9364 GB, free: 19.11 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.23e-05/0.2227, allocations: 12 kB / 0.9364 GB, free: 19.1 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006904/0.2234, allocations: 255.6 kB / 0.9366 GB, free: 18.85 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.2235, allocations: 75.78 kB / 0.9367 GB, free: 18.77 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 7.056e-05/0.2236, allocations: 61.64 kB / 0.9367 GB, free: 18.71 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0006365/0.2243, allocations: 367.3 kB / 0.9371 GB, free: 18.35 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.2243, allocations: 3.938 kB / 0.9371 GB, free: 18.34 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.687e-06/0.2243, allocations: 0 / 0.9371 GB, free: 18.34 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.2243, allocations: 3.938 kB / 0.9371 GB, free: 18.34 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.0009934/0.2253, allocations: 0.5069 MB / 0.9376 GB, free: 17.79 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.2254, allocations: 8.031 kB / 0.9376 GB, free: 17.78 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/0.2266, allocations: 116.5 kB / 0.9377 GB, free: 17.66 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004312/0.227, allocations: 252 kB / 0.938 GB, free: 17.38 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.2271, allocations: 12.81 kB / 0.938 GB, free: 17.37 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.67e-05/0.2272, allocations: 20.38 kB / 0.938 GB, free: 17.35 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007259/0.2279, allocations: 356.8 kB / 0.9383 GB, free: 16.98 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.2279, allocations: 7.984 kB / 0.9383 GB, free: 16.97 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.793e-05/0.228, allocations: 8 kB / 0.9383 GB, free: 16.96 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.361e-05/0.2281, allocations: 24.42 kB / 0.9384 GB, free: 16.93 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006681/0.2288, allocations: 293.5 kB / 0.9386 GB, free: 16.65 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00285/0.2316, allocations: 1.741 MB / 0.9403 GB, free: 14.74 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007125/0.2324, allocations: 326.1 kB / 0.9407 GB, free: 14.38 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/0.2326, allocations: 105.7 kB / 0.9408 GB, free: 14.27 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001433/0.2328, allocations: 89.09 kB / 0.9408 GB, free: 14.17 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.2328, allocations: 38.56 kB / 0.9409 GB, free: 14.12 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=16): time 2.856e-06/0.2328, allocations: 0 / 0.9409 GB, free: 14.12 MB / 0.5886 GB Notification: Performance of matching and sorting (n=23): time 0.003867/0.2367, allocations: 0.9751 MB / 0.9418 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.2368, allocations: 85.05 kB / 0.9419 GB, free: 13.01 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.2371, allocations: 213 kB / 0.9421 GB, free: 12.79 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.863e-05/0.2371, allocations: 33.64 kB / 0.9421 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.582e-05/0.2372, allocations: 176.1 kB / 0.9423 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.443e-05/0.2373, allocations: 74.84 kB / 0.9424 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.706e-05/0.2374, allocations: 8 kB / 0.9424 GB, free: 12.49 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.575e-05/0.2375, allocations: 326.8 kB / 0.9427 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002836/0.2377, allocations: 127.9 kB / 0.9428 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003405/0.2381, allocations: 225.1 kB / 0.943 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003538/0.2385, allocations: 159.9 kB / 0.9432 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2385, allocations: 0 / 0.9432 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001383/0.2399, allocations: 0.5094 MB / 0.9437 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.2399, allocations: 7.906 kB / 0.9437 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.24, allocations: 4 kB / 0.9437 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007539/0.2407, allocations: 147.3 kB / 0.9438 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004565/0.2412, allocations: 60 kB / 0.9439 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004867/0.2461, allocations: 3.977 MB / 0.9478 GB, free: 6.578 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005842/0.2467, allocations: 23.88 kB / 0.9478 GB, free: 6.555 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.602e-05/0.2468, allocations: 8.094 kB / 0.9478 GB, free: 6.547 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003418/0.2472, allocations: 171.4 kB / 0.948 GB, free: 6.371 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.2473, allocations: 23.73 kB / 0.948 GB, free: 6.348 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002015/0.2494, allocations: 478.4 kB / 0.9485 GB, free: 5.863 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.2494, allocations: 0 / 0.9485 GB, free: 5.863 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.2494, allocations: 4 kB / 0.9485 GB, free: 5.859 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.2495, allocations: 0 / 0.9485 GB, free: 5.859 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003497/0.253, allocations: 1.008 MB / 0.9494 GB, free: 4.758 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.253, allocations: 0 / 0.9494 GB, free: 4.758 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004079/0.2534, allocations: 35.92 kB / 0.9495 GB, free: 4.723 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001101/0.2546, allocations: 143.6 kB / 0.9496 GB, free: 4.57 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.32e-05/0.2546, allocations: 8 kB / 0.9496 GB, free: 4.562 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004459/0.2591, allocations: 3.949 MB / 0.9535 GB, free: 300 kB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.2592, allocations: 4.188 kB / 0.9535 GB, free: 296 kB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/0.2605, allocations: 0.6314 MB / 0.9541 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002008/0.2607, allocations: 128.8 kB / 0.9542 GB, free: 15.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.754e-05/0.2608, allocations: 11.94 kB / 0.9542 GB, free: 15.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003558/0.2612, allocations: 23.97 kB / 0.9543 GB, free: 15.43 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.909e-05/0.2612, allocations: 19.98 kB / 0.9543 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-05/0.2613, allocations: 11.98 kB / 0.9543 GB, free: 15.39 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002234/0.2615, allocations: 153.5 kB / 0.9544 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2615, allocations: 0 / 0.9544 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006931/0.2622, allocations: 88 kB / 0.9545 GB, free: 15.16 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002828/0.2625, allocations: 139.2 kB / 0.9546 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001418/0.264, allocations: 0.5687 MB / 0.9552 GB, free: 14.42 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.264, allocations: 0 / 0.9552 GB, free: 14.42 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008245/0.2648, allocations: 405.1 kB / 0.9556 GB, free: 14 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007031/0.2655, allocations: 35.98 kB / 0.9556 GB, free: 13.96 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.2672, allocations: 0.7257 MB / 0.9563 GB, free: 13.19 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005027/0.2677, allocations: 0.7831 MB / 0.9571 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003277/0.2681, allocations: 58.23 kB / 0.9572 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.781e-05/0.2682, allocations: 27.31 kB / 0.9572 GB, free: 12.29 MB / 0.6042 GB Notification: Performance of SimCode: time 1.152e-06/0.2682, allocations: 0 / 0.9572 GB, free: 12.29 MB / 0.6042 GB Notification: Performance of Templates: time 0.01247/0.2807, allocations: 3.881 MB / 0.961 GB, free: 8.426 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)