Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.777/1.777, allocations: 292.6 MB / 307.8 MB, free: 7.184 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.001308/0.001308, allocations: 196.8 kB / 376.5 MB, free: 4.453 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.464/1.464, allocations: 225.7 MB / 0.655 GB, free: 13.15 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.000764/0.000764, allocations: 94.52 kB / 0.7711 GB, free: 50.39 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004039/0.0004041, allocations: 16.66 kB / 0.897 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7522/0.7526, allocations: 118.2 MB / 1.012 GB, free: 58.05 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.0216/0.7743, allocations: 20.25 MB / 1.032 GB, free: 51.91 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.02551/0.7998, allocations: 16.51 MB / 1.048 GB, free: 40.73 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005592/0.8055, allocations: 103.7 kB / 1.048 GB, free: 40.69 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.003868/0.8094, allocations: 0.5613 MB / 1.049 GB, free: 40.38 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01478/0.8242, allocations: 3.028 MB / 1.052 GB, free: 38.68 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.004863/0.8291, allocations: 0.9563 MB / 1.053 GB, free: 38.23 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.01058/0.8397, allocations: 5.968 MB / 1.059 GB, free: 35.65 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005508/0.8453, allocations: 2.548 MB / 1.061 GB, free: 34.57 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006061/0.8513, allocations: 1.97 MB / 1.063 GB, free: 33.83 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006071/0.8575, allocations: 2.21 MB / 1.065 GB, free: 33 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.001558/0.8591, allocations: 175.1 kB / 1.065 GB, free: 33 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004385/0.8635, allocations: 1.019 MB / 1.066 GB, free: 32.69 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.002114/0.8656, allocations: 0.9521 MB / 1.067 GB, free: 32.32 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.004011/0.8696, allocations: 1.709 MB / 1.069 GB, free: 31.35 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.006075/0.8757, allocations: 3.968 MB / 1.073 GB, free: 30.46 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.8758, allocations: 4 kB / 1.073 GB, free: 30.46 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.444e-06/0.8758, allocations: 0 / 1.073 GB, free: 30.46 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002439/0.876, allocations: 2.938 kB / 1.073 GB, free: 30.46 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: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.01036/0.8864, allocations: 4.057 MB / 1.077 GB, free: 28.27 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.8865, allocations: 9.719 kB / 1.077 GB, free: 28.27 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01622/0.9027, allocations: 3.372 MB / 1.08 GB, free: 27.95 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005115/0.9078, allocations: 2.083 MB / 1.082 GB, free: 26.77 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004017/0.9083, allocations: 473.1 kB / 1.083 GB, free: 26.36 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00112/0.9094, allocations: 237.4 kB / 1.083 GB, free: 26.29 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01251/0.9219, allocations: 4.849 MB / 1.088 GB, free: 24.54 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.036e-05/0.922, allocations: 3.938 kB / 1.088 GB, free: 24.53 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003842/0.9224, allocations: 105 kB / 1.088 GB, free: 24.45 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002095/0.9226, allocations: 180.2 kB / 1.088 GB, free: 24.43 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01467/0.9373, allocations: 5.298 MB / 1.093 GB, free: 22.92 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02396/0.9613, allocations: 14.6 MB / 1.107 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009593/0.971, allocations: 3.669 MB / 1.111 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003716/0.9747, allocations: 1.59 MB / 1.112 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001358/0.9749, allocations: 28.09 kB / 1.112 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004531/0.9794, allocations: 1.909 MB / 1.114 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=163): time 4.709e-06/0.9795, allocations: 0 / 1.114 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of matching and sorting (n=250): time 0.1435/1.123, allocations: 34.11 MB / 1.148 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000307/1.123, allocations: 0.4928 MB / 1.148 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00494/1.128, allocations: 2.269 MB / 1.15 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0007467/1.129, allocations: 77.7 kB / 1.15 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001607/1.131, allocations: 1.434 MB / 1.152 GB, free: 9.957 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001372/1.132, allocations: 0.828 MB / 1.153 GB, free: 9.117 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004287/1.133, allocations: 44 kB / 1.153 GB, free: 9.074 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002321/1.133, allocations: 394.7 kB / 1.153 GB, free: 8.684 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005836/1.139, allocations: 2.105 MB / 1.155 GB, free: 6.574 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006205/1.145, allocations: 2.419 MB / 1.157 GB, free: 4.07 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01135/1.156, allocations: 4.517 MB / 1.162 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/1.156, allocations: 0 / 1.162 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02035/1.177, allocations: 6.887 MB / 1.169 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001289/1.177, allocations: 148.5 kB / 1.169 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/1.177, allocations: 4 kB / 1.169 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01072/1.188, allocations: 2.944 MB / 1.172 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003313/1.191, allocations: 0.5735 MB / 1.172 GB, free: 4.738 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03946/1.23, allocations: 17.32 MB / 1.189 GB, free: 3.199 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005067/1.236, allocations: 421.2 kB / 1.189 GB, free: 2.789 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008966/1.236, allocations: 90.08 kB / 1.19 GB, free: 2.703 MB / 0.7605 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,45.0%) 52} * Non-linear torn systems: 1 {9 63} Notification: Performance of prepare postOptimizeDAE: time 0.003402/1.24, allocations: 0.7012 MB / 1.19 GB, free: 1.996 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00144/1.241, allocations: 336 kB / 1.191 GB, free: 1.664 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/1.243, allocations: 384.1 kB / 1.191 GB, free: 1.281 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.559e-05/1.243, allocations: 24 kB / 1.191 GB, free: 1.258 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.851e-05/1.243, allocations: 15.94 kB / 1.191 GB, free: 1.242 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.743e-05/1.243, allocations: 17.08 kB / 1.191 GB, free: 1.227 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006693/1.249, allocations: 3.628 MB / 1.195 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.074e-05/1.25, allocations: 0 / 1.195 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002589/1.252, allocations: 0.4993 MB / 1.195 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009563/1.262, allocations: 2.866 MB / 1.198 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004765/1.262, allocations: 51.91 kB / 1.198 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03599/1.298, allocations: 17.11 MB / 1.215 GB, free: 8.719 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/1.298, allocations: 0 / 1.215 GB, free: 8.719 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01792/1.316, allocations: 6.532 MB / 1.221 GB, free: 2.152 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002127/1.318, allocations: 0.6961 MB / 1.222 GB, free: 1.434 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000616/1.319, allocations: 48.5 kB / 1.222 GB, free: 1.387 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00333/1.322, allocations: 419.5 kB / 1.222 GB, free: 0.9766 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001458/1.324, allocations: 362.6 kB / 1.222 GB, free: 0.625 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002512/1.324, allocations: 78.72 kB / 1.223 GB, free: 0.5508 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002767/1.327, allocations: 1.509 MB / 1.224 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.4e-07/1.327, allocations: 0 / 1.224 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.003403/1.33, allocations: 1.048 MB / 1.225 GB, free: 14 MB / 0.8073 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 52} * Non-linear torn systems: 1 {10 62} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003839/1.331, allocations: 173.4 kB / 1.225 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0233/1.354, allocations: 6.822 MB / 1.232 GB, free: 6.902 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.639e-05/1.354, allocations: 0 / 1.232 GB, free: 6.902 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0174/1.371, allocations: 4.229 MB / 1.236 GB, free: 2.645 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00563/1.377, allocations: 1.029 MB / 1.237 GB, free: 1.68 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01582/1.393, allocations: 7.75 MB / 1.245 GB, free: 9.918 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002111/1.395, allocations: 2.235 MB / 1.247 GB, free: 7.652 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002837/1.398, allocations: 0.5061 MB / 1.247 GB, free: 7.16 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006952/1.399, allocations: 175.4 kB / 1.247 GB, free: 6.988 MB / 0.823 GB Notification: Performance of SimCode: time 5.81e-07/1.399, allocations: 3.938 kB / 1.247 GB, free: 6.984 MB / 0.823 GB Notification: Performance of Templates: time 0.128/1.527, allocations: 70.9 MB / 1.317 GB, free: 0.6875 MB / 0.8855 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)