Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.771/1.771, allocations: 292.6 MB / 307.9 MB, free: 7.156 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.001172/0.001172, allocations: 193 kB / 376.5 MB, free: 4.457 MB / 298.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.608/1.608, allocations: 225.7 MB / 0.655 GB, free: 13.14 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.0009604/0.0009605, allocations: 100.8 kB / 0.7711 GB, free: 50.37 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004719/0.0004721, allocations: 8 kB / 0.897 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7475/0.748, allocations: 118.2 MB / 1.012 GB, free: 57.81 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.004593/0.7527, allocations: 3.85 MB / 1.016 GB, free: 57.6 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003943/0.7567, allocations: 3 MB / 1.019 GB, free: 57.17 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002081/0.7569, allocations: 15.53 kB / 1.019 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.000523/0.7574, allocations: 163.9 kB / 1.019 GB, free: 57.09 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0006612/0.7581, allocations: 334.1 kB / 1.02 GB, free: 56.95 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004532/0.7586, allocations: 189.3 kB / 1.02 GB, free: 56.92 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0006342/0.7592, allocations: 0.6627 MB / 1.02 GB, free: 56.79 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001067/0.7603, allocations: 0.814 MB / 1.021 GB, free: 56.56 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002401/0.7605, allocations: 188.9 kB / 1.021 GB, free: 56.52 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000302/0.7608, allocations: 235.3 kB / 1.022 GB, free: 56.46 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.46e-05/0.7609, allocations: 20.34 kB / 1.022 GB, free: 56.46 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005766/0.7615, allocations: 360.3 kB / 1.022 GB, free: 56.41 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.7616, allocations: 138 kB / 1.022 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.000174/0.7618, allocations: 218.8 kB / 1.022 GB, free: 56.29 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0005814/0.7624, allocations: 0.674 MB / 1.023 GB, free: 56.22 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.7624, allocations: 0 / 1.023 GB, free: 56.22 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.273e-06/0.7624, allocations: 0.5625 kB / 1.023 GB, free: 56.22 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.7624, allocations: 2.094 kB / 1.023 GB, free: 56.22 MB / 0.7136 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.001014/0.7634, allocations: 0.7237 MB / 1.024 GB, free: 55.69 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.7635, allocations: 9.031 kB / 1.024 GB, free: 55.69 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002529/0.766, allocations: 0.6841 MB / 1.024 GB, free: 55.67 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006849/0.7667, allocations: 493.5 kB / 1.025 GB, free: 55.41 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/0.7667, allocations: 24.66 kB / 1.025 GB, free: 55.41 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.531e-05/0.7668, allocations: 36.23 kB / 1.025 GB, free: 55.4 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/0.7682, allocations: 0.7859 MB / 1.026 GB, free: 55.29 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.7682, allocations: 0 / 1.026 GB, free: 55.29 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.725e-05/0.7683, allocations: 12.19 kB / 1.026 GB, free: 55.29 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001278/0.7684, allocations: 56.69 kB / 1.026 GB, free: 55.29 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001754/0.7702, allocations: 0.8867 MB / 1.027 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003592/0.7738, allocations: 2.854 MB / 1.029 GB, free: 53.62 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/0.7755, allocations: 0.5181 MB / 1.03 GB, free: 53.6 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006306/0.7761, allocations: 268.6 kB / 1.03 GB, free: 53.59 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.539e-05/0.7762, allocations: 90.33 kB / 1.03 GB, free: 53.49 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.7763, allocations: 30.56 kB / 1.03 GB, free: 53.45 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 2.775e-06/0.7763, allocations: 0 / 1.03 GB, free: 53.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24): time 0.01095/0.7872, allocations: 3.214 MB / 1.033 GB, free: 53.16 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.7873, allocations: 83.67 kB / 1.033 GB, free: 53.07 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005799/0.7879, allocations: 420.9 kB / 1.034 GB, free: 52.95 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.697e-05/0.788, allocations: 31.08 kB / 1.034 GB, free: 52.92 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.7881, allocations: 232.5 kB / 1.034 GB, free: 52.78 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.736e-05/0.7882, allocations: 88.98 kB / 1.034 GB, free: 52.72 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.603e-05/0.7882, allocations: 7.688 kB / 1.034 GB, free: 52.71 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.7884, allocations: 347.2 kB / 1.035 GB, free: 52.4 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000945/0.7893, allocations: 360.6 kB / 1.035 GB, free: 52.4 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/0.7904, allocations: 446.8 kB / 1.035 GB, free: 52.3 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001895/0.7923, allocations: 0.7718 MB / 1.036 GB, free: 52.21 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.7923, allocations: 1.062 kB / 1.036 GB, free: 52.21 MB / 0.7136 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.005262/0.7976, allocations: 1.545 MB / 1.038 GB, free: 52.11 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.568e-05/0.7977, allocations: 148.3 kB / 1.038 GB, free: 51.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.7977, allocations: 2.938 kB / 1.038 GB, free: 51.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003805/0.8015, allocations: 0.8504 MB / 1.039 GB, free: 51.92 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006554/0.8022, allocations: 137.2 kB / 1.039 GB, free: 51.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01061/0.8128, allocations: 4.665 MB / 1.043 GB, free: 49.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/0.8141, allocations: 120.9 kB / 1.043 GB, free: 49.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.802e-05/0.8142, allocations: 15.52 kB / 1.043 GB, free: 49.25 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.8142, allocations: 4.906 kB / 1.043 GB, free: 49.25 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006671/0.8209, allocations: 1.258 MB / 1.045 GB, free: 48.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.821, allocations: 3.625 kB / 1.045 GB, free: 48.99 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004488/0.8255, allocations: 0.5587 MB / 1.045 GB, free: 48.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/0.8267, allocations: 144.2 kB / 1.045 GB, free: 48.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005778/0.8325, allocations: 2.505 MB / 1.048 GB, free: 47.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.8338, allocations: 110.4 kB / 1.048 GB, free: 47.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.695e-05/0.8339, allocations: 15.92 kB / 1.048 GB, free: 47.24 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005852/0.8345, allocations: 326 kB / 1.048 GB, free: 47 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.8347, allocations: 32.81 kB / 1.048 GB, free: 46.98 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007891/0.8426, allocations: 1.422 MB / 1.05 GB, free: 46.64 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/0.8427, allocations: 5.625 kB / 1.05 GB, free: 46.64 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.8427, allocations: 4 kB / 1.05 GB, free: 46.64 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.8427, allocations: 3.938 kB / 1.05 GB, free: 46.64 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01002/0.8527, allocations: 2.084 MB / 1.052 GB, free: 45.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/0.8528, allocations: 0 / 1.052 GB, free: 45.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007398/0.8536, allocations: 92.17 kB / 1.052 GB, free: 45.87 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005952/0.8595, allocations: 0.7942 MB / 1.053 GB, free: 45.79 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.99e-05/0.8596, allocations: 4 kB / 1.053 GB, free: 45.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00876/0.8684, allocations: 4.486 MB / 1.057 GB, free: 42.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.8685, allocations: 3.25 kB / 1.057 GB, free: 42.6 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007403/0.8759, allocations: 1.445 MB / 1.058 GB, free: 42.17 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004854/0.8764, allocations: 165 kB / 1.058 GB, free: 42.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.8766, allocations: 11.84 kB / 1.058 GB, free: 42.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.8776, allocations: 107.6 kB / 1.059 GB, free: 42.02 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00022/0.8779, allocations: 19.25 kB / 1.059 GB, free: 42.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.86e-05/0.8779, allocations: 10.06 kB / 1.059 GB, free: 42.01 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000582/0.8785, allocations: 310.9 kB / 1.059 GB, free: 41.86 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.71e-07/0.8785, allocations: 0 / 1.059 GB, free: 41.86 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001357/0.8799, allocations: 203.7 kB / 1.059 GB, free: 41.85 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002823/0.8802, allocations: 126.2 kB / 1.059 GB, free: 41.75 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004837/0.8851, allocations: 1.627 MB / 1.061 GB, free: 41.05 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.094e-06/0.8851, allocations: 6.688 kB / 1.061 GB, free: 41.05 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001511/0.8866, allocations: 0.6727 MB / 1.061 GB, free: 40.71 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.8877, allocations: 113.6 kB / 1.062 GB, free: 40.68 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/0.8897, allocations: 1.216 MB / 1.063 GB, free: 40.06 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004683/0.8902, allocations: 0.9095 MB / 1.064 GB, free: 39.32 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0005556/0.8907, allocations: 153.7 kB / 1.064 GB, free: 39.3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.8909, allocations: 36.91 kB / 1.064 GB, free: 39.29 MB / 0.7136 GB Notification: Performance of SimCode: time 2.304e-06/0.8909, allocations: 0 / 1.064 GB, free: 39.29 MB / 0.7136 GB Notification: Performance of Templates: time 0.01896/0.9099, allocations: 12 MB / 1.076 GB, free: 38.76 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)