Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001311/0.001311, allocations: 125.7 kB / 17.17 MB, free: 5.918 MB / 14.72 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.001338/0.001338, allocations: 210.3 kB / 20.13 MB, free: 2.98 MB / 14.72 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 1.483/1.483, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.861/2.861, allocations: 0.49 GB / 0.7923 GB, free: 1.414 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_12_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 63.91 kB / 1.15 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9505/0.9524, allocations: 176.1 MB / 1.321 GB, free: 24.72 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02173/0.9741, allocations: 22.95 MB / 1.344 GB, free: 8.98 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02547/0.9996, allocations: 17.83 MB / 1.361 GB, free: 12.62 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004787/1.004, allocations: 149.8 kB / 1.361 GB, free: 12.54 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0124/1.017, allocations: 4.225 MB / 1.366 GB, free: 10.03 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0143/1.031, allocations: 3.577 MB / 1.369 GB, free: 7.867 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005035/1.036, allocations: 1.316 MB / 1.37 GB, free: 7.184 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01094/1.047, allocations: 5.784 MB / 1.376 GB, free: 4.477 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006689/1.054, allocations: 2.803 MB / 1.379 GB, free: 3.066 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00595/1.06, allocations: 2.513 MB / 1.381 GB, free: 2.027 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006344/1.066, allocations: 2.509 MB / 1.384 GB, free: 0.9609 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.002001/1.068, allocations: 369.2 kB / 1.384 GB, free: 0.9609 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004442/1.072, allocations: 1.052 MB / 1.385 GB, free: 0.6953 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.002988/1.075, allocations: 1.227 MB / 1.386 GB, free: 64 kB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.006653/1.082, allocations: 1.994 MB / 1.388 GB, free: 14.84 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0142/1.096, allocations: 5.186 MB / 1.393 GB, free: 12.93 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/1.096, allocations: 0 / 1.393 GB, free: 12.93 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.104e-06/1.096, allocations: 5.188 kB / 1.393 GB, free: 12.92 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0002622/1.097, allocations: 3.938 kB / 1.393 GB, free: 12.92 MB / 1.092 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.01726/1.114, allocations: 4.729 MB / 1.398 GB, free: 10.22 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/1.114, allocations: 15.59 kB / 1.398 GB, free: 10.21 MB / 1.092 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001057/1.114, allocations: 61.42 kB / 1.398 GB, free: 10.21 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00162/1.116, allocations: 364.9 kB / 1.398 GB, free: 9.996 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01778/1.133, allocations: 3.284 MB / 1.402 GB, free: 9.602 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006578/1.14, allocations: 2.243 MB / 1.404 GB, free: 8.383 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005187/1.141, allocations: 468.4 kB / 1.404 GB, free: 7.98 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001138/1.142, allocations: 237 kB / 1.404 GB, free: 7.902 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01337/1.155, allocations: 4.818 MB / 1.409 GB, free: 5.164 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.163e-05/1.155, allocations: 0 / 1.409 GB, free: 5.164 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004116/1.155, allocations: 102.3 kB / 1.409 GB, free: 5.09 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002357/1.156, allocations: 172.6 kB / 1.409 GB, free: 5.047 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01501/1.171, allocations: 5.201 MB / 1.414 GB, free: 2.422 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0266/1.197, allocations: 14.41 MB / 1.428 GB, free: 5.934 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01012/1.207, allocations: 3.266 MB / 1.432 GB, free: 4.27 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003962/1.211, allocations: 1.373 MB / 1.433 GB, free: 3.574 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001546/1.212, allocations: 20.2 kB / 1.433 GB, free: 3.566 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004479/1.216, allocations: 1.792 MB / 1.435 GB, free: 2.453 MB / 1.107 GB Notification: Performance of pre-optimization done (n=163): time 3.376e-06/1.216, allocations: 0 / 1.435 GB, free: 2.453 MB / 1.107 GB Notification: Performance of matching and sorting (n=250): time 0.1339/1.35, allocations: 28.22 MB / 1.462 GB, free: 7.527 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002963/1.35, allocations: 0.4928 MB / 1.463 GB, free: 6.926 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003885/1.354, allocations: 2.296 MB / 1.465 GB, free: 4.617 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0007296/1.355, allocations: 81.69 kB / 1.465 GB, free: 4.531 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001604/1.356, allocations: 1.456 MB / 1.467 GB, free: 3.062 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.001408/1.358, allocations: 0.8675 MB / 1.467 GB, free: 2.188 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001006/1.359, allocations: 412.5 kB / 1.468 GB, free: 1.777 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001519/1.359, allocations: 301.1 kB / 1.468 GB, free: 1.48 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005703/1.365, allocations: 1.929 MB / 1.47 GB, free: 15.55 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00598/1.371, allocations: 2.231 MB / 1.472 GB, free: 13.23 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01136/1.382, allocations: 4.161 MB / 1.476 GB, free: 8.934 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/1.382, allocations: 4 kB / 1.476 GB, free: 8.93 MB / 1.154 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01982/1.402, allocations: 6.482 MB / 1.483 GB, free: 2.355 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001426/1.402, allocations: 144.5 kB / 1.483 GB, free: 2.184 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.86e-05/1.402, allocations: 8 kB / 1.483 GB, free: 2.176 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01063/1.413, allocations: 2.922 MB / 1.486 GB, free: 15.25 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003139/1.416, allocations: 491.2 kB / 1.486 GB, free: 14.77 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04291/1.459, allocations: 18.87 MB / 1.504 GB, free: 11.65 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004685/1.463, allocations: 323.6 kB / 1.505 GB, free: 11.33 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004703/1.464, allocations: 83.98 kB / 1.505 GB, free: 11.25 MB / 1.186 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.001807/1.466, allocations: 0.7085 MB / 1.506 GB, free: 10.53 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008229/1.467, allocations: 345.9 kB / 1.506 GB, free: 10.19 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009705/1.467, allocations: 392.1 kB / 1.506 GB, free: 9.801 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.171e-05/1.468, allocations: 27.94 kB / 1.506 GB, free: 9.773 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.313e-05/1.468, allocations: 8 kB / 1.506 GB, free: 9.766 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.158e-05/1.468, allocations: 11.95 kB / 1.506 GB, free: 9.754 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00577/1.473, allocations: 3.62 MB / 1.51 GB, free: 6.078 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/1.473, allocations: 0 / 1.51 GB, free: 6.078 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002636/1.476, allocations: 415.4 kB / 1.51 GB, free: 5.672 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01036/1.486, allocations: 2.865 MB / 1.513 GB, free: 2.801 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005153/1.487, allocations: 51.97 kB / 1.513 GB, free: 2.75 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0408/1.528, allocations: 18.64 MB / 1.531 GB, free: 15.8 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.528, allocations: 0 / 1.531 GB, free: 15.8 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01895/1.547, allocations: 6.116 MB / 1.537 GB, free: 9.66 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00236/1.549, allocations: 0.7095 MB / 1.538 GB, free: 8.93 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009566/1.55, allocations: 59.92 kB / 1.538 GB, free: 8.871 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003551/1.553, allocations: 315.6 kB / 1.538 GB, free: 8.562 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001248/1.555, allocations: 342.7 kB / 1.539 GB, free: 8.227 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002308/1.555, allocations: 71.97 kB / 1.539 GB, free: 8.156 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.002549/1.558, allocations: 1.532 MB / 1.54 GB, free: 6.625 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/1.558, allocations: 0 / 1.54 GB, free: 6.625 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.003857/1.561, allocations: 1.043 MB / 1.541 GB, free: 5.582 MB / 1.217 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.01907/1.58, allocations: 6.749 MB / 1.548 GB, free: 14.79 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.02393/1.604, allocations: 6.32 MB / 1.554 GB, free: 8.379 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/1.604, allocations: 4 kB / 1.554 GB, free: 8.375 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.01754/1.622, allocations: 3.931 MB / 1.558 GB, free: 4.41 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005865/1.628, allocations: 1.133 MB / 1.559 GB, free: 3.316 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0816/1.709, allocations: 31.8 MB / 1.59 GB, free: 3.039 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002598/1.712, allocations: 2.234 MB / 1.592 GB, free: 0.7695 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.002706/1.715, allocations: 0.5019 MB / 1.593 GB, free: 268 kB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00204/1.717, allocations: 1.339 MB / 1.594 GB, free: 14.92 MB / 1.279 GB Notification: Performance of SimCode: time 1.192e-06/1.717, allocations: 0 / 1.594 GB, free: 14.92 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1794/1.896, allocations: 103.4 MB / 1.695 GB, free: 8.605 MB / 1.373 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.42/21.31, allocations: 12.05 kB / 1.695 GB, free: 8.594 MB / 1.373 GB " [Timeout remaining time 278] (rm -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized_fmu --startTime=0 --stopTime=4000 --stepSize=1.6 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 27.763349397981074] Failed to read output from testmodel.py, exit status != 0: 21.522889108979143 21.537978651 20.438397957 Calling exit ...