Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.294/2.294, allocations: 254.9 MB / 269.9 MB, free: 9.633 MB / 218.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.001379/0.001378, allocations: 195.3 kB / 329.5 MB, free: 1.145 MB / 250.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 2.536/2.536, allocations: 225.6 MB / 0.6001 GB, free: 464 kB / 426.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.001035/0.001035, allocations: 102.4 kB / 0.7074 GB, free: 6.211 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004931/0.0004934, allocations: 11.41 kB / 0.8242 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2375, allocations: 109.1 MB / 0.9308 GB, free: 24.88 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.007617/0.2452, allocations: 3.808 MB / 0.9345 GB, free: 21.05 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.004833/0.2501, allocations: 1.742 MB / 0.9362 GB, free: 19.3 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004542/0.2506, allocations: 11.94 kB / 0.9362 GB, free: 19.29 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0004119/0.251, allocations: 71.42 kB / 0.9363 GB, free: 19.22 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0009945/0.252, allocations: 198.9 kB / 0.9365 GB, free: 19.03 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.2531, allocations: 191.6 kB / 0.9366 GB, free: 18.84 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001154/0.2543, allocations: 0.6811 MB / 0.9373 GB, free: 18.16 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007405/0.255, allocations: 400.9 kB / 0.9377 GB, free: 17.73 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004043/0.2555, allocations: 203.2 kB / 0.9379 GB, free: 17.53 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007179/0.2562, allocations: 255.1 kB / 0.9381 GB, free: 17.28 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 9.566e-05/0.2563, allocations: 23.94 kB / 0.9381 GB, free: 17.26 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000573/0.2569, allocations: 127.8 kB / 0.9383 GB, free: 17.13 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001921/0.2571, allocations: 119.7 kB / 0.9384 GB, free: 17.02 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.2573, allocations: 97.52 kB / 0.9385 GB, free: 16.91 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0007815/0.2581, allocations: 463 kB / 0.9389 GB, free: 16.46 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.2581, allocations: 0 / 0.9389 GB, free: 16.46 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.314e-06/0.2581, allocations: 4 kB / 0.9389 GB, free: 16.46 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.345e-06/0.2581, allocations: 0 / 0.9389 GB, free: 16.46 MB / 0.5886 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.0018/0.2599, allocations: 0.6591 MB / 0.9396 GB, free: 15.75 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.26, allocations: 12.03 kB / 0.9396 GB, free: 15.74 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002047/0.2621, allocations: 152.2 kB / 0.9397 GB, free: 15.59 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007391/0.2628, allocations: 326.6 kB / 0.94 GB, free: 15.23 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.164e-05/0.2629, allocations: 29.36 kB / 0.9401 GB, free: 15.2 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.263, allocations: 36.38 kB / 0.9401 GB, free: 15.17 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.2645, allocations: 0.5278 MB / 0.9406 GB, free: 14.6 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/0.2645, allocations: 4 kB / 0.9406 GB, free: 14.6 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.659e-05/0.2646, allocations: 16 kB / 0.9406 GB, free: 14.58 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.106e-05/0.2647, allocations: 32.64 kB / 0.9407 GB, free: 14.55 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.2659, allocations: 382.3 kB / 0.941 GB, free: 14.18 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004168/0.2701, allocations: 2.415 MB / 0.9434 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009673/0.2711, allocations: 262.5 kB / 0.9436 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003246/0.2715, allocations: 108.8 kB / 0.9437 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.2715, allocations: 0 / 0.9437 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.2715, allocations: 38.56 kB / 0.9438 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=20): time 2.545e-06/0.2716, allocations: 0 / 0.9438 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of matching and sorting (n=23): time 0.00396/0.2755, allocations: 1.117 MB / 0.9449 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.2756, allocations: 59.41 kB / 0.9449 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005045/0.2761, allocations: 304.3 kB / 0.9452 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.698e-05/0.2762, allocations: 29.7 kB / 0.9452 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.2764, allocations: 231.6 kB / 0.9455 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 9.571e-05/0.2765, allocations: 90.69 kB / 0.9455 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/0.2765, allocations: 8 kB / 0.9456 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.771e-05/0.2766, allocations: 338.8 kB / 0.9459 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003363/0.277, allocations: 100.6 kB / 0.946 GB, free: 8.727 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000405/0.2774, allocations: 196.3 kB / 0.9462 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004084/0.2778, allocations: 127 kB / 0.9463 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.2778, allocations: 4 kB / 0.9463 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001473/0.2793, allocations: 435.7 kB / 0.9467 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.2794, allocations: 11.91 kB / 0.9467 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.2794, allocations: 4 kB / 0.9467 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006796/0.2801, allocations: 102.4 kB / 0.9468 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006156/0.2807, allocations: 63.94 kB / 0.9469 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004354/0.2851, allocations: 4.076 MB / 0.9509 GB, free: 3.262 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005479/0.2857, allocations: 8 kB / 0.9509 GB, free: 3.254 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.344e-05/0.2858, allocations: 16 kB / 0.9509 GB, free: 3.238 MB / 0.5886 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003372/0.2861, allocations: 181.8 kB / 0.9511 GB, free: 3.051 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.2862, allocations: 31.62 kB / 0.9511 GB, free: 3.02 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/0.2864, allocations: 38.31 kB / 0.9511 GB, free: 2.977 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-06/0.2864, allocations: 0 / 0.9511 GB, free: 2.977 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/0.2864, allocations: 7.938 kB / 0.9511 GB, free: 2.969 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.2864, allocations: 7.922 kB / 0.9511 GB, free: 2.961 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007814/0.2872, allocations: 401.3 kB / 0.9515 GB, free: 2.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.2873, allocations: 0 / 0.9515 GB, free: 2.52 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004082/0.2877, allocations: 35.98 kB / 0.9516 GB, free: 2.484 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000601/0.2883, allocations: 90.5 kB / 0.9516 GB, free: 2.387 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.749e-05/0.2883, allocations: 0 / 0.9516 GB, free: 2.387 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00469/0.293, allocations: 4.083 MB / 0.9556 GB, free: 13.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.2931, allocations: 4.016 kB / 0.9556 GB, free: 13.91 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001785/0.2949, allocations: 0.5503 MB / 0.9562 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000268/0.2952, allocations: 128.7 kB / 0.9563 GB, free: 13.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.2953, allocations: 4 kB / 0.9563 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004743/0.2958, allocations: 15.98 kB / 0.9563 GB, free: 13.17 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.267e-05/0.2959, allocations: 15.98 kB / 0.9563 GB, free: 13.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.273e-05/0.296, allocations: 12 kB / 0.9563 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004212/0.2964, allocations: 207.1 kB / 0.9565 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.11e-07/0.2964, allocations: 4 kB / 0.9565 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001032/0.2975, allocations: 96 kB / 0.9566 GB, free: 12.84 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002195/0.2977, allocations: 111.7 kB / 0.9567 GB, free: 12.72 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001628/0.2993, allocations: 0.6064 MB / 0.9573 GB, free: 12.08 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/0.2994, allocations: 0 / 0.9573 GB, free: 12.08 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009662/0.3004, allocations: 472.6 kB / 0.9578 GB, free: 11.58 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.3014, allocations: 75.17 kB / 0.9578 GB, free: 11.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002357/0.3038, allocations: 0.8594 MB / 0.9587 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007753/0.3046, allocations: 0.8348 MB / 0.9595 GB, free: 9.758 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005076/0.3051, allocations: 62.92 kB / 0.9596 GB, free: 9.695 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.3053, allocations: 19.44 kB / 0.9596 GB, free: 9.676 MB / 0.6042 GB Notification: Performance of SimCode: time 1.012e-06/0.3053, allocations: 4 kB / 0.9596 GB, free: 9.672 MB / 0.6042 GB Notification: Performance of Templates: time 0.01902/0.3243, allocations: 4.105 MB / 0.9636 GB, free: 5.57 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)