Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.448/1.448, allocations: 255.9 MB / 271.2 MB, free: 8.922 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.0008995/0.0008995, allocations: 185.8 kB / 330.8 MB, free: 0.4922 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 1.705/1.705, allocations: 225.7 MB / 0.6016 GB, free: 1.598 MB / 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.001275/0.001275, allocations: 108.1 kB / 0.709 GB, free: 7.043 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003495, allocations: 8 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.1952, allocations: 109.2 MB / 0.9327 GB, free: 6.273 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02222/0.2175, allocations: 20.49 MB / 0.9528 GB, free: 1.727 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.03144/0.249, allocations: 25.2 MB / 0.9774 GB, free: 6.453 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004121/0.2531, allocations: 103.4 kB / 0.9775 GB, free: 6.352 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003044/0.2562, allocations: 0.5814 MB / 0.978 GB, free: 5.766 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.01212/0.2684, allocations: 3.209 MB / 0.9812 GB, free: 2.543 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004124/0.2725, allocations: 1.182 MB / 0.9823 GB, free: 1.359 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.01123/0.2838, allocations: 7.06 MB / 0.9892 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005575/0.2894, allocations: 2.546 MB / 0.9917 GB, free: 7.633 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00512/0.2946, allocations: 2.05 MB / 0.9937 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00546/0.3001, allocations: 2.295 MB / 0.9959 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001761/0.3019, allocations: 176 kB / 0.9961 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003615/0.3055, allocations: 1.021 MB / 0.9971 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.002134/0.3077, allocations: 0.9612 MB / 0.998 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.4668/0.7745, allocations: 1.776 MB / 0.9998 GB, free: 24.86 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01105/0.7856, allocations: 4.938 MB / 1.005 GB, free: 24.64 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.019e-05/0.7857, allocations: 1.125 kB / 1.005 GB, free: 24.64 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.268e-06/0.7857, allocations: 0.9062 kB / 1.005 GB, free: 24.64 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002659/0.7859, allocations: 0 / 1.005 GB, free: 24.64 MB / 0.6355 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.0156/0.8016, allocations: 4.077 MB / 1.009 GB, free: 22.78 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.104e-05/0.8016, allocations: 12.89 kB / 1.009 GB, free: 22.78 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01822/0.8199, allocations: 3.367 MB / 1.012 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006703/0.8266, allocations: 2.091 MB / 1.014 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005776/0.8273, allocations: 468.7 kB / 1.014 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001591/0.8289, allocations: 236.2 kB / 1.015 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01472/0.8436, allocations: 4.852 MB / 1.019 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.923e-05/0.8437, allocations: 4.844 kB / 1.019 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004202/0.8441, allocations: 106.6 kB / 1.019 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002743/0.8444, allocations: 169.8 kB / 1.02 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01473/0.8591, allocations: 5.298 MB / 1.025 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02401/0.8832, allocations: 14.6 MB / 1.039 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009596/0.8928, allocations: 3.67 MB / 1.043 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003767/0.8966, allocations: 1.592 MB / 1.044 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001497/0.8968, allocations: 28.67 kB / 1.044 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004552/0.9014, allocations: 1.925 MB / 1.046 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=163): time 4.338e-06/0.9014, allocations: 0 / 1.046 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of matching and sorting (n=250): time 0.1181/1.02, allocations: 34.09 MB / 1.079 GB, free: 9.207 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002499/1.02, allocations: 0.4922 MB / 1.08 GB, free: 8.605 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003565/1.023, allocations: 2.273 MB / 1.082 GB, free: 6.449 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0006043/1.024, allocations: 77.7 kB / 1.082 GB, free: 6.367 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001281/1.025, allocations: 1.429 MB / 1.084 GB, free: 4.926 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.001044/1.026, allocations: 0.8198 MB / 1.084 GB, free: 4.113 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002035/1.027, allocations: 44 kB / 1.084 GB, free: 4.07 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001906/1.027, allocations: 405.2 kB / 1.085 GB, free: 3.672 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005305/1.032, allocations: 2.105 MB / 1.087 GB, free: 1.562 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006046/1.038, allocations: 2.412 MB / 1.089 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01051/1.049, allocations: 4.518 MB / 1.094 GB, free: 10.44 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-06/1.049, allocations: 2.625 kB / 1.094 GB, free: 10.44 MB / 0.6667 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01991/1.069, allocations: 6.901 MB / 1.1 GB, free: 3.551 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001571/1.069, allocations: 148.5 kB / 1.1 GB, free: 3.375 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/1.069, allocations: 4 kB / 1.1 GB, free: 3.371 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01049/1.079, allocations: 2.946 MB / 1.103 GB, free: 436 kB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00365/1.083, allocations: 0.5667 MB / 1.104 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03733/1.12, allocations: 17.32 MB / 1.121 GB, free: 14.33 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005717/1.126, allocations: 419.4 kB / 1.121 GB, free: 13.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006254/1.127, allocations: 91.97 kB / 1.121 GB, free: 13.83 MB / 0.698 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.002232/1.129, allocations: 0.7052 MB / 1.122 GB, free: 13.13 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009502/1.13, allocations: 332.1 kB / 1.122 GB, free: 12.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007687/1.131, allocations: 383.4 kB / 1.123 GB, free: 12.43 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.357e-05/1.131, allocations: 27.94 kB / 1.123 GB, free: 12.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.812e-05/1.131, allocations: 8 kB / 1.123 GB, free: 12.39 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.795e-05/1.131, allocations: 15.95 kB / 1.123 GB, free: 12.38 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005707/1.137, allocations: 3.628 MB / 1.126 GB, free: 8.754 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-05/1.137, allocations: 0 / 1.126 GB, free: 8.754 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002624/1.139, allocations: 0.498 MB / 1.127 GB, free: 8.266 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009904/1.149, allocations: 2.865 MB / 1.13 GB, free: 5.395 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006125/1.15, allocations: 51.97 kB / 1.13 GB, free: 5.344 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03828/1.188, allocations: 17.11 MB / 1.146 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/1.188, allocations: 0 / 1.146 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.019/1.207, allocations: 6.531 MB / 1.153 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002463/1.21, allocations: 0.7 MB / 1.153 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006787/1.211, allocations: 44 kB / 1.153 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003422/1.214, allocations: 419.5 kB / 1.154 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001248/1.215, allocations: 350 kB / 1.154 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002315/1.215, allocations: 71.97 kB / 1.154 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002192/1.218, allocations: 1.509 MB / 1.156 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.8e-07/1.218, allocations: 4 kB / 1.156 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003066/1.221, allocations: 1.043 MB / 1.157 GB, free: 9.367 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: 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.0003434/1.221, allocations: 171.1 kB / 1.157 GB, free: 9.203 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.02267/1.244, allocations: 6.828 MB / 1.164 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.238e-06/1.244, allocations: 4.125 kB / 1.164 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.01764/1.261, allocations: 4.217 MB / 1.168 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005635/1.267, allocations: 1.05 MB / 1.169 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01486/1.282, allocations: 8.128 MB / 1.177 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00189/1.284, allocations: 2.235 MB / 1.179 GB, free: 2.641 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002713/1.287, allocations: 0.5099 MB / 1.179 GB, free: 2.125 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006762/1.287, allocations: 171.4 kB / 1.179 GB, free: 1.957 MB / 0.7448 GB Notification: Performance of SimCode: time 7.81e-07/1.287, allocations: 10.62 kB / 1.179 GB, free: 1.949 MB / 0.7448 GB Notification: Performance of Templates: time 0.1161/1.403, allocations: 72.11 MB / 1.25 GB, free: 10.36 MB / 0.823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)