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.Lines.Examples.ACLine_L.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.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.475/2.475, allocations: 254.9 MB / 269.9 MB, free: 9.633 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.001634/0.001633, allocations: 185.7 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.467/2.467, allocations: 225.6 MB / 0.6001 GB, free: 0.4961 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.0009747/0.0009743, allocations: 100.3 kB / 0.7074 GB, free: 6.242 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0006866/0.000687, allocations: 11.56 kB / 0.8242 GB, free: 124.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2404, allocations: 109.1 MB / 0.9308 GB, free: 24.9 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.007539/0.248, allocations: 5.368 MB / 0.936 GB, free: 19.51 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.005984/0.254, allocations: 2.971 MB / 0.9389 GB, free: 16.53 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00057/0.2546, allocations: 23.81 kB / 0.9389 GB, free: 16.51 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0004328/0.2551, allocations: 123 kB / 0.9391 GB, free: 16.39 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.001284/0.2564, allocations: 382 kB / 0.9394 GB, free: 16.01 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.2578, allocations: 355.2 kB / 0.9398 GB, free: 15.66 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001523/0.2593, allocations: 1.217 MB / 0.9409 GB, free: 14.44 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002141/0.2615, allocations: 0.9289 MB / 0.9419 GB, free: 13.49 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000749/0.2622, allocations: 366.5 kB / 0.9422 GB, free: 13.13 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006973/0.263, allocations: 438.4 kB / 0.9426 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 9.867e-05/0.2631, allocations: 32 kB / 0.9427 GB, free: 12.67 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008316/0.2639, allocations: 247.6 kB / 0.9429 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002797/0.2642, allocations: 251.3 kB / 0.9431 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001994/0.2644, allocations: 161.3 kB / 0.9433 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001272/0.2657, allocations: 0.873 MB / 0.9441 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.964e-06/0.2658, allocations: 0 / 0.9441 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.665e-06/0.2658, allocations: 0 / 0.9441 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.42e-05/0.2658, allocations: 3.938 kB / 0.9441 GB, free: 11.14 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001898/0.2677, allocations: 0.9311 MB / 0.945 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.2678, allocations: 8.031 kB / 0.9451 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002197/0.27, allocations: 215.7 kB / 0.9453 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/0.2712, allocations: 0.53 MB / 0.9458 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.448e-05/0.2712, allocations: 49.67 kB / 0.9458 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/0.2714, allocations: 60.38 kB / 0.9459 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001881/0.2733, allocations: 1.03 MB / 0.9469 GB, free: 8.117 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.94e-05/0.2733, allocations: 7.938 kB / 0.9469 GB, free: 8.109 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.937e-05/0.2734, allocations: 24 kB / 0.9469 GB, free: 8.086 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001281/0.2736, allocations: 69.27 kB / 0.947 GB, free: 8.016 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001525/0.2751, allocations: 0.6918 MB / 0.9477 GB, free: 7.324 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006197/0.2813, allocations: 5.756 MB / 0.9533 GB, free: 1.145 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/0.2825, allocations: 0.5921 MB / 0.9539 GB, free: 0.5078 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001116/0.2837, allocations: 425.3 kB / 0.9543 GB, free: 92 kB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.846e-05/0.2838, allocations: 8 kB / 0.9543 GB, free: 84 kB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.2838, allocations: 46.28 kB / 0.9543 GB, free: 28 kB / 0.5886 GB Notification: Performance of pre-optimization done (n=41): time 3.307e-06/0.2838, allocations: 0 / 0.9543 GB, free: 28 kB / 0.5886 GB Notification: Performance of matching and sorting (n=42): time 0.007489/0.2913, allocations: 2.053 MB / 0.9563 GB, free: 13.88 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.2914, allocations: 59.19 kB / 0.9564 GB, free: 13.81 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007502/0.2921, allocations: 450.8 kB / 0.9568 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.525e-05/0.2922, allocations: 29.7 kB / 0.9568 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003421/0.2926, allocations: 391 kB / 0.9572 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001788/0.2928, allocations: 145.9 kB / 0.9574 GB, free: 12.79 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.935e-05/0.2928, allocations: 12 kB / 0.9574 GB, free: 12.78 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.293, allocations: 370.8 kB / 0.9577 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006191/0.2937, allocations: 245.2 kB / 0.9579 GB, free: 12.17 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007914/0.2945, allocations: 457.5 kB / 0.9584 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007565/0.2952, allocations: 311.8 kB / 0.9587 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.2953, allocations: 4 kB / 0.9587 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.003276/0.2985, allocations: 1.057 MB / 0.9597 GB, free: 10.24 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/0.2986, allocations: 11.98 kB / 0.9597 GB, free: 10.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/0.2986, allocations: 8 kB / 0.9597 GB, free: 10.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001813/0.3004, allocations: 335.8 kB / 0.9601 GB, free: 9.879 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006261/0.3011, allocations: 95.83 kB / 0.9602 GB, free: 9.785 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01013/0.3112, allocations: 6.935 MB / 0.9669 GB, free: 2.312 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007129/0.312, allocations: 35.97 kB / 0.967 GB, free: 2.277 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.135e-05/0.3121, allocations: 35.98 kB / 0.967 GB, free: 2.242 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * 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: 4 {(3,88.9%) 7,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004775/0.3126, allocations: 241.5 kB / 0.9672 GB, free: 1.996 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.3127, allocations: 59.25 kB / 0.9673 GB, free: 1.938 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002867/0.3156, allocations: 0.9079 MB / 0.9682 GB, free: 1.008 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.3156, allocations: 7.984 kB / 0.9682 GB, free: 1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.394e-05/0.3157, allocations: 8 kB / 0.9682 GB, free: 0.9922 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.3157, allocations: 3.938 kB / 0.9682 GB, free: 0.9883 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004487/0.3202, allocations: 1.704 MB / 0.9698 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.381e-06/0.3202, allocations: 0 / 0.9698 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003469/0.3206, allocations: 43.91 kB / 0.9699 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00169/0.3223, allocations: 323.5 kB / 0.9702 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.905e-05/0.3224, allocations: 16 kB / 0.9702 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01013/0.3325, allocations: 6.939 MB / 0.977 GB, free: 7.336 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.291e-06/0.3326, allocations: 4 kB / 0.977 GB, free: 7.332 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002889/0.3355, allocations: 1.003 MB / 0.978 GB, free: 6.281 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004201/0.3359, allocations: 176.3 kB / 0.9781 GB, free: 6.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.336, allocations: 12 kB / 0.9782 GB, free: 6.078 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004833/0.3365, allocations: 19.97 kB / 0.9782 GB, free: 6.059 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/0.3367, allocations: 43.89 kB / 0.9782 GB, free: 6.016 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.876e-05/0.3368, allocations: 11.94 kB / 0.9782 GB, free: 6.004 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.00052/0.3373, allocations: 306.9 kB / 0.9785 GB, free: 5.707 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.61e-07/0.3373, allocations: 0 / 0.9785 GB, free: 5.707 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001055/0.3384, allocations: 196 kB / 0.9787 GB, free: 5.516 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * 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: 4 {(3,88.9%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001991/0.3386, allocations: 115.7 kB / 0.9788 GB, free: 5.395 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003019/0.3416, allocations: 1.207 MB / 0.98 GB, free: 4.137 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.3416, allocations: 0 / 0.98 GB, free: 4.137 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001995/0.3437, allocations: 0.8549 MB / 0.9808 GB, free: 3.23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001665/0.3454, allocations: 184.3 kB / 0.981 GB, free: 3.051 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003301/0.3487, allocations: 1.487 MB / 0.9825 GB, free: 1.523 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008328/0.3496, allocations: 0.9921 MB / 0.9834 GB, free: 0.5039 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005819/0.3502, allocations: 97.17 kB / 0.9835 GB, free: 420 kB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.3503, allocations: 35.44 kB / 0.9836 GB, free: 384 kB / 0.6198 GB Notification: Performance of SimCode: time 2.004e-06/0.3503, allocations: 0 / 0.9836 GB, free: 384 kB / 0.6198 GB Notification: Performance of Templates: time 0.02827/0.3786, allocations: 9.18 MB / 0.9925 GB, free: 7.207 MB / 0.6355 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)