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.ACSimpleGrid.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.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") 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.747/1.747, allocations: 297.4 MB / 312.6 MB, free: 2.926 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.001736/0.001736, allocations: 186 kB / 382.3 MB, free: 14.82 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.623/1.623, allocations: 225.7 MB / 0.6617 GB, free: 7.188 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.001168/0.001168, allocations: 93.89 kB / 0.7789 GB, free: 46.8 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005012/0.0005012, allocations: 13.97 kB / 0.9058 GB, free: 4.906 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8347/0.8352, allocations: 119.2 MB / 1.022 GB, free: 57.54 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.008306/0.8436, allocations: 3.89 MB / 1.026 GB, free: 55.33 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00798/0.8516, allocations: 4.738 MB / 1.031 GB, free: 51.21 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005866/0.8523, allocations: 9 kB / 1.031 GB, free: 51.21 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.8534, allocations: 167.7 kB / 1.031 GB, free: 51.13 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001973/0.8554, allocations: 358.4 kB / 1.031 GB, free: 50.93 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.8565, allocations: 230.5 kB / 1.031 GB, free: 50.82 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001599/0.8582, allocations: 0.8059 MB / 1.032 GB, free: 50.53 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002154/0.8603, allocations: 1.184 MB / 1.033 GB, free: 49.64 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000547/0.8609, allocations: 194 kB / 1.034 GB, free: 49.57 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007276/0.8616, allocations: 244.7 kB / 1.034 GB, free: 49.48 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001098/0.8618, allocations: 21.64 kB / 1.034 GB, free: 49.48 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001265/0.8631, allocations: 360.7 kB / 1.034 GB, free: 49.37 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002545/0.8633, allocations: 143.6 kB / 1.034 GB, free: 49.31 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004703/0.8638, allocations: 227.3 kB / 1.035 GB, free: 49.16 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00199/0.8658, allocations: 0.8348 MB / 1.035 GB, free: 48.94 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.8659, allocations: 1.469 kB / 1.035 GB, free: 48.94 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.407e-06/0.8659, allocations: 0 / 1.035 GB, free: 48.94 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.311e-05/0.8659, allocations: 0 / 1.035 GB, free: 48.94 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.003001/0.8689, allocations: 0.7182 MB / 1.036 GB, free: 48.38 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.19e-05/0.869, allocations: 10.38 kB / 1.036 GB, free: 48.38 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005123/0.8741, allocations: 0.6908 MB / 1.037 GB, free: 48.34 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001478/0.8757, allocations: 485.8 kB / 1.037 GB, free: 48.01 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.547e-05/0.8757, allocations: 25.44 kB / 1.037 GB, free: 48 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002004/0.8759, allocations: 30.22 kB / 1.037 GB, free: 47.98 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002847/0.8788, allocations: 0.7952 MB / 1.038 GB, free: 47.71 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.817e-05/0.8789, allocations: 6.031 kB / 1.038 GB, free: 47.71 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.524e-05/0.879, allocations: 10.62 kB / 1.038 GB, free: 47.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002242/0.8792, allocations: 50.69 kB / 1.038 GB, free: 47.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003467/0.8827, allocations: 0.8745 MB / 1.039 GB, free: 47.52 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006032/0.8888, allocations: 2.858 MB / 1.042 GB, free: 45.47 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002652/0.8915, allocations: 0.5194 MB / 1.042 GB, free: 45.36 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001096/0.8926, allocations: 264.9 kB / 1.042 GB, free: 45.29 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000151/0.8928, allocations: 90.31 kB / 1.043 GB, free: 45.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.8928, allocations: 38.5 kB / 1.043 GB, free: 45.15 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 4.348e-06/0.8928, allocations: 0 / 1.043 GB, free: 45.15 MB / 0.698 GB Notification: Performance of matching and sorting (n=24): time 0.01802/0.9109, allocations: 3.216 MB / 1.046 GB, free: 44.48 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.911, allocations: 79.58 kB / 1.046 GB, free: 44.38 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009093/0.9119, allocations: 420.4 kB / 1.046 GB, free: 44.18 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.128e-05/0.912, allocations: 36.17 kB / 1.046 GB, free: 44.14 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002237/0.9123, allocations: 241.2 kB / 1.046 GB, free: 43.94 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.9124, allocations: 79.53 kB / 1.047 GB, free: 43.88 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-05/0.9125, allocations: 6.969 kB / 1.047 GB, free: 43.88 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.9126, allocations: 348.5 kB / 1.047 GB, free: 43.55 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/0.914, allocations: 360.9 kB / 1.047 GB, free: 43.45 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001494/0.9155, allocations: 450.2 kB / 1.048 GB, free: 43.26 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002804/0.9184, allocations: 0.7749 MB / 1.048 GB, free: 42.97 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.9184, allocations: 0 / 1.048 GB, free: 42.97 MB / 0.698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.008112/0.9265, allocations: 1.548 MB / 1.05 GB, free: 42.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.683e-05/0.9266, allocations: 142.2 kB / 1.05 GB, free: 42.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.9267, allocations: 7.25 kB / 1.05 GB, free: 42.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006169/0.9328, allocations: 0.8485 MB / 1.051 GB, free: 42.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009994/0.9339, allocations: 133.8 kB / 1.051 GB, free: 42.37 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009613/0.9435, allocations: 4.661 MB / 1.056 GB, free: 39.15 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.9449, allocations: 119.5 kB / 1.056 GB, free: 39.15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.861e-05/0.945, allocations: 16.31 kB / 1.056 GB, free: 39.14 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.945, allocations: 6.781 kB / 1.056 GB, free: 39.14 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006628/0.9517, allocations: 1.256 MB / 1.057 GB, free: 38.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.9517, allocations: 4.188 kB / 1.057 GB, free: 38.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00413/0.9559, allocations: 0.5514 MB / 1.057 GB, free: 38.83 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/0.957, allocations: 150.4 kB / 1.058 GB, free: 38.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005178/0.9622, allocations: 2.501 MB / 1.06 GB, free: 37.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/0.9635, allocations: 116.7 kB / 1.06 GB, free: 37.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.9636, allocations: 17.03 kB / 1.06 GB, free: 37.13 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005992/0.9642, allocations: 320.6 kB / 1.061 GB, free: 36.89 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/0.9644, allocations: 35 kB / 1.061 GB, free: 36.88 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007372/0.9718, allocations: 1.424 MB / 1.062 GB, free: 36.53 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.9719, allocations: 3.188 kB / 1.062 GB, free: 36.53 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.228e-06/0.9719, allocations: 6.797 kB / 1.062 GB, free: 36.53 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.9719, allocations: 3.938 kB / 1.062 GB, free: 36.52 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008829/0.9807, allocations: 2.079 MB / 1.064 GB, free: 35.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.9808, allocations: 0 / 1.064 GB, free: 35.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006359/0.9815, allocations: 90.73 kB / 1.064 GB, free: 35.76 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005671/0.9872, allocations: 0.7919 MB / 1.065 GB, free: 35.68 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.613e-05/0.9873, allocations: 10.8 kB / 1.065 GB, free: 35.67 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00837/0.9957, allocations: 4.488 MB / 1.069 GB, free: 32.48 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.9957, allocations: 4.797 kB / 1.069 GB, free: 32.48 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007034/1.003, allocations: 1.436 MB / 1.071 GB, free: 32.05 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004096/1.003, allocations: 169.2 kB / 1.071 GB, free: 31.92 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001552/1.003, allocations: 10.88 kB / 1.071 GB, free: 31.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009382/1.004, allocations: 99.42 kB / 1.071 GB, free: 31.91 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002052/1.005, allocations: 26.92 kB / 1.071 GB, free: 31.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.042e-05/1.005, allocations: 9.594 kB / 1.071 GB, free: 31.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005609/1.005, allocations: 305.2 kB / 1.071 GB, free: 31.75 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.91e-07/1.005, allocations: 4 kB / 1.071 GB, free: 31.74 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001401/1.007, allocations: 205.8 kB / 1.071 GB, free: 31.73 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002536/1.007, allocations: 116.2 kB / 1.072 GB, free: 31.64 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004326/1.011, allocations: 1.639 MB / 1.073 GB, free: 30.93 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/1.011, allocations: 0 / 1.073 GB, free: 30.93 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001416/1.013, allocations: 0.6678 MB / 1.074 GB, free: 30.59 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007697/1.014, allocations: 117.1 kB / 1.074 GB, free: 30.56 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/1.015, allocations: 1.238 MB / 1.075 GB, free: 29.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004478/1.016, allocations: 0.9142 MB / 1.076 GB, free: 29.16 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005643/1.016, allocations: 153.8 kB / 1.076 GB, free: 29.14 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/1.017, allocations: 37.41 kB / 1.076 GB, free: 29.13 MB / 0.698 GB Notification: Performance of SimCode: time 6.72e-07/1.017, allocations: 0 / 1.076 GB, free: 29.13 MB / 0.698 GB Notification: Performance of Templates: time 0.02064/1.037, allocations: 12.17 MB / 1.088 GB, free: 28.5 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)