Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.795/1.795, allocations: 297.4 MB / 312.6 MB, free: 2.898 MB / 234.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.001403/0.001403, allocations: 190 kB / 382.3 MB, free: 14.79 MB / 314.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.52/1.52, allocations: 225.7 MB / 0.6617 GB, free: 7.203 MB / 490.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.000952/0.000952, allocations: 97.12 kB / 0.7789 GB, free: 47.02 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004215/0.0004216, allocations: 8 kB / 0.9058 GB, free: 4.906 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7591/0.7596, allocations: 119.2 MB / 1.022 GB, free: 58.44 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.006245/0.7659, allocations: 4.862 MB / 1.027 GB, free: 55.59 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.005014/0.771, allocations: 4.135 MB / 1.031 GB, free: 51.93 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006665/0.7717, allocations: 18.06 kB / 1.031 GB, free: 51.92 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004077/0.7721, allocations: 102.7 kB / 1.031 GB, free: 51.86 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001191/0.7733, allocations: 381.6 kB / 1.032 GB, free: 51.65 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.7745, allocations: 361.9 kB / 1.032 GB, free: 51.47 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00146/0.776, allocations: 1.24 MB / 1.033 GB, free: 51.02 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001476/0.7774, allocations: 1.161 MB / 1.034 GB, free: 50.12 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006771/0.7781, allocations: 321.1 kB / 1.035 GB, free: 50 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005975/0.7787, allocations: 384 kB / 1.035 GB, free: 49.85 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.375e-05/0.7788, allocations: 27.12 kB / 1.035 GB, free: 49.85 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008431/0.7797, allocations: 411.4 kB / 1.035 GB, free: 49.72 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002271/0.7799, allocations: 216 kB / 1.036 GB, free: 49.64 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003456/0.7803, allocations: 342.2 kB / 1.036 GB, free: 49.43 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001014/0.7813, allocations: 0.9603 MB / 1.037 GB, free: 49.15 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.7813, allocations: 0 / 1.037 GB, free: 49.15 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7813, allocations: 0 / 1.037 GB, free: 49.15 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.779e-06/0.7813, allocations: 4 kB / 1.037 GB, free: 49.15 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001386/0.7827, allocations: 0.8464 MB / 1.038 GB, free: 48.51 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.7828, allocations: 6.5 kB / 1.038 GB, free: 48.51 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001276/0.784, allocations: 199.8 kB / 1.038 GB, free: 48.47 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006619/0.7847, allocations: 491.1 kB / 1.038 GB, free: 48.12 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.528e-05/0.7848, allocations: 36.02 kB / 1.038 GB, free: 48.11 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001494/0.7849, allocations: 51.25 kB / 1.038 GB, free: 48.09 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.786, allocations: 0.8347 MB / 1.039 GB, free: 47.61 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/0.7861, allocations: 3.312 kB / 1.039 GB, free: 47.61 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.857e-05/0.7861, allocations: 26.92 kB / 1.039 GB, free: 47.59 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002065/0.7863, allocations: 62.97 kB / 1.039 GB, free: 47.59 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000851/0.7872, allocations: 0.5731 MB / 1.04 GB, free: 47.38 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003755/0.791, allocations: 4.592 MB / 1.044 GB, free: 43.48 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004669/0.7915, allocations: 295.6 kB / 1.045 GB, free: 43.36 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003042/0.7918, allocations: 231.8 kB / 1.045 GB, free: 43.27 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.7918, allocations: 3.562 kB / 1.045 GB, free: 43.27 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.7918, allocations: 34.84 kB / 1.045 GB, free: 43.22 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 4.148e-06/0.7918, allocations: 2.047 kB / 1.045 GB, free: 43.22 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.005444/0.7973, allocations: 2.628 MB / 1.047 GB, free: 41.84 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.7974, allocations: 57.94 kB / 1.047 GB, free: 41.78 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004999/0.7979, allocations: 456.5 kB / 1.048 GB, free: 41.55 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/0.7979, allocations: 33.11 kB / 1.048 GB, free: 41.52 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/0.7981, allocations: 348.7 kB / 1.048 GB, free: 41.23 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.7982, allocations: 135.4 kB / 1.048 GB, free: 41.13 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-05/0.7983, allocations: 14.81 kB / 1.048 GB, free: 41.12 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.7984, allocations: 367.8 kB / 1.049 GB, free: 40.78 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003526/0.7988, allocations: 235 kB / 1.049 GB, free: 40.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004507/0.7992, allocations: 404.2 kB / 1.049 GB, free: 40.41 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000774/0.8, allocations: 0.6717 MB / 1.05 GB, free: 39.97 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.8, allocations: 7.25 kB / 1.05 GB, free: 39.97 MB / 0.698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001507/0.8015, allocations: 0.914 MB / 1.051 GB, free: 39.58 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.8016, allocations: 17.28 kB / 1.051 GB, free: 39.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.8016, allocations: 3.094 kB / 1.051 GB, free: 39.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007502/0.8024, allocations: 225.2 kB / 1.051 GB, free: 39.51 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00051/0.8029, allocations: 118.3 kB / 1.051 GB, free: 39.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003988/0.8069, allocations: 4.938 MB / 1.056 GB, free: 35.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005667/0.8075, allocations: 31.98 kB / 1.056 GB, free: 35.17 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.031e-05/0.8075, allocations: 25.94 kB / 1.056 GB, free: 35.16 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0003471/0.8079, allocations: 232.4 kB / 1.056 GB, free: 34.99 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.806e-05/0.808, allocations: 53.91 kB / 1.056 GB, free: 34.96 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001435/0.8094, allocations: 0.7703 MB / 1.057 GB, free: 34.63 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.8094, allocations: 3.312 kB / 1.057 GB, free: 34.63 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.8094, allocations: 4.938 kB / 1.057 GB, free: 34.63 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.8094, allocations: 1.828 kB / 1.057 GB, free: 34.63 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002452/0.8119, allocations: 1.495 MB / 1.059 GB, free: 33.85 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.8119, allocations: 0 / 1.059 GB, free: 33.85 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003693/0.8123, allocations: 71.2 kB / 1.059 GB, free: 33.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006393/0.8129, allocations: 207.4 kB / 1.059 GB, free: 33.77 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.137e-05/0.813, allocations: 7.062 kB / 1.059 GB, free: 33.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003663/0.8166, allocations: 4.873 MB / 1.064 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.8167, allocations: 7.344 kB / 1.064 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001732/0.8184, allocations: 1.135 MB / 1.065 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002668/0.8187, allocations: 169.5 kB / 1.065 GB, free: 28.75 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.54e-05/0.8188, allocations: 10.67 kB / 1.065 GB, free: 28.74 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003135/0.8191, allocations: 31.86 kB / 1.065 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.8192, allocations: 38.27 kB / 1.065 GB, free: 28.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.908e-05/0.8193, allocations: 17.88 kB / 1.065 GB, free: 28.71 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000386/0.8196, allocations: 304.6 kB / 1.065 GB, free: 28.57 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8197, allocations: 0 / 1.065 GB, free: 28.57 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008701/0.8205, allocations: 172 kB / 1.066 GB, free: 28.55 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002168/0.8208, allocations: 119.5 kB / 1.066 GB, free: 28.45 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001678/0.8224, allocations: 1.001 MB / 1.067 GB, free: 27.87 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.8225, allocations: 3.734 kB / 1.067 GB, free: 27.87 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008545/0.8233, allocations: 0.6813 MB / 1.067 GB, free: 27.41 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009743/0.8243, allocations: 162 kB / 1.067 GB, free: 27.36 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/0.8265, allocations: 1.557 MB / 1.069 GB, free: 26.39 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004422/0.827, allocations: 0.9432 MB / 1.07 GB, free: 25.66 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000423/0.8274, allocations: 115.7 kB / 1.07 GB, free: 25.64 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.8275, allocations: 36.59 kB / 1.07 GB, free: 25.63 MB / 0.698 GB Notification: Performance of SimCode: time 1.393e-06/0.8275, allocations: 0 / 1.07 GB, free: 25.63 MB / 0.698 GB Notification: Performance of Templates: time 0.0155/0.843, allocations: 8.404 MB / 1.078 GB, free: 25.12 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)