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_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.738/1.738, allocations: 291.7 MB / 306.8 MB, free: 7.684 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.001873/0.001874, allocations: 181.5 kB / 375.4 MB, free: 5.117 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.51/1.51, allocations: 225.7 MB / 0.6538 GB, free: 13.65 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.0008586/0.0008588, allocations: 102.8 kB / 0.7699 GB, free: 50.2 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003882/0.0003885, allocations: 15.98 kB / 0.8956 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6924/0.6928, allocations: 118.1 MB / 1.011 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.006619/0.6995, allocations: 5.966 MB / 1.017 GB, free: 57.18 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.005098/0.7047, allocations: 2.887 MB / 1.02 GB, free: 56.31 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007929/0.7055, allocations: 22.62 kB / 1.02 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0004912/0.706, allocations: 133.1 kB / 1.02 GB, free: 56.24 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.001247/0.7073, allocations: 416.8 kB / 1.02 GB, free: 56.05 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000978/0.7083, allocations: 321.2 kB / 1.02 GB, free: 56 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001263/0.7095, allocations: 1.341 MB / 1.022 GB, free: 55.74 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001584/0.7111, allocations: 0.9949 MB / 1.023 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005782/0.7117, allocations: 393.8 kB / 1.023 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004939/0.7122, allocations: 490 kB / 1.024 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 7.313e-05/0.7123, allocations: 34.69 kB / 1.024 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004951/0.7128, allocations: 187.1 kB / 1.024 GB, free: 55.32 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0002221/0.713, allocations: 269.6 kB / 1.024 GB, free: 55.29 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001383/0.7132, allocations: 176 kB / 1.024 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0007168/0.7139, allocations: 0.898 MB / 1.025 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.7139, allocations: 0 / 1.025 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7139, allocations: 4.812 kB / 1.025 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.22e-05/0.7139, allocations: 0 / 1.025 GB, free: 55.12 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001535/0.7155, allocations: 1.005 MB / 1.026 GB, free: 54.46 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.7155, allocations: 11.66 kB / 1.026 GB, free: 54.46 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001383/0.7169, allocations: 240.1 kB / 1.026 GB, free: 54.42 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007772/0.7177, allocations: 0.5422 MB / 1.027 GB, free: 54.1 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.184e-05/0.7178, allocations: 51.23 kB / 1.027 GB, free: 54.09 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.7179, allocations: 66.7 kB / 1.027 GB, free: 54.09 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/0.7195, allocations: 1.078 MB / 1.028 GB, free: 53.75 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.107e-05/0.7196, allocations: 6.906 kB / 1.028 GB, free: 53.74 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.351e-05/0.7197, allocations: 32.17 kB / 1.028 GB, free: 53.74 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001568/0.7198, allocations: 84.97 kB / 1.028 GB, free: 53.73 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.721, allocations: 0.7461 MB / 1.029 GB, free: 53.7 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00422/0.7252, allocations: 5.906 MB / 1.035 GB, free: 49.28 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000948/0.7262, allocations: 0.5601 MB / 1.035 GB, free: 49.23 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004146/0.7266, allocations: 327.7 kB / 1.035 GB, free: 49.22 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.336e-05/0.7267, allocations: 9.719 kB / 1.035 GB, free: 49.22 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.7267, allocations: 34.25 kB / 1.035 GB, free: 49.18 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=47): time 2.525e-06/0.7267, allocations: 0 / 1.035 GB, free: 49.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48): time 0.003892/0.7306, allocations: 1.983 MB / 1.037 GB, free: 48.54 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.7307, allocations: 57.81 kB / 1.037 GB, free: 48.48 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006542/0.7313, allocations: 0.5526 MB / 1.038 GB, free: 48.24 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.7314, allocations: 33.2 kB / 1.038 GB, free: 48.21 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002496/0.7316, allocations: 417.2 kB / 1.038 GB, free: 47.87 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.7317, allocations: 176.2 kB / 1.039 GB, free: 47.73 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.726e-05/0.7318, allocations: 14.19 kB / 1.039 GB, free: 47.72 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.7319, allocations: 374.2 kB / 1.039 GB, free: 47.38 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004038/0.7323, allocations: 273.1 kB / 1.039 GB, free: 47.29 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004854/0.7328, allocations: 494.5 kB / 1.04 GB, free: 46.91 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008874/0.7337, allocations: 0.8026 MB / 1.04 GB, free: 46.38 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.7337, allocations: 2.562 kB / 1.04 GB, free: 46.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001721/0.7354, allocations: 1.081 MB / 1.042 GB, free: 45.91 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.7355, allocations: 7.656 kB / 1.042 GB, free: 45.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.7355, allocations: 8.125 kB / 1.042 GB, free: 45.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007787/0.7363, allocations: 289.5 kB / 1.042 GB, free: 45.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004656/0.7367, allocations: 120.7 kB / 1.042 GB, free: 45.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00504/0.7418, allocations: 6.596 MB / 1.048 GB, free: 40.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007542/0.7426, allocations: 40.45 kB / 1.048 GB, free: 40.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.811e-05/0.7426, allocations: 27.44 kB / 1.048 GB, free: 40.04 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 (67): * Single equations (assignments): 63 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004348/0.7431, allocations: 255.2 kB / 1.049 GB, free: 39.85 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.7432, allocations: 81.75 kB / 1.049 GB, free: 39.81 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001436/0.7446, allocations: 0.8847 MB / 1.05 GB, free: 39.41 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.7447, allocations: 6.469 kB / 1.05 GB, free: 39.41 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.7447, allocations: 7.719 kB / 1.05 GB, free: 39.41 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.7447, allocations: 8.266 kB / 1.05 GB, free: 39.4 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002808/0.7475, allocations: 1.714 MB / 1.051 GB, free: 38.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.7475, allocations: 3.938 kB / 1.051 GB, free: 38.53 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003813/0.7479, allocations: 64.06 kB / 1.051 GB, free: 38.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001073/0.749, allocations: 268.8 kB / 1.052 GB, free: 38.43 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.844e-05/0.7491, allocations: 9.844 kB / 1.052 GB, free: 38.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004928/0.754, allocations: 6.582 MB / 1.058 GB, free: 32.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/0.754, allocations: 1.75 kB / 1.058 GB, free: 32.67 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/0.7555, allocations: 0.9868 MB / 1.059 GB, free: 32.15 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000281/0.7558, allocations: 196.5 kB / 1.059 GB, free: 32 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.646e-05/0.7559, allocations: 12.31 kB / 1.059 GB, free: 31.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003523/0.7562, allocations: 29.38 kB / 1.059 GB, free: 31.98 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.874e-05/0.7564, allocations: 44.17 kB / 1.059 GB, free: 31.97 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.183e-05/0.7564, allocations: 16.56 kB / 1.059 GB, free: 31.97 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000413/0.7568, allocations: 381.1 kB / 1.06 GB, free: 31.79 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7568, allocations: 0 / 1.06 GB, free: 31.79 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008189/0.7576, allocations: 225.9 kB / 1.06 GB, free: 31.77 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001379/0.7578, allocations: 115.3 kB / 1.06 GB, free: 31.67 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001766/0.7596, allocations: 1.263 MB / 1.061 GB, free: 30.93 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.391e-06/0.7596, allocations: 4.688 kB / 1.061 GB, free: 30.93 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.7606, allocations: 0.8998 MB / 1.062 GB, free: 30.31 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.7617, allocations: 197.4 kB / 1.062 GB, free: 30.25 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.7636, allocations: 1.582 MB / 1.064 GB, free: 29.32 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001198/0.7648, allocations: 1.009 MB / 1.065 GB, free: 44.59 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0004753/0.7653, allocations: 122.3 kB / 1.065 GB, free: 44.57 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.7654, allocations: 38.47 kB / 1.065 GB, free: 44.56 MB / 0.7292 GB Notification: Performance of SimCode: time 1.152e-06/0.7654, allocations: 0 / 1.065 GB, free: 44.56 MB / 0.7292 GB Notification: Performance of Templates: time 0.01548/0.7809, allocations: 10.28 MB / 1.075 GB, free: 44.07 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)