Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.658/1.658, allocations: 297.4 MB / 312.6 MB, free: 2.934 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.001008/0.001008, allocations: 186 kB / 382.3 MB, free: 14.83 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.554/1.554, allocations: 225.7 MB / 0.6617 GB, free: 7.211 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.0007848/0.0007848, allocations: 93.25 kB / 0.7789 GB, free: 46.89 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005179/0.000518, allocations: 12 kB / 0.9058 GB, free: 4.93 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7242/0.7247, allocations: 119.2 MB / 1.022 GB, free: 57.99 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.004485/0.7293, allocations: 3.848 MB / 1.026 GB, free: 55.82 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002767/0.7321, allocations: 2.986 MB / 1.029 GB, free: 53.11 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001936/0.7323, allocations: 11.44 kB / 1.029 GB, free: 53.11 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002206/0.7325, allocations: 72.97 kB / 1.029 GB, free: 53.07 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0004874/0.733, allocations: 246.1 kB / 1.029 GB, free: 52.93 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005144/0.7335, allocations: 234.6 kB / 1.029 GB, free: 52.82 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0007161/0.7343, allocations: 0.8391 MB / 1.03 GB, free: 52.52 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000419/0.7347, allocations: 434.7 kB / 1.031 GB, free: 52.28 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002022/0.7349, allocations: 205.2 kB / 1.031 GB, free: 52.2 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003862/0.7353, allocations: 250.1 kB / 1.031 GB, free: 52.11 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.164e-05/0.7354, allocations: 23.91 kB / 1.031 GB, free: 52.11 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004555/0.7358, allocations: 297.3 kB / 1.031 GB, free: 52.01 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.736, allocations: 128.3 kB / 1.032 GB, free: 51.96 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001687/0.7361, allocations: 226.6 kB / 1.032 GB, free: 51.82 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005425/0.7367, allocations: 0.5935 MB / 1.032 GB, free: 51.65 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.7367, allocations: 4.125 kB / 1.032 GB, free: 51.65 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7367, allocations: 1.938 kB / 1.032 GB, free: 51.65 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.134e-06/0.7367, allocations: 0 / 1.032 GB, free: 51.65 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.0009323/0.7377, allocations: 0.6676 MB / 1.033 GB, free: 51.12 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.7377, allocations: 9.406 kB / 1.033 GB, free: 51.12 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009031/0.7386, allocations: 150.4 kB / 1.033 GB, free: 51.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003851/0.739, allocations: 331.3 kB / 1.033 GB, free: 50.82 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.7391, allocations: 27.14 kB / 1.034 GB, free: 50.81 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.944e-05/0.7391, allocations: 34.5 kB / 1.034 GB, free: 50.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007434/0.7399, allocations: 0.5319 MB / 1.034 GB, free: 50.52 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.7399, allocations: 5.469 kB / 1.034 GB, free: 50.52 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.944e-05/0.7399, allocations: 14.38 kB / 1.034 GB, free: 50.51 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-05/0.74, allocations: 31.89 kB / 1.034 GB, free: 50.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005496/0.7406, allocations: 385.9 kB / 1.034 GB, free: 50.37 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002053/0.7426, allocations: 2.409 MB / 1.037 GB, free: 48.32 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004774/0.7431, allocations: 261.7 kB / 1.037 GB, free: 48.21 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/0.7433, allocations: 110.3 kB / 1.037 GB, free: 48.16 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.7433, allocations: 3.531 kB / 1.037 GB, free: 48.16 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.7433, allocations: 35.56 kB / 1.037 GB, free: 48.12 MB / 0.698 GB Notification: Performance of pre-optimization done (n=20): time 1.313e-06/0.7433, allocations: 0 / 1.037 GB, free: 48.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.001905/0.7452, allocations: 1.128 MB / 1.038 GB, free: 47.37 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/0.7453, allocations: 57.03 kB / 1.038 GB, free: 47.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002558/0.7455, allocations: 296.8 kB / 1.039 GB, free: 47.14 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.7456, allocations: 33.7 kB / 1.039 GB, free: 47.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.7457, allocations: 235 kB / 1.039 GB, free: 46.91 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.895e-05/0.7457, allocations: 86.11 kB / 1.039 GB, free: 46.84 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.335e-05/0.7457, allocations: 4 kB / 1.039 GB, free: 46.84 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.751e-05/0.7458, allocations: 340 kB / 1.039 GB, free: 46.51 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.746, allocations: 96.88 kB / 1.039 GB, free: 46.48 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.7462, allocations: 194.9 kB / 1.04 GB, free: 46.33 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003449/0.7465, allocations: 310.9 kB / 1.04 GB, free: 46.13 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.7465, allocations: 3.281 kB / 1.04 GB, free: 46.13 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006386/0.7472, allocations: 439.7 kB / 1.04 GB, free: 45.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.7472, allocations: 9.25 kB / 1.04 GB, free: 45.92 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.7472, allocations: 8.812 kB / 1.04 GB, free: 45.92 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003753/0.7476, allocations: 96.7 kB / 1.04 GB, free: 45.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002707/0.7479, allocations: 64.45 kB / 1.041 GB, free: 45.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002246/0.7501, allocations: 4.084 MB / 1.044 GB, free: 41.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001989/0.7503, allocations: 8.375 kB / 1.045 GB, free: 41.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/0.7504, allocations: 14.03 kB / 1.045 GB, free: 41.84 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.0001828/0.7506, allocations: 193.6 kB / 1.045 GB, free: 41.68 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.143e-05/0.7506, allocations: 24.34 kB / 1.045 GB, free: 41.67 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.198e-05/0.7507, allocations: 37.05 kB / 1.045 GB, free: 41.64 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.7507, allocations: 6.234 kB / 1.045 GB, free: 41.64 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/0.7507, allocations: 0 / 1.045 GB, free: 41.64 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.7507, allocations: 4.734 kB / 1.045 GB, free: 41.64 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004387/0.7512, allocations: 405.8 kB / 1.045 GB, free: 41.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.7512, allocations: 0 / 1.045 GB, free: 41.36 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001964/0.7514, allocations: 36.69 kB / 1.045 GB, free: 41.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002846/0.7517, allocations: 97.86 kB / 1.045 GB, free: 41.32 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.7517, allocations: 0 / 1.045 GB, free: 41.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002153/0.7539, allocations: 4.073 MB / 1.049 GB, free: 37.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.7539, allocations: 1.5 kB / 1.049 GB, free: 37.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007094/0.7546, allocations: 0.5509 MB / 1.05 GB, free: 36.98 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.7547, allocations: 131 kB / 1.05 GB, free: 36.86 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.717e-05/0.7547, allocations: 2.531 kB / 1.05 GB, free: 36.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.7549, allocations: 14.19 kB / 1.05 GB, free: 36.86 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/0.755, allocations: 20.03 kB / 1.05 GB, free: 36.85 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.755, allocations: 9.422 kB / 1.05 GB, free: 36.85 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001948/0.7552, allocations: 213.7 kB / 1.05 GB, free: 36.73 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7552, allocations: 0 / 1.05 GB, free: 36.73 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004721/0.7557, allocations: 96 kB / 1.05 GB, free: 36.72 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.0001339/0.7558, allocations: 112 kB / 1.05 GB, free: 36.62 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007577/0.7566, allocations: 0.6033 MB / 1.051 GB, free: 36.19 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.7566, allocations: 1.625 kB / 1.051 GB, free: 36.19 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004108/0.757, allocations: 474.8 kB / 1.051 GB, free: 35.81 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004628/0.7575, allocations: 76.77 kB / 1.051 GB, free: 35.78 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.7586, allocations: 0.9025 MB / 1.052 GB, free: 35.21 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.7589, allocations: 0.8348 MB / 1.053 GB, free: 34.49 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000206/0.7591, allocations: 64.27 kB / 1.053 GB, free: 34.48 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.528e-05/0.7592, allocations: 24.47 kB / 1.053 GB, free: 34.47 MB / 0.698 GB Notification: Performance of SimCode: time 3.2e-07/0.7592, allocations: 0 / 1.053 GB, free: 34.47 MB / 0.698 GB Notification: Performance of Templates: time 0.00752/0.7667, allocations: 4.216 MB / 1.057 GB, free: 34.21 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)