Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.025/2.025, allocations: 306.1 MB / 321.4 MB, free: 10.74 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.001247/0.001248, allocations: 180.3 kB / 393.1 MB, free: 4.066 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.524/1.524, allocations: 225.7 MB / 0.6743 GB, free: 12.6 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.0007721/0.0007722, allocations: 95.98 kB / 0.7935 GB, free: 40.16 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004151/0.0004156, allocations: 8 kB / 0.9224 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6133/0.6138, allocations: 121.3 MB / 1.041 GB, free: 58.79 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02248/0.6363, allocations: 20.5 MB / 1.061 GB, free: 44.86 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02706/0.6634, allocations: 25.2 MB / 1.085 GB, free: 23.02 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004823/0.6683, allocations: 103.3 kB / 1.086 GB, free: 22.98 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002978/0.6713, allocations: 0.5807 MB / 1.086 GB, free: 22.66 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01289/0.6842, allocations: 3.2 MB / 1.089 GB, free: 20.82 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003944/0.6882, allocations: 1.19 MB / 1.09 GB, free: 20.13 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01051/0.6987, allocations: 7.053 MB / 1.097 GB, free: 17.39 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004905/0.7037, allocations: 2.553 MB / 1.1 GB, free: 16.24 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005287/0.709, allocations: 2.052 MB / 1.102 GB, free: 15.45 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005863/0.7149, allocations: 2.288 MB / 1.104 GB, free: 14.55 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001654/0.7166, allocations: 175.7 kB / 1.104 GB, free: 14.55 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004442/0.721, allocations: 1.022 MB / 1.105 GB, free: 14.24 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.002305/0.7234, allocations: 0.9575 MB / 1.106 GB, free: 13.84 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.004647/0.7281, allocations: 1.79 MB / 1.108 GB, free: 12.79 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.007893/0.736, allocations: 4.936 MB / 1.113 GB, free: 11.36 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.736, allocations: 3.938 kB / 1.113 GB, free: 11.36 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.475e-06/0.736, allocations: 0 / 1.113 GB, free: 11.36 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002173/0.7363, allocations: 3.938 kB / 1.113 GB, free: 11.36 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: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.0112/0.7475, allocations: 4.07 MB / 1.117 GB, free: 9.156 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.7475, allocations: 9.969 kB / 1.117 GB, free: 9.156 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01609/0.7636, allocations: 3.369 MB / 1.12 GB, free: 8.836 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005363/0.7691, allocations: 2.085 MB / 1.122 GB, free: 7.656 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004119/0.7695, allocations: 469.5 kB / 1.123 GB, free: 7.254 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009933/0.7705, allocations: 235.9 kB / 1.123 GB, free: 7.176 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01339/0.7839, allocations: 4.86 MB / 1.127 GB, free: 5.41 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.586e-05/0.784, allocations: 3.938 kB / 1.127 GB, free: 5.406 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004045/0.7844, allocations: 106.6 kB / 1.128 GB, free: 5.328 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002814/0.7847, allocations: 171.3 kB / 1.128 GB, free: 5.309 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01639/0.8011, allocations: 5.304 MB / 1.133 GB, free: 2.766 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02855/0.8297, allocations: 14.59 MB / 1.147 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01023/0.84, allocations: 3.674 MB / 1.151 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003743/0.8438, allocations: 1.604 MB / 1.152 GB, free: 448 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001259/0.8439, allocations: 21.3 kB / 1.152 GB, free: 428 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004191/0.8481, allocations: 1.911 MB / 1.154 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=163): time 3.587e-06/0.8482, allocations: 4 kB / 1.154 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of matching and sorting (n=250): time 0.13/0.9781, allocations: 34.1 MB / 1.188 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002801/0.9785, allocations: 0.4928 MB / 1.188 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004223/0.9827, allocations: 2.273 MB / 1.19 GB, free: 9.219 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0005711/0.9833, allocations: 73.7 kB / 1.19 GB, free: 9.141 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001562/0.9849, allocations: 1.438 MB / 1.192 GB, free: 7.688 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001245/0.9861, allocations: 0.8163 MB / 1.192 GB, free: 6.859 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003756/0.9865, allocations: 48 kB / 1.193 GB, free: 6.812 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002373/0.9868, allocations: 398.7 kB / 1.193 GB, free: 6.418 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005649/0.9924, allocations: 2.108 MB / 1.195 GB, free: 4.305 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005795/0.9982, allocations: 2.405 MB / 1.197 GB, free: 1.816 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01127/1.01, allocations: 4.525 MB / 1.202 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.056e-05/1.01, allocations: 4 kB / 1.202 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01969/1.029, allocations: 6.891 MB / 1.208 GB, free: 6.172 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001356/1.029, allocations: 152.5 kB / 1.209 GB, free: 5.992 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.744e-05/1.03, allocations: 8 kB / 1.209 GB, free: 5.984 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009997/1.04, allocations: 2.934 MB / 1.211 GB, free: 3.043 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003021/1.043, allocations: 0.5773 MB / 1.212 GB, free: 2.465 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03873/1.081, allocations: 17.31 MB / 1.229 GB, free: 0.8828 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005599/1.087, allocations: 415.6 kB / 1.229 GB, free: 488 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008378/1.088, allocations: 91.97 kB / 1.229 GB, free: 396 kB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.varLoad1.T_start,varLoad1.T_start,$PRE.varLoad1.count,varLoad1.count,$PRE.varLoad2.T_start,varLoad2.T_start,$PRE.varLoad2.count,varLoad2.count,$PRE.varLoad3.T_start,varLoad3.T_start,$PRE.varLoad3.count,varLoad3.count,$PRE.varLoad4.T_start,varLoad4.T_start,$PRE.varLoad4.count,varLoad4.count,$PRE.varLoad5.T_start,varLoad5.T_start,$PRE.varLoad5.count,varLoad5.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,45.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,63)} Notification: Performance of prepare postOptimizeDAE: time 0.002823/1.091, allocations: 0.7144 MB / 1.23 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001301/1.092, allocations: 328.1 kB / 1.23 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/1.093, allocations: 384 kB / 1.231 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/1.093, allocations: 24 kB / 1.231 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.305e-05/1.093, allocations: 12 kB / 1.231 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-05/1.093, allocations: 15.89 kB / 1.231 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008063/1.101, allocations: 3.62 MB / 1.234 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.704e-05/1.102, allocations: 0 / 1.234 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003239/1.105, allocations: 0.5033 MB / 1.235 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009852/1.115, allocations: 2.868 MB / 1.238 GB, free: 7.84 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006668/1.115, allocations: 51.92 kB / 1.238 GB, free: 7.789 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03939/1.155, allocations: 17.11 MB / 1.254 GB, free: 6.391 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/1.155, allocations: 0 / 1.254 GB, free: 6.391 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01979/1.175, allocations: 6.532 MB / 1.261 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002457/1.177, allocations: 0.6922 MB / 1.262 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001455/1.179, allocations: 56.48 kB / 1.262 GB, free: 15.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004019/1.183, allocations: 411.5 kB / 1.262 GB, free: 14.65 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00154/1.184, allocations: 350.7 kB / 1.262 GB, free: 14.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004479/1.185, allocations: 71.91 kB / 1.262 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.00359/1.188, allocations: 1.513 MB / 1.264 GB, free: 12.72 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9.32e-07/1.188, allocations: 0 / 1.264 GB, free: 12.72 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.005071/1.193, allocations: 1.043 MB / 1.265 GB, free: 11.68 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,62)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006617/1.194, allocations: 175 kB / 1.265 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.02361/1.218, allocations: 6.816 MB / 1.272 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/1.218, allocations: 4.75 kB / 1.272 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.01733/1.235, allocations: 4.224 MB / 1.276 GB, free: 344 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007627/1.243, allocations: 1.058 MB / 1.277 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01939/1.262, allocations: 8.114 MB / 1.285 GB, free: 7.148 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003199/1.265, allocations: 2.227 MB / 1.287 GB, free: 4.891 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003718/1.269, allocations: 0.5138 MB / 1.287 GB, free: 4.371 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000975/1.27, allocations: 175.4 kB / 1.288 GB, free: 4.199 MB / 0.8542 GB Notification: Performance of SimCode: time 8.01e-07/1.27, allocations: 0 / 1.288 GB, free: 4.199 MB / 0.8542 GB Notification: Performance of Templates: time 0.6542/1.924, allocations: 72.11 MB / 1.358 GB, free: 225.9 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)