Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.449/2.449, allocations: 254.9 MB / 269.9 MB, free: 9.645 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.001307/0.001306, allocations: 192.8 kB / 329.5 MB, free: 1.16 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 2.767/2.767, allocations: 225.6 MB / 0.6001 GB, free: 2.16 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.0009322/0.0009314, allocations: 106.1 kB / 0.7074 GB, free: 7.879 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004913/0.0004914, allocations: 10.69 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2195, allocations: 109.1 MB / 0.9308 GB, free: 25.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.03949/0.259, allocations: 20.26 MB / 0.9505 GB, free: 4.805 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.04042/0.2995, allocations: 16.5 MB / 0.9667 GB, free: 4.254 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003735/0.3033, allocations: 103.4 kB / 0.9668 GB, free: 4.152 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003337/0.3067, allocations: 0.5541 MB / 0.9673 GB, free: 3.594 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.01375/0.3205, allocations: 2.869 MB / 0.9701 GB, free: 0.7109 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00516/0.3257, allocations: 0.9595 MB / 0.971 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.01207/0.3378, allocations: 5.948 MB / 0.9769 GB, free: 9.781 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006723/0.3446, allocations: 2.259 MB / 0.9791 GB, free: 7.453 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006472/0.3511, allocations: 1.969 MB / 0.981 GB, free: 5.477 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006703/0.3579, allocations: 2.214 MB / 0.9831 GB, free: 3.254 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.001644/0.3596, allocations: 176 kB / 0.9833 GB, free: 3.082 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003532/0.3632, allocations: 0.4956 MB / 0.9838 GB, free: 2.586 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.002404/0.3656, allocations: 0.9614 MB / 0.9847 GB, free: 1.621 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.002116/0.3678, allocations: 0.6912 MB / 0.9854 GB, free: 0.9219 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.007646/0.3755, allocations: 3.923 MB / 0.9892 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.3755, allocations: 0 / 0.9892 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.966e-06/0.3756, allocations: 0 / 0.9892 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002076/0.3758, allocations: 0 / 0.9892 GB, free: 12.99 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.01599/0.3918, allocations: 4.119 MB / 0.9933 GB, free: 8.758 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.3918, allocations: 8.031 kB / 0.9933 GB, free: 8.75 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02935/0.4212, allocations: 3.367 MB / 0.9966 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006791/0.428, allocations: 1.981 MB / 0.9985 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005724/0.4287, allocations: 462.3 kB / 0.9989 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000995/0.4297, allocations: 235.9 kB / 0.9992 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01898/0.4487, allocations: 4.861 MB / 1.004 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.089e-05/0.4488, allocations: 0 / 1.004 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005992/0.4494, allocations: 104 kB / 1.004 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003486/0.4498, allocations: 172.8 kB / 1.004 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02591/0.4757, allocations: 5.3 MB / 1.009 GB, free: 7.984 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03808/0.5138, allocations: 14.61 MB / 1.024 GB, free: 8.207 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01982/0.5337, allocations: 3.664 MB / 1.027 GB, free: 4.527 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007712/0.5415, allocations: 1.6 MB / 1.029 GB, free: 2.93 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002646/0.5418, allocations: 25.23 kB / 1.029 GB, free: 2.902 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008504/0.5503, allocations: 1.908 MB / 1.031 GB, free: 0.9297 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=163): time 5.63e-06/0.5504, allocations: 0 / 1.031 GB, free: 0.9297 MB / 0.6667 GB Notification: Performance of matching and sorting (n=250): time 0.9526/1.503, allocations: 34.09 MB / 1.064 GB, free: 88.33 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002785/1.503, allocations: 0.4931 MB / 1.064 GB, free: 87.76 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008331/1.512, allocations: 2.282 MB / 1.067 GB, free: 86.55 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0008361/1.513, allocations: 77.45 kB / 1.067 GB, free: 86.48 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.002111/1.515, allocations: 1.432 MB / 1.068 GB, free: 85.22 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.001648/1.516, allocations: 0.8199 MB / 1.069 GB, free: 84.51 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005337/1.517, allocations: 45.44 kB / 1.069 GB, free: 84.48 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002207/1.517, allocations: 401.7 kB / 1.069 GB, free: 84.1 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01341/1.531, allocations: 2.108 MB / 1.071 GB, free: 83.1 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01427/1.545, allocations: 2.409 MB / 1.074 GB, free: 81.8 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01595/1.561, allocations: 2.288 MB / 1.076 GB, free: 80.47 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.342e-05/1.561, allocations: 4 kB / 1.076 GB, free: 80.46 MB / 0.6667 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.03987/1.601, allocations: 6.887 MB / 1.083 GB, free: 73.49 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001049/1.601, allocations: 148.5 kB / 1.083 GB, free: 73.31 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-05/1.601, allocations: 5.859 kB / 1.083 GB, free: 73.31 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01785/1.619, allocations: 2.951 MB / 1.086 GB, free: 70.36 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005456/1.625, allocations: 0.5657 MB / 1.086 GB, free: 69.79 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06753/1.692, allocations: 17.33 MB / 1.103 GB, free: 52.24 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007145/1.699, allocations: 415.6 kB / 1.104 GB, free: 51.83 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006017/1.7, allocations: 91.97 kB / 1.104 GB, free: 51.74 MB / 0.6667 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.002525/1.703, allocations: 0.7059 MB / 1.104 GB, free: 51.03 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001052/1.704, allocations: 332.1 kB / 1.105 GB, free: 50.7 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009002/1.704, allocations: 384.1 kB / 1.105 GB, free: 50.32 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.019e-05/1.705, allocations: 24 kB / 1.105 GB, free: 50.3 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.676e-05/1.705, allocations: 15.94 kB / 1.105 GB, free: 50.28 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.503e-05/1.705, allocations: 14.39 kB / 1.105 GB, free: 50.27 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00649/1.711, allocations: 3.627 MB / 1.109 GB, free: 46.66 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.19e-05/1.711, allocations: 0 / 1.109 GB, free: 46.66 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004832/1.716, allocations: 0.5103 MB / 1.109 GB, free: 46.16 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01769/1.734, allocations: 2.859 MB / 1.112 GB, free: 43.29 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005882/1.734, allocations: 51.97 kB / 1.112 GB, free: 43.23 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06333/1.798, allocations: 17.12 MB / 1.129 GB, free: 25.86 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.798, allocations: 0 / 1.129 GB, free: 25.86 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03281/1.831, allocations: 6.529 MB / 1.135 GB, free: 19.29 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002682/1.833, allocations: 0.7039 MB / 1.136 GB, free: 18.56 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001184/1.835, allocations: 47.98 kB / 1.136 GB, free: 18.52 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006767/1.841, allocations: 407.5 kB / 1.136 GB, free: 18.12 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001833/1.843, allocations: 370.6 kB / 1.137 GB, free: 17.76 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003758/1.844, allocations: 67.27 kB / 1.137 GB, free: 17.7 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.003102/1.847, allocations: 1.513 MB / 1.138 GB, free: 16.18 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.983e-06/1.847, allocations: 0 / 1.138 GB, free: 16.18 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004607/1.851, allocations: 1.051 MB / 1.139 GB, free: 15.13 MB / 0.6667 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.000717/1.852, allocations: 168.2 kB / 1.139 GB, free: 14.96 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.04236/1.895, allocations: 6.816 MB / 1.146 GB, free: 8.047 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/1.895, allocations: 0 / 1.146 GB, free: 8.047 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.03149/1.926, allocations: 4.242 MB / 1.15 GB, free: 3.789 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008261/1.934, allocations: 1.039 MB / 1.151 GB, free: 2.773 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02549/1.96, allocations: 7.752 MB / 1.159 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003412/1.963, allocations: 2.231 MB / 1.161 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.004104/1.968, allocations: 0.5099 MB / 1.161 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001303/1.969, allocations: 175.4 kB / 1.162 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of SimCode: time 8.62e-07/1.969, allocations: 0 / 1.162 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of Templates: time 0.1911/2.16, allocations: 70.15 MB / 1.23 GB, free: 2.211 MB / 0.7448 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)