Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.74/1.74, allocations: 291.7 MB / 306.8 MB, free: 7.695 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.001025/0.001025, allocations: 197.4 kB / 375.4 MB, free: 5.125 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.445/1.445, allocations: 225.7 MB / 0.6538 GB, free: 13.54 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.0008381/0.0008378, allocations: 106.2 kB / 0.7699 GB, free: 50.47 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004397/0.0004398, allocations: 12 kB / 0.8956 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6788/0.6793, allocations: 118.1 MB / 1.011 GB, free: 58.02 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01063/0.6899, allocations: 9.727 MB / 1.02 GB, free: 56.32 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.01124/0.7012, allocations: 8.246 MB / 1.028 GB, free: 53.59 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001607/0.7029, allocations: 47.84 kB / 1.029 GB, free: 53.57 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0007948/0.7037, allocations: 271 kB / 1.029 GB, free: 53.41 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.004252/0.708, allocations: 1.266 MB / 1.03 GB, free: 52.71 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001643/0.7096, allocations: 466.3 kB / 1.03 GB, free: 52.49 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.003532/0.7132, allocations: 2.47 MB / 1.033 GB, free: 51.44 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003199/0.7164, allocations: 1.917 MB / 1.035 GB, free: 50.54 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001786/0.7182, allocations: 0.7917 MB / 1.036 GB, free: 50.24 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001381/0.7196, allocations: 0.9059 MB / 1.036 GB, free: 49.9 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001607/0.7197, allocations: 59.41 kB / 1.036 GB, free: 49.9 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001311/0.7211, allocations: 459 kB / 1.037 GB, free: 49.78 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0005447/0.7216, allocations: 486.3 kB / 1.037 GB, free: 49.61 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.000409/0.722, allocations: 339.1 kB / 1.038 GB, free: 49.43 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002238/0.7243, allocations: 1.961 MB / 1.04 GB, free: 49 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.7243, allocations: 0 / 1.04 GB, free: 49 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.635e-06/0.7243, allocations: 4 kB / 1.04 GB, free: 49 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.91e-05/0.7243, allocations: 2.75 kB / 1.04 GB, free: 49 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.00284/0.7272, allocations: 1.705 MB / 1.041 GB, free: 47.89 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.7272, allocations: 10.45 kB / 1.041 GB, free: 47.89 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01073/0.738, allocations: 2.111 MB / 1.043 GB, free: 47.76 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002759/0.7408, allocations: 1.123 MB / 1.044 GB, free: 47.09 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.191e-05/0.7409, allocations: 87.94 kB / 1.045 GB, free: 47.05 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002393/0.7411, allocations: 124.9 kB / 1.045 GB, free: 47 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005972/0.7471, allocations: 2.493 MB / 1.047 GB, free: 46 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.006e-05/0.7472, allocations: 5.656 kB / 1.047 GB, free: 45.99 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001726/0.7474, allocations: 55.42 kB / 1.047 GB, free: 45.95 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004088/0.7478, allocations: 129.1 kB / 1.047 GB, free: 45.94 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007865/0.7557, allocations: 2.585 MB / 1.05 GB, free: 45.31 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01278/0.7685, allocations: 10.12 MB / 1.06 GB, free: 37.99 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005456/0.774, allocations: 2.004 MB / 1.062 GB, free: 37.51 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002467/0.7765, allocations: 0.9895 MB / 1.063 GB, free: 37.27 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.328e-05/0.7766, allocations: 11.23 kB / 1.063 GB, free: 37.27 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.7766, allocations: 38.31 kB / 1.063 GB, free: 37.22 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=53): time 5.751e-06/0.7766, allocations: 1.688 kB / 1.063 GB, free: 37.22 MB / 0.7136 GB Notification: Performance of matching and sorting (n=81): time 0.02755/0.8042, allocations: 8.781 MB / 1.071 GB, free: 35.21 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.8043, allocations: 57.69 kB / 1.071 GB, free: 35.15 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001578/0.8059, allocations: 1.09 MB / 1.072 GB, free: 34.7 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001265/0.806, allocations: 36.55 kB / 1.072 GB, free: 34.66 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004276/0.8064, allocations: 0.7406 MB / 1.073 GB, free: 34.08 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002196/0.8067, allocations: 286.7 kB / 1.073 GB, free: 33.86 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.057e-05/0.8068, allocations: 19.75 kB / 1.073 GB, free: 33.84 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.538e-05/0.8069, allocations: 340.3 kB / 1.074 GB, free: 33.52 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002588/0.8094, allocations: 1.091 MB / 1.075 GB, free: 33.25 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002641/0.8121, allocations: 1.32 MB / 1.076 GB, free: 32.69 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005222/0.8173, allocations: 2.414 MB / 1.078 GB, free: 31.75 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.8174, allocations: 3.281 kB / 1.078 GB, free: 31.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.007917/0.8253, allocations: 3.302 MB / 1.082 GB, free: 30.71 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/0.8254, allocations: 10.38 kB / 1.082 GB, free: 30.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/0.8254, allocations: 10.72 kB / 1.082 GB, free: 30.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003014/0.8284, allocations: 0.791 MB / 1.082 GB, free: 30.46 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001756/0.8302, allocations: 426.2 kB / 1.083 GB, free: 30.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01332/0.8435, allocations: 14.68 MB / 1.097 GB, free: 18.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002537/0.8461, allocations: 301.3 kB / 1.097 GB, free: 18.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.8463, allocations: 55.92 kB / 1.098 GB, free: 18.11 MB / 0.7136 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 (82): * Single equations (assignments): 74 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 2,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008896/0.8472, allocations: 396 kB / 1.098 GB, free: 17.86 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000222/0.8474, allocations: 142.6 kB / 1.098 GB, free: 17.79 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007781/0.8552, allocations: 3.249 MB / 1.101 GB, free: 16.79 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.8552, allocations: 6.094 kB / 1.101 GB, free: 16.79 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/0.8553, allocations: 13.03 kB / 1.101 GB, free: 16.79 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.8553, allocations: 3.047 kB / 1.101 GB, free: 16.79 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01034/0.8656, allocations: 4.94 MB / 1.106 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.8657, allocations: 7.5 kB / 1.106 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001553/0.8673, allocations: 360.7 kB / 1.106 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002201/0.8695, allocations: 0.6906 MB / 1.107 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.824e-05/0.8696, allocations: 34.56 kB / 1.107 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01386/0.8834, allocations: 14.32 MB / 1.121 GB, free: 18.58 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.8835, allocations: 3.531 kB / 1.121 GB, free: 18.58 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008648/0.8921, allocations: 3.078 MB / 1.124 GB, free: 17.5 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/0.8932, allocations: 385.9 kB / 1.124 GB, free: 17.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002183/0.8934, allocations: 19.61 kB / 1.124 GB, free: 17.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001957/0.8954, allocations: 304.5 kB / 1.125 GB, free: 17.23 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003338/0.8957, allocations: 81.31 kB / 1.125 GB, free: 17.21 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/0.8959, allocations: 37.3 kB / 1.125 GB, free: 17.21 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001192/0.8971, allocations: 0.7343 MB / 1.126 GB, free: 16.9 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8971, allocations: 0 / 1.126 GB, free: 16.9 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001884/0.899, allocations: 435.6 kB / 1.126 GB, free: 16.86 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000281/0.8992, allocations: 134.8 kB / 1.126 GB, free: 16.75 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.009212/0.9085, allocations: 3.653 MB / 1.13 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.9085, allocations: 1.062 kB / 1.13 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.005382/0.9139, allocations: 2.381 MB / 1.132 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003124/0.917, allocations: 475.1 kB / 1.132 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008108/0.9252, allocations: 3.941 MB / 1.136 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00144/0.9266, allocations: 1.385 MB / 1.138 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002033/0.9287, allocations: 380.6 kB / 1.138 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003649/0.9291, allocations: 106.6 kB / 1.138 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of SimCode: time 9.12e-07/0.9291, allocations: 1.125 kB / 1.138 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of Templates: time 0.05367/0.9828, allocations: 28.13 MB / 1.166 GB, free: 9.098 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)