Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.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.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.871/1.871, allocations: 306.1 MB / 321.4 MB, free: 10.73 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.0014/0.001399, allocations: 179.9 kB / 393.1 MB, free: 4.09 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.55/1.55, allocations: 225.7 MB / 0.6743 GB, free: 12.63 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.0007381/0.0007381, allocations: 88.09 kB / 0.7935 GB, free: 39.95 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003401/0.0003401, allocations: 11.98 kB / 0.9224 GB, free: 8.672 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7281/0.7284, allocations: 121.3 MB / 1.041 GB, free: 57.97 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.004388/0.7329, allocations: 3.855 MB / 1.045 GB, free: 55.41 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002893/0.7358, allocations: 2.981 MB / 1.048 GB, free: 52.71 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002178/0.736, allocations: 9.312 kB / 1.048 GB, free: 52.71 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002384/0.7363, allocations: 66.02 kB / 1.048 GB, free: 52.67 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0005327/0.7368, allocations: 247.7 kB / 1.048 GB, free: 52.54 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005467/0.7374, allocations: 232.4 kB / 1.048 GB, free: 52.42 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0007446/0.7381, allocations: 0.8369 MB / 1.049 GB, free: 52.12 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005666/0.7387, allocations: 446.1 kB / 1.049 GB, free: 51.88 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000234/0.739, allocations: 202.9 kB / 1.05 GB, free: 51.8 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004569/0.7394, allocations: 253.8 kB / 1.05 GB, free: 51.71 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.1e-05/0.7395, allocations: 18.69 kB / 1.05 GB, free: 51.71 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005327/0.74, allocations: 297.4 kB / 1.05 GB, free: 51.61 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.7402, allocations: 128.3 kB / 1.05 GB, free: 51.57 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000192/0.7404, allocations: 228.1 kB / 1.05 GB, free: 51.43 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006392/0.741, allocations: 0.5988 MB / 1.051 GB, free: 51.25 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.741, allocations: 0 / 1.051 GB, free: 51.25 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.485e-06/0.741, allocations: 0 / 1.051 GB, free: 51.25 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.7411, allocations: 0 / 1.051 GB, free: 51.25 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001109/0.7422, allocations: 0.6714 MB / 1.052 GB, free: 50.71 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.7422, allocations: 8.531 kB / 1.052 GB, free: 50.71 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009398/0.7432, allocations: 150.8 kB / 1.052 GB, free: 50.68 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000395/0.7436, allocations: 332 kB / 1.052 GB, free: 50.41 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.333e-05/0.7436, allocations: 26.59 kB / 1.052 GB, free: 50.39 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.932e-05/0.7437, allocations: 34.77 kB / 1.052 GB, free: 50.38 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007713/0.7445, allocations: 0.526 MB / 1.053 GB, free: 50.11 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.7445, allocations: 5.156 kB / 1.053 GB, free: 50.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.076e-05/0.7445, allocations: 20.58 kB / 1.053 GB, free: 50.09 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.095e-05/0.7446, allocations: 30.45 kB / 1.053 GB, free: 50.09 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005571/0.7452, allocations: 383.1 kB / 1.053 GB, free: 49.95 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00233/0.7475, allocations: 2.413 MB / 1.055 GB, free: 47.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005262/0.748, allocations: 257.6 kB / 1.056 GB, free: 47.79 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/0.7482, allocations: 113 kB / 1.056 GB, free: 47.75 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.7483, allocations: 0 / 1.056 GB, free: 47.75 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.7483, allocations: 36.78 kB / 1.056 GB, free: 47.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=20): time 1.313e-06/0.7483, allocations: 0 / 1.056 GB, free: 47.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.002117/0.7504, allocations: 1.126 MB / 1.057 GB, free: 46.95 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.7505, allocations: 58.25 kB / 1.057 GB, free: 46.89 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003015/0.7508, allocations: 302 kB / 1.057 GB, free: 46.72 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.7508, allocations: 34.83 kB / 1.057 GB, free: 46.68 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.7509, allocations: 226.7 kB / 1.058 GB, free: 46.49 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.188e-05/0.751, allocations: 86.3 kB / 1.058 GB, free: 46.43 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.425e-05/0.751, allocations: 7.938 kB / 1.058 GB, free: 46.42 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.723e-05/0.7511, allocations: 336.3 kB / 1.058 GB, free: 46.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.7512, allocations: 100.7 kB / 1.058 GB, free: 46.06 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001866/0.7514, allocations: 186.8 kB / 1.058 GB, free: 45.92 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003478/0.7518, allocations: 314.7 kB / 1.059 GB, free: 45.71 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.7518, allocations: 3.938 kB / 1.059 GB, free: 45.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006692/0.7525, allocations: 439.1 kB / 1.059 GB, free: 45.51 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.7525, allocations: 12.97 kB / 1.059 GB, free: 45.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.7525, allocations: 7.281 kB / 1.059 GB, free: 45.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003795/0.7529, allocations: 95.72 kB / 1.059 GB, free: 45.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003143/0.7532, allocations: 59.7 kB / 1.059 GB, free: 45.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003213/0.7565, allocations: 4.079 MB / 1.063 GB, free: 41.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002807/0.7568, allocations: 10.94 kB / 1.063 GB, free: 41.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/0.7568, allocations: 11.88 kB / 1.063 GB, free: 41.43 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002893/0.7571, allocations: 185.8 kB / 1.063 GB, free: 41.27 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.036e-05/0.7572, allocations: 36.31 kB / 1.063 GB, free: 41.25 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.612e-05/0.7573, allocations: 38.83 kB / 1.063 GB, free: 41.22 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.7573, allocations: 3 kB / 1.063 GB, free: 41.22 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/0.7573, allocations: 0 / 1.063 GB, free: 41.22 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.7573, allocations: 4.266 kB / 1.063 GB, free: 41.22 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005221/0.7578, allocations: 395.3 kB / 1.064 GB, free: 40.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.7578, allocations: 4 kB / 1.064 GB, free: 40.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.758, allocations: 44.67 kB / 1.064 GB, free: 40.94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003201/0.7584, allocations: 90.48 kB / 1.064 GB, free: 40.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.7584, allocations: 4 kB / 1.064 GB, free: 40.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002314/0.7607, allocations: 4.062 MB / 1.068 GB, free: 36.89 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.7607, allocations: 0 / 1.068 GB, free: 36.89 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007692/0.7615, allocations: 0.5589 MB / 1.068 GB, free: 36.57 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.7617, allocations: 128.2 kB / 1.069 GB, free: 36.45 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.676e-05/0.7617, allocations: 4 kB / 1.069 GB, free: 36.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001974/0.7619, allocations: 12.16 kB / 1.069 GB, free: 36.45 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.504e-05/0.762, allocations: 25.72 kB / 1.069 GB, free: 36.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.762, allocations: 9.938 kB / 1.069 GB, free: 36.43 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001819/0.7622, allocations: 208.7 kB / 1.069 GB, free: 36.32 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7622, allocations: 0 / 1.069 GB, free: 36.32 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004771/0.7627, allocations: 99.53 kB / 1.069 GB, free: 36.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001384/0.7628, allocations: 107.7 kB / 1.069 GB, free: 36.21 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007731/0.7636, allocations: 0.6048 MB / 1.07 GB, free: 35.78 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.7636, allocations: 3.094 kB / 1.07 GB, free: 35.78 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004133/0.764, allocations: 476.7 kB / 1.07 GB, free: 35.39 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004907/0.7645, allocations: 76.19 kB / 1.07 GB, free: 35.36 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.7657, allocations: 0.8987 MB / 1.071 GB, free: 34.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.766, allocations: 0.8292 MB / 1.072 GB, free: 34.09 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000207/0.7662, allocations: 60.92 kB / 1.072 GB, free: 34.07 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.75e-05/0.7663, allocations: 23.34 kB / 1.072 GB, free: 34.06 MB / 0.698 GB Notification: Performance of SimCode: time 3e-07/0.7663, allocations: 0 / 1.072 GB, free: 34.06 MB / 0.698 GB Notification: Performance of Templates: time 0.007731/0.774, allocations: 4.227 MB / 1.076 GB, free: 33.8 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)