Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.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.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine") 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.663/1.663, allocations: 297.4 MB / 312.6 MB, free: 2.969 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.001027/0.001027, allocations: 178 kB / 382.3 MB, free: 14.86 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.611/1.611, allocations: 225.7 MB / 0.6617 GB, free: 7.238 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.001042/0.001042, allocations: 98.28 kB / 0.7789 GB, free: 46.81 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0006402/0.0006403, allocations: 8.812 kB / 0.9058 GB, free: 5.004 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7464/0.747, allocations: 119.2 MB / 1.022 GB, free: 57.57 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.006648/0.7538, allocations: 5.606 MB / 1.028 GB, free: 54.21 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.007053/0.7609, allocations: 6.295 MB / 1.034 GB, free: 48.85 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009211/0.7619, allocations: 20.94 kB / 1.034 GB, free: 48.84 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006392/0.7625, allocations: 146 kB / 1.034 GB, free: 48.76 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002569/0.7651, allocations: 0.7093 MB / 1.035 GB, free: 48.36 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.7662, allocations: 298.8 kB / 1.035 GB, free: 48.21 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002338/0.7685, allocations: 1.438 MB / 1.036 GB, free: 47.66 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000781/0.7693, allocations: 0.5421 MB / 1.037 GB, free: 47.38 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007091/0.77, allocations: 396.6 kB / 1.037 GB, free: 47.23 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006775/0.7707, allocations: 479.4 kB / 1.038 GB, free: 47.05 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.524e-05/0.7708, allocations: 32.16 kB / 1.038 GB, free: 47.05 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006387/0.7714, allocations: 295.9 kB / 1.038 GB, free: 46.96 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001941/0.7716, allocations: 203.6 kB / 1.038 GB, free: 46.88 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003766/0.772, allocations: 388.8 kB / 1.039 GB, free: 46.64 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.7731, allocations: 1.032 MB / 1.04 GB, free: 46.34 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.7731, allocations: 0 / 1.04 GB, free: 46.34 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7731, allocations: 0 / 1.04 GB, free: 46.34 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.413e-05/0.7731, allocations: 0 / 1.04 GB, free: 46.34 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001649/0.7748, allocations: 0.9754 MB / 1.041 GB, free: 45.64 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.7749, allocations: 15.11 kB / 1.041 GB, free: 45.64 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003087/0.778, allocations: 0.6443 MB / 1.041 GB, free: 45.58 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008525/0.7788, allocations: 0.5485 MB / 1.042 GB, free: 45.19 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.289e-05/0.7789, allocations: 33.75 kB / 1.042 GB, free: 45.18 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.862e-05/0.779, allocations: 57.48 kB / 1.042 GB, free: 45.16 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001943/0.7809, allocations: 1.025 MB / 1.043 GB, free: 44.72 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.7809, allocations: 0 / 1.043 GB, free: 44.72 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.668e-05/0.781, allocations: 22.38 kB / 1.043 GB, free: 44.71 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.037e-05/0.7811, allocations: 45.83 kB / 1.043 GB, free: 44.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002086/0.7832, allocations: 1.011 MB / 1.044 GB, free: 44.41 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003997/0.7872, allocations: 3.521 MB / 1.047 GB, free: 41.64 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/0.7886, allocations: 0.5256 MB / 1.048 GB, free: 41.48 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005142/0.7891, allocations: 244.4 kB / 1.048 GB, free: 41.41 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.642e-05/0.7891, allocations: 4.094 kB / 1.048 GB, free: 41.41 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.7892, allocations: 41.72 kB / 1.048 GB, free: 41.36 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 3.006e-06/0.7892, allocations: 0 / 1.048 GB, free: 41.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=43): time 0.006412/0.7956, allocations: 2.217 MB / 1.05 GB, free: 40.62 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.7957, allocations: 59.53 kB / 1.05 GB, free: 40.56 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006783/0.7964, allocations: 0.5647 MB / 1.051 GB, free: 40.29 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.713e-05/0.7964, allocations: 32.67 kB / 1.051 GB, free: 40.26 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/0.7966, allocations: 351.1 kB / 1.051 GB, free: 39.98 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.7967, allocations: 151.8 kB / 1.051 GB, free: 39.86 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.7968, allocations: 11.47 kB / 1.051 GB, free: 39.85 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.7969, allocations: 375.8 kB / 1.052 GB, free: 39.51 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006115/0.7975, allocations: 284.4 kB / 1.052 GB, free: 39.43 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006577/0.7982, allocations: 379.7 kB / 1.052 GB, free: 39.23 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/0.7994, allocations: 0.6617 MB / 1.053 GB, free: 38.92 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.175e-06/0.7995, allocations: 2.938 kB / 1.053 GB, free: 38.92 MB / 0.698 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002151/0.8016, allocations: 0.9747 MB / 1.054 GB, free: 38.55 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001168/0.8017, allocations: 184.3 kB / 1.054 GB, free: 38.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.8018, allocations: 3.219 kB / 1.054 GB, free: 38.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00112/0.8029, allocations: 276 kB / 1.055 GB, free: 38.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006044/0.8035, allocations: 123.5 kB / 1.055 GB, free: 38.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00539/0.8089, allocations: 8.483 MB / 1.063 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007693/0.8097, allocations: 54.25 kB / 1.063 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-05/0.8098, allocations: 17.19 kB / 1.063 GB, free: 30.08 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.8098, allocations: 10.56 kB / 1.063 GB, free: 30.08 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002163/0.812, allocations: 1.081 MB / 1.064 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.812, allocations: 3.062 kB / 1.064 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007384/0.8127, allocations: 222.9 kB / 1.064 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005681/0.8133, allocations: 125.4 kB / 1.064 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004443/0.8178, allocations: 8.171 MB / 1.072 GB, free: 21.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006866/0.8185, allocations: 49.53 kB / 1.072 GB, free: 21.35 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.435e-05/0.8185, allocations: 22.17 kB / 1.072 GB, free: 21.35 MB / 0.698 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 (not torn): 0 * Torn equation systems: 6 * 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,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004172/0.819, allocations: 324.1 kB / 1.073 GB, free: 21.09 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.8191, allocations: 65.16 kB / 1.073 GB, free: 21.05 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001512/0.8193, allocations: 72.41 kB / 1.073 GB, free: 21 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.8193, allocations: 13.72 kB / 1.073 GB, free: 21 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.459e-05/0.8193, allocations: 0 / 1.073 GB, free: 21 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.82e-06/0.8193, allocations: 4.797 kB / 1.073 GB, free: 21 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008562/0.8202, allocations: 0.6505 MB / 1.074 GB, free: 20.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/0.8202, allocations: 0 / 1.074 GB, free: 20.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004812/0.8207, allocations: 94.55 kB / 1.074 GB, free: 20.63 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009413/0.8216, allocations: 264 kB / 1.074 GB, free: 20.54 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.449e-05/0.8217, allocations: 18.5 kB / 1.074 GB, free: 20.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007173/0.8289, allocations: 8.423 MB / 1.082 GB, free: 28.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.8289, allocations: 0 / 1.082 GB, free: 28.39 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002127/0.831, allocations: 0.9604 MB / 1.083 GB, free: 27.96 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003213/0.8314, allocations: 180.9 kB / 1.083 GB, free: 27.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.8315, allocations: 11.09 kB / 1.083 GB, free: 27.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005218/0.832, allocations: 49.86 kB / 1.083 GB, free: 27.8 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/0.8322, allocations: 41.62 kB / 1.083 GB, free: 27.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.475e-05/0.8322, allocations: 16.86 kB / 1.083 GB, free: 27.79 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004537/0.8327, allocations: 397 kB / 1.084 GB, free: 27.61 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8327, allocations: 0 / 1.084 GB, free: 27.61 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001187/0.8339, allocations: 294 kB / 1.084 GB, free: 27.58 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 6 * 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,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000178/0.8341, allocations: 120.3 kB / 1.084 GB, free: 27.48 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003542/0.8376, allocations: 2.426 MB / 1.086 GB, free: 25.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.8377, allocations: 0 / 1.086 GB, free: 25.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001244/0.8389, allocations: 1.024 MB / 1.087 GB, free: 25.01 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.84, allocations: 219.7 kB / 1.088 GB, free: 24.95 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002376/0.8423, allocations: 1.607 MB / 1.089 GB, free: 24.02 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006116/0.843, allocations: 0.9807 MB / 1.09 GB, free: 23.29 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0006742/0.8436, allocations: 146.5 kB / 1.09 GB, free: 23.26 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.8438, allocations: 53.91 kB / 1.09 GB, free: 23.25 MB / 0.7136 GB Notification: Performance of SimCode: time 8.11e-07/0.8438, allocations: 0 / 1.09 GB, free: 23.25 MB / 0.7136 GB Notification: Performance of Templates: time 0.02064/0.8645, allocations: 12.84 MB / 1.103 GB, free: 22.51 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)