Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.955/1.955, allocations: 306.1 MB / 321.4 MB, free: 10.78 MB / 250.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.00177/0.001771, allocations: 179.5 kB / 393.1 MB, free: 4.098 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.704/1.704, allocations: 225.7 MB / 0.6743 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008276/0.0008276, allocations: 102.5 kB / 0.7935 GB, free: 40.14 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004574/0.0004576, allocations: 8 kB / 0.9224 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8089/0.8094, allocations: 121.3 MB / 1.041 GB, free: 58.58 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009261/0.8187, allocations: 6.031 MB / 1.047 GB, free: 54.54 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.006866/0.8257, allocations: 4.31 MB / 1.051 GB, free: 50.89 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001074/0.8268, allocations: 21.34 kB / 1.051 GB, free: 50.88 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006604/0.8275, allocations: 136.8 kB / 1.051 GB, free: 50.8 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002529/0.83, allocations: 485.3 kB / 1.052 GB, free: 50.53 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001947/0.832, allocations: 386.3 kB / 1.052 GB, free: 50.34 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003138/0.8352, allocations: 1.582 MB / 1.054 GB, free: 49.75 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003069/0.8383, allocations: 1.525 MB / 1.055 GB, free: 48.62 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001384/0.8397, allocations: 398.8 kB / 1.055 GB, free: 48.47 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001176/0.8409, allocations: 0.4888 MB / 1.056 GB, free: 48.28 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001535/0.8411, allocations: 32.56 kB / 1.056 GB, free: 48.28 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001527/0.8426, allocations: 428.2 kB / 1.056 GB, free: 48.14 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004375/0.8431, allocations: 271.6 kB / 1.057 GB, free: 48.05 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007275/0.8438, allocations: 423.1 kB / 1.057 GB, free: 47.79 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002353/0.8462, allocations: 1.184 MB / 1.058 GB, free: 47.45 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.8462, allocations: 4 kB / 1.058 GB, free: 47.45 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.924e-06/0.8462, allocations: 0 / 1.058 GB, free: 47.45 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.553e-05/0.8463, allocations: 0 / 1.058 GB, free: 47.45 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002459/0.8487, allocations: 1.005 MB / 1.059 GB, free: 46.74 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.844e-05/0.8488, allocations: 17.81 kB / 1.059 GB, free: 46.74 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002149/0.851, allocations: 231.4 kB / 1.059 GB, free: 46.69 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.8522, allocations: 0.5394 MB / 1.06 GB, free: 46.32 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.037e-05/0.8523, allocations: 54.5 kB / 1.06 GB, free: 46.29 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/0.8524, allocations: 62.8 kB / 1.06 GB, free: 46.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002122/0.8545, allocations: 1.096 MB / 1.061 GB, free: 45.63 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.469e-05/0.8546, allocations: 6.75 kB / 1.061 GB, free: 45.63 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.941e-05/0.8547, allocations: 32.83 kB / 1.061 GB, free: 45.61 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002117/0.8549, allocations: 87.25 kB / 1.061 GB, free: 45.59 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001705/0.8566, allocations: 0.7458 MB / 1.062 GB, free: 45.33 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006741/0.8634, allocations: 5.895 MB / 1.068 GB, free: 40.32 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001398/0.8649, allocations: 0.5507 MB / 1.068 GB, free: 40.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006029/0.8655, allocations: 333.3 kB / 1.069 GB, free: 39.97 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.261e-05/0.8655, allocations: 3.312 kB / 1.069 GB, free: 39.97 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.8656, allocations: 37.78 kB / 1.069 GB, free: 39.93 MB / 0.698 GB Notification: Performance of pre-optimization done (n=47): time 5.17e-06/0.8656, allocations: 0 / 1.069 GB, free: 39.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.005494/0.8711, allocations: 1.994 MB / 1.07 GB, free: 38.88 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.8712, allocations: 54.84 kB / 1.071 GB, free: 38.81 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009911/0.8722, allocations: 0.5435 MB / 1.071 GB, free: 38.56 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.704e-05/0.8723, allocations: 37.08 kB / 1.071 GB, free: 38.52 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002799/0.8726, allocations: 417.4 kB / 1.072 GB, free: 38.18 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/0.8727, allocations: 166.6 kB / 1.072 GB, free: 38.05 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.872e-05/0.8728, allocations: 15.16 kB / 1.072 GB, free: 38.04 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.873, allocations: 376.1 kB / 1.072 GB, free: 37.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005493/0.8735, allocations: 272.8 kB / 1.072 GB, free: 37.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000684/0.8742, allocations: 0.4905 MB / 1.073 GB, free: 37.22 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001378/0.8756, allocations: 0.8111 MB / 1.074 GB, free: 36.68 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.8756, allocations: 0 / 1.074 GB, free: 36.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002633/0.8783, allocations: 1.083 MB / 1.075 GB, free: 36.22 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.245e-05/0.8783, allocations: 17.47 kB / 1.075 GB, free: 36.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/0.8783, allocations: 6.562 kB / 1.075 GB, free: 36.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001187/0.8795, allocations: 273.6 kB / 1.075 GB, free: 36.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007574/0.8803, allocations: 128.6 kB / 1.075 GB, free: 36.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006935/0.8873, allocations: 6.596 MB / 1.081 GB, free: 30.35 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/0.8884, allocations: 38.75 kB / 1.082 GB, free: 30.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.224e-05/0.8885, allocations: 28.72 kB / 1.082 GB, free: 30.33 MB / 0.698 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (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.0005182/0.889, allocations: 256.6 kB / 1.082 GB, free: 30.14 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001694/0.8892, allocations: 70.25 kB / 1.082 GB, free: 30.11 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002108/0.8913, allocations: 0.8826 MB / 1.083 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.8913, allocations: 5.844 kB / 1.083 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.8913, allocations: 2.906 kB / 1.083 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.8914, allocations: 4.172 kB / 1.083 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003634/0.895, allocations: 1.726 MB / 1.084 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/0.895, allocations: 7.875 kB / 1.084 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004015/0.8954, allocations: 67.58 kB / 1.084 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001101/0.8966, allocations: 261.7 kB / 1.085 GB, free: 28.74 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.075e-05/0.8966, allocations: 14.88 kB / 1.085 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007128/0.9038, allocations: 6.587 MB / 1.091 GB, free: 22.95 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.249e-06/0.9038, allocations: 1.75 kB / 1.091 GB, free: 22.95 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002501/0.9063, allocations: 0.9754 MB / 1.092 GB, free: 22.44 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004691/0.9068, allocations: 189.9 kB / 1.092 GB, free: 22.29 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.907, allocations: 15.38 kB / 1.092 GB, free: 22.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005845/0.9076, allocations: 28.14 kB / 1.092 GB, free: 22.27 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001968/0.9078, allocations: 44.77 kB / 1.092 GB, free: 22.26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-05/0.9079, allocations: 19.19 kB / 1.092 GB, free: 22.26 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006622/0.9085, allocations: 379 kB / 1.093 GB, free: 22.08 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9085, allocations: 0 / 1.093 GB, free: 22.08 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001468/0.91, allocations: 221.1 kB / 1.093 GB, free: 22.06 MB / 0.698 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002123/0.9103, allocations: 122 kB / 1.093 GB, free: 21.96 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002658/0.9129, allocations: 1.269 MB / 1.094 GB, free: 21.22 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.9129, allocations: 5.469 kB / 1.094 GB, free: 21.21 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001553/0.9145, allocations: 0.8923 MB / 1.095 GB, free: 20.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001739/0.9163, allocations: 213.2 kB / 1.095 GB, free: 20.54 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003293/0.9196, allocations: 1.648 MB / 1.097 GB, free: 19.53 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007947/0.9204, allocations: 1.009 MB / 1.098 GB, free: 18.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007705/0.9212, allocations: 119.8 kB / 1.098 GB, free: 18.78 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/0.9214, allocations: 49.22 kB / 1.098 GB, free: 18.77 MB / 0.698 GB Notification: Performance of SimCode: time 9.92e-07/0.9214, allocations: 0 / 1.098 GB, free: 18.77 MB / 0.698 GB Notification: Performance of Templates: time 0.03405/0.9554, allocations: 10.61 MB / 1.109 GB, free: 18.09 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)