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.Lines.Examples.ACLine_R.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.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") 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.51/1.51, allocations: 255.9 MB / 271.2 MB, free: 8.895 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.001317/0.001317, allocations: 177 kB / 330.8 MB, free: 452 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 2.003/2.003, allocations: 225.7 MB / 0.6016 GB, free: 1.637 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.0008619/0.0008621, allocations: 99.56 kB / 0.709 GB, free: 7.062 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.0003331, allocations: 15.94 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2372, allocations: 109.2 MB / 0.9328 GB, free: 6.246 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.006188/0.2434, allocations: 6.019 MB / 0.9386 GB, free: 208 kB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.005932/0.2494, allocations: 4.327 MB / 0.9429 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008661/0.2503, allocations: 23.81 kB / 0.9429 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0005665/0.2509, allocations: 138.8 kB / 0.943 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.001421/0.2523, allocations: 477.7 kB / 0.9435 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.2535, allocations: 383.3 kB / 0.9438 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001916/0.2555, allocations: 1.587 MB / 0.9454 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002129/0.2576, allocations: 1.527 MB / 0.9469 GB, free: 7.258 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00085/0.2585, allocations: 394.2 kB / 0.9473 GB, free: 6.871 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008182/0.2593, allocations: 0.4902 MB / 0.9477 GB, free: 6.379 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001466/0.2595, allocations: 32 kB / 0.9478 GB, free: 6.348 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008238/0.2603, allocations: 427.1 kB / 0.9482 GB, free: 5.93 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002895/0.2606, allocations: 263.2 kB / 0.9484 GB, free: 5.672 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0004406/0.261, allocations: 431.5 kB / 0.9488 GB, free: 5.242 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001155/0.2622, allocations: 1.183 MB / 0.95 GB, free: 4.055 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.2622, allocations: 0 / 0.95 GB, free: 4.055 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2622, allocations: 11.94 kB / 0.95 GB, free: 4.043 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.224e-05/0.2623, allocations: 0 / 0.95 GB, free: 4.043 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001582/0.2638, allocations: 0.9895 MB / 0.951 GB, free: 3.004 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.2639, allocations: 11.98 kB / 0.951 GB, free: 2.992 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001403/0.2653, allocations: 247.5 kB / 0.9512 GB, free: 2.75 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007681/0.2661, allocations: 0.5452 MB / 0.9517 GB, free: 2.16 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.188e-05/0.2661, allocations: 49.62 kB / 0.9518 GB, free: 2.113 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.2662, allocations: 64.36 kB / 0.9519 GB, free: 2.051 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/0.2678, allocations: 1.089 MB / 0.9529 GB, free: 0.8555 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/0.2679, allocations: 3.938 kB / 0.9529 GB, free: 0.8516 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.116e-05/0.2679, allocations: 32 kB / 0.953 GB, free: 0.8203 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001558/0.2681, allocations: 85.25 kB / 0.953 GB, free: 0.7383 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/0.2693, allocations: 0.7426 MB / 0.9538 GB, free: 15.99 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006839/0.2762, allocations: 5.905 MB / 0.9595 GB, free: 9.66 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/0.2774, allocations: 0.5492 MB / 0.9601 GB, free: 9.102 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004732/0.2779, allocations: 326 kB / 0.9604 GB, free: 8.777 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.994e-05/0.2779, allocations: 4.438 kB / 0.9604 GB, free: 8.773 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.278, allocations: 39 kB / 0.9604 GB, free: 8.727 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=47): time 3.116e-06/0.278, allocations: 0 / 0.9604 GB, free: 8.727 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.004465/0.2825, allocations: 1.99 MB / 0.9624 GB, free: 6.637 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.2825, allocations: 55.84 kB / 0.9624 GB, free: 6.57 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008809/0.2834, allocations: 0.5546 MB / 0.963 GB, free: 6.004 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.58e-05/0.2835, allocations: 37.7 kB / 0.963 GB, free: 5.961 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003991/0.2839, allocations: 418.9 kB / 0.9634 GB, free: 5.543 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002176/0.2842, allocations: 169.6 kB / 0.9636 GB, free: 5.375 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.495e-05/0.2842, allocations: 12 kB / 0.9636 GB, free: 5.363 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002523/0.2845, allocations: 378.7 kB / 0.9639 GB, free: 4.984 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005264/0.285, allocations: 273.8 kB / 0.9642 GB, free: 4.715 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007051/0.2857, allocations: 493.5 kB / 0.9647 GB, free: 4.137 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001315/0.2871, allocations: 0.7977 MB / 0.9654 GB, free: 3.246 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.2871, allocations: 8 kB / 0.9654 GB, free: 3.238 MB / 0.6042 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002108/0.2892, allocations: 1.079 MB / 0.9665 GB, free: 2.141 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.189e-05/0.2892, allocations: 11.91 kB / 0.9665 GB, free: 2.129 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/0.2893, allocations: 11.98 kB / 0.9665 GB, free: 2.117 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009052/0.2902, allocations: 287.2 kB / 0.9668 GB, free: 1.824 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005079/0.2907, allocations: 123.8 kB / 0.9669 GB, free: 1.703 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007148/0.2979, allocations: 6.595 MB / 0.9734 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006311/0.2985, allocations: 35.95 kB / 0.9734 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-05/0.2986, allocations: 32 kB / 0.9734 GB, free: 10.5 MB / 0.6198 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 (67): * Single equations (assignments): 63 * 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): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004002/0.299, allocations: 258.2 kB / 0.9737 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.2991, allocations: 75.16 kB / 0.9737 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001609/0.3008, allocations: 0.8768 MB / 0.9746 GB, free: 9.273 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.3008, allocations: 8 kB / 0.9746 GB, free: 9.266 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/0.3008, allocations: 11.94 kB / 0.9746 GB, free: 9.254 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.3008, allocations: 0 / 0.9746 GB, free: 9.254 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002909/0.3037, allocations: 1.717 MB / 0.9763 GB, free: 7.449 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.288e-06/0.3038, allocations: 11.92 kB / 0.9763 GB, free: 7.438 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002663/0.304, allocations: 55.95 kB / 0.9764 GB, free: 7.383 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007814/0.3048, allocations: 267.3 kB / 0.9766 GB, free: 7.109 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-05/0.3049, allocations: 8 kB / 0.9766 GB, free: 7.102 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006488/0.3114, allocations: 6.595 MB / 0.9831 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.3114, allocations: 12.09 kB / 0.9831 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/0.313, allocations: 0.9756 MB / 0.984 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003476/0.3134, allocations: 188.2 kB / 0.9842 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.3135, allocations: 15.94 kB / 0.9842 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003832/0.3139, allocations: 27.95 kB / 0.9842 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.314, allocations: 51.98 kB / 0.9843 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.71e-05/0.3141, allocations: 19.94 kB / 0.9843 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005166/0.3146, allocations: 375.1 kB / 0.9847 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3146, allocations: 0 / 0.9847 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008842/0.3155, allocations: 224 kB / 0.9849 GB, free: 14.04 MB / 0.6355 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 (31): * Single equations (assignments): 27 * 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): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001949/0.3157, allocations: 131.7 kB / 0.985 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002134/0.3179, allocations: 1.264 MB / 0.9862 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.3179, allocations: 0 / 0.9862 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001318/0.3192, allocations: 0.8933 MB / 0.9871 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.3204, allocations: 205.5 kB / 0.9873 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002728/0.3231, allocations: 1.642 MB / 0.9889 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007498/0.3239, allocations: 1.013 MB / 0.9899 GB, free: 8.723 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005032/0.3244, allocations: 118.1 kB / 0.99 GB, free: 8.605 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.3246, allocations: 43.44 kB / 0.9901 GB, free: 8.562 MB / 0.6355 GB Notification: Performance of SimCode: time 2.514e-06/0.3246, allocations: 4 kB / 0.9901 GB, free: 8.559 MB / 0.6355 GB Notification: Performance of Templates: time 0.4403/0.7649, allocations: 10.6 MB / 1 GB, free: 65.89 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)