Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.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.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.626/1.626, allocations: 291.7 MB / 306.8 MB, free: 7.648 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.001432/0.001432, allocations: 181.5 kB / 375.4 MB, free: 5.098 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.487/1.487, allocations: 225.7 MB / 0.6538 GB, free: 13.53 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.0008411/0.0008413, allocations: 93.25 kB / 0.7699 GB, free: 50.35 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004043/0.0004043, allocations: 16 kB / 0.8956 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7975/0.7979, allocations: 118.1 MB / 1.011 GB, free: 57.69 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.007126/0.8051, allocations: 5.56 MB / 1.016 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.007063/0.8122, allocations: 4.24 MB / 1.02 GB, free: 56.08 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009042/0.8132, allocations: 20.69 kB / 1.02 GB, free: 56.07 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0005395/0.8137, allocations: 136.3 kB / 1.021 GB, free: 56.01 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.002291/0.816, allocations: 0.632 MB / 1.021 GB, free: 55.72 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009796/0.817, allocations: 240.2 kB / 1.021 GB, free: 55.7 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001517/0.8185, allocations: 1.207 MB / 1.023 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007012/0.8193, allocations: 0.5384 MB / 1.023 GB, free: 55.31 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005844/0.8198, allocations: 377 kB / 1.024 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006854/0.8205, allocations: 469.9 kB / 1.024 GB, free: 55.1 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 8.883e-05/0.8206, allocations: 37.28 kB / 1.024 GB, free: 55.1 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004594/0.8211, allocations: 143.1 kB / 1.024 GB, free: 55.09 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.000195/0.8213, allocations: 204.5 kB / 1.024 GB, free: 55.06 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.8215, allocations: 166.5 kB / 1.025 GB, free: 55 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0007789/0.8223, allocations: 0.8054 MB / 1.025 GB, free: 54.9 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.8223, allocations: 0 / 1.025 GB, free: 54.9 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.564e-06/0.8223, allocations: 2.812 kB / 1.025 GB, free: 54.9 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.8223, allocations: 0 / 1.025 GB, free: 54.9 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001578/0.8239, allocations: 0.9676 MB / 1.026 GB, free: 54.28 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.8239, allocations: 9.469 kB / 1.026 GB, free: 54.28 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002991/0.8269, allocations: 0.6589 MB / 1.027 GB, free: 54.21 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008307/0.8278, allocations: 0.5396 MB / 1.027 GB, free: 53.9 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.402e-05/0.8278, allocations: 42.05 kB / 1.027 GB, free: 53.89 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.8279, allocations: 55.31 kB / 1.028 GB, free: 53.89 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001961/0.8299, allocations: 1.016 MB / 1.029 GB, free: 53.73 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.8299, allocations: 0 / 1.029 GB, free: 53.73 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.449e-05/0.83, allocations: 31.48 kB / 1.029 GB, free: 53.72 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-05/0.8301, allocations: 49.78 kB / 1.029 GB, free: 53.72 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002254/0.8324, allocations: 1.011 MB / 1.03 GB, free: 53.7 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003834/0.8362, allocations: 3.522 MB / 1.033 GB, free: 51.42 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/0.8378, allocations: 0.5154 MB / 1.034 GB, free: 51.38 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005689/0.8384, allocations: 254.7 kB / 1.034 GB, free: 51.37 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.428e-05/0.8384, allocations: 8.609 kB / 1.034 GB, free: 51.36 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.8384, allocations: 39.64 kB / 1.034 GB, free: 51.32 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=31): time 2.144e-06/0.8384, allocations: 0 / 1.034 GB, free: 51.32 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43): time 0.007121/0.8456, allocations: 2.214 MB / 1.036 GB, free: 50.92 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.8456, allocations: 59.38 kB / 1.036 GB, free: 50.86 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008798/0.8465, allocations: 0.5713 MB / 1.037 GB, free: 50.72 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.972e-05/0.8466, allocations: 33.27 kB / 1.037 GB, free: 50.68 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002003/0.8468, allocations: 358 kB / 1.037 GB, free: 50.4 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.8469, allocations: 149.4 kB / 1.037 GB, free: 50.28 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.57e-05/0.8469, allocations: 11 kB / 1.037 GB, free: 50.27 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.847, allocations: 370.9 kB / 1.037 GB, free: 49.93 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006647/0.8477, allocations: 274.3 kB / 1.038 GB, free: 49.86 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006876/0.8484, allocations: 388.7 kB / 1.038 GB, free: 49.66 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/0.8498, allocations: 0.6594 MB / 1.039 GB, free: 49.35 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.8498, allocations: 2.656 kB / 1.039 GB, free: 49.35 MB / 0.7136 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002361/0.8521, allocations: 0.9809 MB / 1.04 GB, free: 48.97 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001/0.8523, allocations: 176.7 kB / 1.04 GB, free: 48.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.8523, allocations: 3.438 kB / 1.04 GB, free: 48.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/0.8534, allocations: 277.7 kB / 1.04 GB, free: 48.67 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006707/0.8541, allocations: 125.3 kB / 1.04 GB, free: 48.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005773/0.8599, allocations: 8.473 MB / 1.049 GB, free: 40.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007969/0.8607, allocations: 57.61 kB / 1.049 GB, free: 40.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.517e-05/0.8608, allocations: 21.5 kB / 1.049 GB, free: 40.52 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.8608, allocations: 3.25 kB / 1.049 GB, free: 40.52 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00241/0.8632, allocations: 1.089 MB / 1.05 GB, free: 39.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.8632, allocations: 0 / 1.05 GB, free: 39.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007758/0.864, allocations: 214.2 kB / 1.05 GB, free: 39.86 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006192/0.8646, allocations: 139 kB / 1.05 GB, free: 39.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005735/0.8704, allocations: 8.169 MB / 1.058 GB, free: 47.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000839/0.8713, allocations: 54.64 kB / 1.058 GB, free: 47.79 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.242e-05/0.8714, allocations: 19.58 kB / 1.058 GB, free: 47.79 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (47): * Single equations (assignments): 41 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006501/0.872, allocations: 316.7 kB / 1.058 GB, free: 47.53 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002307/0.8722, allocations: 64.75 kB / 1.058 GB, free: 47.5 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001951/0.8724, allocations: 80.69 kB / 1.058 GB, free: 47.44 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.8725, allocations: 8.062 kB / 1.058 GB, free: 47.44 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.215e-05/0.8725, allocations: 4.125 kB / 1.059 GB, free: 47.44 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.8725, allocations: 2.812 kB / 1.059 GB, free: 47.44 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/0.8737, allocations: 0.6446 MB / 1.059 GB, free: 47.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.8737, allocations: 1.375 kB / 1.059 GB, free: 47.08 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005479/0.8743, allocations: 101.8 kB / 1.059 GB, free: 47.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009653/0.8753, allocations: 263.7 kB / 1.059 GB, free: 46.98 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.098e-05/0.8753, allocations: 10.16 kB / 1.059 GB, free: 46.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006912/0.8822, allocations: 8.422 MB / 1.068 GB, free: 38.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.8823, allocations: 0.8281 kB / 1.068 GB, free: 38.84 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002394/0.8847, allocations: 0.9584 MB / 1.069 GB, free: 38.42 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004165/0.8851, allocations: 179.6 kB / 1.069 GB, free: 38.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001554/0.8853, allocations: 18.91 kB / 1.069 GB, free: 38.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005563/0.8859, allocations: 48.89 kB / 1.069 GB, free: 38.25 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/0.886, allocations: 43.38 kB / 1.069 GB, free: 38.24 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.039e-05/0.8861, allocations: 10.28 kB / 1.069 GB, free: 38.24 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005922/0.8867, allocations: 402.1 kB / 1.069 GB, free: 38.05 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8867, allocations: 0 / 1.069 GB, free: 38.05 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00145/0.8882, allocations: 297.6 kB / 1.07 GB, free: 38.03 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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): 25 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001875/0.8883, allocations: 123.4 kB / 1.07 GB, free: 37.93 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003853/0.8922, allocations: 2.417 MB / 1.072 GB, free: 36.25 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.8922, allocations: 128 / 1.072 GB, free: 36.25 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001326/0.8936, allocations: 1.032 MB / 1.073 GB, free: 35.46 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/0.8948, allocations: 198.7 kB / 1.073 GB, free: 35.41 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002738/0.8976, allocations: 1.529 MB / 1.075 GB, free: 34.55 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007421/0.8983, allocations: 0.9804 MB / 1.076 GB, free: 33.82 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000712/0.8991, allocations: 147.4 kB / 1.076 GB, free: 33.79 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.8992, allocations: 54.66 kB / 1.076 GB, free: 33.78 MB / 0.7292 GB Notification: Performance of SimCode: time 6.51e-07/0.8992, allocations: 0 / 1.076 GB, free: 33.78 MB / 0.7292 GB Notification: Performance of Templates: time 0.02187/0.9211, allocations: 12.51 MB / 1.088 GB, free: 33.23 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)