Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008716/0.0008716, allocations: 80.55 kB / 19.96 MB, free: 4.605 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008678/0.0008678, allocations: 173.2 kB / 23.24 MB, free: 1.328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8852/0.8852, allocations: 177.2 MB / 203.6 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.784/1.784, allocations: 389.6 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_13_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_13_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.456e-05/2.648e-05, allocations: 5.797 kB / 1.001 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01759/0.01762, allocations: 20.92 MB / 1.021 GB, free: 8.535 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.01756/0.03518, allocations: 16.66 MB / 1.037 GB, free: 7.824 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003239/0.03842, allocations: 170.7 kB / 1.038 GB, free: 7.656 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.006296/0.04472, allocations: 4.174 MB / 1.042 GB, free: 3.473 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.4953/0.54, allocations: 3.692 MB / 1.045 GB, free: 45.12 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003532/0.5435, allocations: 1.314 MB / 1.047 GB, free: 45.12 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.007527/0.5511, allocations: 5.955 MB / 1.052 GB, free: 44.18 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004279/0.5553, allocations: 2.84 MB / 1.055 GB, free: 43.76 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006996/0.5623, allocations: 3.694 MB / 1.059 GB, free: 43.48 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003792/0.5661, allocations: 1.922 MB / 1.061 GB, free: 43.28 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.001227/0.5674, allocations: 366.8 kB / 1.061 GB, free: 43.28 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002999/0.5703, allocations: 0.9603 MB / 1.062 GB, free: 43.24 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.001252/0.5716, allocations: 1.268 MB / 1.063 GB, free: 43.04 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.002667/0.5743, allocations: 1.362 MB / 1.064 GB, free: 42.88 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.006219/0.5805, allocations: 5.201 MB / 1.07 GB, free: 41.92 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.5805, allocations: 4 kB / 1.07 GB, free: 41.92 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.744e-06/0.5805, allocations: 0 / 1.07 GB, free: 41.92 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0002109/0.5807, allocations: 0 / 1.07 GB, free: 41.92 MB / 0.9948 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.009827/0.5905, allocations: 4.601 MB / 1.074 GB, free: 39.37 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.5906, allocations: 9.188 kB / 1.074 GB, free: 39.37 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006698/0.5913, allocations: 360.5 kB / 1.074 GB, free: 39.17 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01178/0.603, allocations: 3.286 MB / 1.078 GB, free: 38.79 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005229/0.6083, allocations: 2.167 MB / 1.08 GB, free: 37.67 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000335/0.6086, allocations: 465.9 kB / 1.08 GB, free: 37.28 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009411/0.6095, allocations: 230.1 kB / 1.08 GB, free: 37.21 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009644/0.6192, allocations: 5.369 MB / 1.086 GB, free: 34.79 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.697e-05/0.6192, allocations: 5.062 kB / 1.086 GB, free: 34.79 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003196/0.6195, allocations: 103.5 kB / 1.086 GB, free: 34.71 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001993/0.6197, allocations: 175.1 kB / 1.086 GB, free: 34.69 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01183/0.6316, allocations: 5.191 MB / 1.091 GB, free: 33.16 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0201/0.6517, allocations: 9.167 MB / 1.1 GB, free: 28.79 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007348/0.659, allocations: 3.255 MB / 1.103 GB, free: 27.79 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002909/0.6619, allocations: 1.372 MB / 1.104 GB, free: 27.38 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001001/0.662, allocations: 18.52 kB / 1.104 GB, free: 27.38 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003515/0.6655, allocations: 2.443 MB / 1.107 GB, free: 25.94 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=163): time 6.803e-06/0.6656, allocations: 0 / 1.107 GB, free: 25.94 MB / 0.9948 GB Notification: Performance of matching and sorting (n=250): time 0.1214/0.7869, allocations: 27.54 MB / 1.134 GB, free: 19.77 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.787, allocations: 0.4924 MB / 1.134 GB, free: 19.19 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002501/0.7895, allocations: 2.315 MB / 1.136 GB, free: 17.97 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002768/0.7898, allocations: 78.2 kB / 1.137 GB, free: 17.91 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006712/0.7905, allocations: 1.451 MB / 1.138 GB, free: 16.63 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004197/0.7909, allocations: 0.8549 MB / 1.139 GB, free: 15.89 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005248/0.7914, allocations: 419.3 kB / 1.139 GB, free: 15.66 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.716e-05/0.7915, allocations: 306.2 kB / 1.139 GB, free: 15.36 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002621/0.7941, allocations: 2.065 MB / 1.141 GB, free: 14.21 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002676/0.7968, allocations: 2.774 MB / 1.144 GB, free: 12.28 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005029/0.8018, allocations: 4.165 MB / 1.148 GB, free: 9.922 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.8018, allocations: 2.906 kB / 1.148 GB, free: 9.922 MB / 0.9948 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.009696/0.8115, allocations: 6.623 MB / 1.155 GB, free: 6.332 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 8.32e-05/0.8116, allocations: 146.2 kB / 1.155 GB, free: 6.168 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-05/0.8116, allocations: 4.188 kB / 1.155 GB, free: 6.168 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006799/0.8184, allocations: 2.92 MB / 1.158 GB, free: 4.469 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001932/0.8203, allocations: 492.9 kB / 1.158 GB, free: 4.004 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02897/0.8493, allocations: 18.29 MB / 1.176 GB, free: 1.59 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00333/0.8526, allocations: 327.6 kB / 1.176 GB, free: 1.27 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002418/0.8529, allocations: 91.41 kB / 1.176 GB, free: 1.184 MB / 1.01 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 (varLoad5.count,$PRE.varLoad5.count,varLoad5.T_start,$PRE.varLoad5.T_start,varLoad4.count,$PRE.varLoad4.count,varLoad4.T_start,$PRE.varLoad4.T_start,varLoad3.count,$PRE.varLoad3.count,varLoad3.T_start,$PRE.varLoad3.T_start,varLoad2.count,$PRE.varLoad2.count,varLoad2.T_start,$PRE.varLoad2.T_start,varLoad1.count,$PRE.varLoad1.count,varLoad1.T_start,$PRE.varLoad1.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * 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 {(8,64)} Notification: Performance of prepare postOptimizeDAE: time 0.001531/0.8544, allocations: 0.7048 MB / 1.177 GB, free: 496 kB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005318/0.8549, allocations: 353.8 kB / 1.177 GB, free: 140 kB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004654/0.8554, allocations: 380.1 kB / 1.178 GB, free: 15.76 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-05/0.8554, allocations: 24 kB / 1.178 GB, free: 15.73 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.077e-05/0.8555, allocations: 11.98 kB / 1.178 GB, free: 15.72 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.629e-05/0.8555, allocations: 15.95 kB / 1.178 GB, free: 15.71 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004002/0.8595, allocations: 3.04 MB / 1.181 GB, free: 12.67 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.876e-06/0.8595, allocations: 0 / 1.181 GB, free: 12.67 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001575/0.8611, allocations: 421.7 kB / 1.181 GB, free: 12.27 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007153/0.8682, allocations: 2.859 MB / 1.184 GB, free: 9.402 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004466/0.8687, allocations: 47.97 kB / 1.184 GB, free: 9.355 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03205/0.9007, allocations: 18.06 MB / 1.202 GB, free: 7.09 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.9007, allocations: 9.125 kB / 1.202 GB, free: 7.082 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01074/0.9115, allocations: 6.114 MB / 1.208 GB, free: 1.016 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001243/0.9127, allocations: 0.6382 MB / 1.208 GB, free: 384 kB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003345/0.913, allocations: 44 kB / 1.208 GB, free: 340 kB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001562/0.9146, allocations: 315.6 kB / 1.209 GB, free: 24 kB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008977/0.9155, allocations: 360.5 kB / 1.209 GB, free: 15.68 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001348/0.9156, allocations: 75.91 kB / 1.209 GB, free: 15.6 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.001602/0.9172, allocations: 1.532 MB / 1.211 GB, free: 14.07 MB / 1.057 GB Notification: Performance of sort global known variables: time 8e-08/0.9172, allocations: 0 / 1.211 GB, free: 14.07 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.00195/0.9192, allocations: 1.043 MB / 1.212 GB, free: 13.03 MB / 1.057 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.009879/0.9291, allocations: 6.742 MB / 1.218 GB, free: 6.332 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.01196/0.941, allocations: 6.461 MB / 1.225 GB, free: 15.78 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.941, allocations: 0 / 1.225 GB, free: 15.78 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.008377/0.9494, allocations: 3.93 MB / 1.228 GB, free: 11.84 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003112/0.9525, allocations: 1.136 MB / 1.229 GB, free: 10.76 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04511/0.9976, allocations: 32.56 MB / 1.261 GB, free: 9.852 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001607/0.9992, allocations: 1.684 MB / 1.263 GB, free: 8.129 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.001965/1.001, allocations: 0.5096 MB / 1.263 GB, free: 7.613 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001463/1.003, allocations: 1.344 MB / 1.265 GB, free: 6.27 MB / 1.104 GB Notification: Performance of SimCode: time 1.393e-06/1.003, allocations: 0 / 1.265 GB, free: 6.27 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2089/1.212, allocations: 106.8 MB / 1.369 GB, free: 13.37 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/12.35, allocations: 11.05 kB / 1.369 GB, free: 13.36 MB / 1.214 GB " [Timeout remaining time 287] (rm -f Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized_fmu --startTime=0 --stopTime=4000 --stepSize=1.6 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu) > Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 52.5] OMSimulator failed or timed out simulating it; the others still get to run it (rm -f Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_fmpy.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_fmpy_res.csv --start-time 0 --stop-time 4000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.6 ../Buildings_13_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu) > Buildings_13_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.095945145003498]