Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001808/0.001808, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002176/0.002176, allocations: 218.8 kB / 23.04 MB, free: 5.074 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.425/1.425, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.072/3.072, allocations: 0.5003 GB / 0.8061 GB, free: 26.72 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_latest_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: 60.77 kB / 1.171 GB, free: 19.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.338, allocations: 179 MB / 1.345 GB, free: 372 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02792/0.3659, allocations: 23.49 MB / 1.368 GB, free: 8.789 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02848/0.3944, allocations: 18.19 MB / 1.386 GB, free: 6.543 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002946/0.3973, allocations: 146.9 kB / 1.386 GB, free: 6.398 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.01196/0.4093, allocations: 4.352 MB / 1.39 GB, free: 2.039 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01147/0.4207, allocations: 3.583 MB / 1.394 GB, free: 14.45 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003895/0.4246, allocations: 1.336 MB / 1.395 GB, free: 13.11 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.009509/0.4341, allocations: 5.793 MB / 1.401 GB, free: 7.297 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005925/0.4401, allocations: 2.881 MB / 1.404 GB, free: 4.34 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005275/0.4453, allocations: 2.519 MB / 1.406 GB, free: 1.812 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005488/0.4508, allocations: 2.514 MB / 1.409 GB, free: 15.29 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.001349/0.4522, allocations: 372 kB / 1.409 GB, free: 14.93 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00327/0.4554, allocations: 1.057 MB / 1.41 GB, free: 13.87 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.002294/0.4577, allocations: 1.226 MB / 1.411 GB, free: 12.64 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.004462/0.4622, allocations: 1.998 MB / 1.413 GB, free: 10.63 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.009977/0.4722, allocations: 5.187 MB / 1.418 GB, free: 5.422 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.4722, allocations: 0 / 1.418 GB, free: 5.422 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4722, allocations: 0 / 1.418 GB, free: 5.422 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0002213/0.4724, allocations: 0 / 1.418 GB, free: 5.422 MB / 1.107 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.01313/0.4855, allocations: 4.658 MB / 1.423 GB, free: 0.6641 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.4856, allocations: 16.02 kB / 1.423 GB, free: 0.6484 MB / 1.107 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.108e-05/0.4857, allocations: 60.92 kB / 1.423 GB, free: 0.5859 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005499/0.4862, allocations: 370.3 kB / 1.423 GB, free: 220 kB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01624/0.5025, allocations: 3.279 MB / 1.426 GB, free: 12.93 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005173/0.5076, allocations: 2.128 MB / 1.428 GB, free: 10.73 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000465/0.5081, allocations: 473.8 kB / 1.429 GB, free: 10.2 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006105/0.5087, allocations: 228 kB / 1.429 GB, free: 9.98 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01197/0.5207, allocations: 4.818 MB / 1.434 GB, free: 5.016 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.231e-05/0.5207, allocations: 0 / 1.434 GB, free: 5.016 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003714/0.5211, allocations: 108 kB / 1.434 GB, free: 4.91 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002346/0.5213, allocations: 172.8 kB / 1.434 GB, free: 4.738 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01455/0.5359, allocations: 5.198 MB / 1.439 GB, free: 15.52 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02675/0.5626, allocations: 14.36 MB / 1.453 GB, free: 15.99 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01059/0.5732, allocations: 3.257 MB / 1.456 GB, free: 12.72 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003979/0.5772, allocations: 1.369 MB / 1.458 GB, free: 11.35 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001095/0.5773, allocations: 29.23 kB / 1.458 GB, free: 11.32 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004763/0.5821, allocations: 1.798 MB / 1.46 GB, free: 9.453 MB / 1.154 GB Notification: Performance of pre-optimization done (n=163): time 3.246e-06/0.5821, allocations: 0 / 1.46 GB, free: 9.453 MB / 1.154 GB Notification: Performance of matching and sorting (n=250): time 0.1362/0.7183, allocations: 27.53 MB / 1.486 GB, free: 13.87 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003302/0.7187, allocations: 0.4889 MB / 1.487 GB, free: 13.27 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00423/0.7229, allocations: 2.296 MB / 1.489 GB, free: 10.96 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0004922/0.7234, allocations: 77.7 kB / 1.489 GB, free: 10.88 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001741/0.7251, allocations: 1.456 MB / 1.491 GB, free: 9.41 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.001272/0.7264, allocations: 0.8637 MB / 1.491 GB, free: 8.539 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001418/0.7278, allocations: 416.5 kB / 1.492 GB, free: 8.125 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.728, allocations: 301.1 kB / 1.492 GB, free: 7.828 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006612/0.7346, allocations: 1.933 MB / 1.494 GB, free: 5.891 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006392/0.741, allocations: 2.231 MB / 1.496 GB, free: 3.574 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01191/0.7529, allocations: 4.161 MB / 1.5 GB, free: 15.28 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.848e-05/0.7529, allocations: 4 kB / 1.5 GB, free: 15.27 MB / 1.201 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.0212/0.7741, allocations: 6.482 MB / 1.507 GB, free: 8.699 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001356/0.7742, allocations: 152.4 kB / 1.507 GB, free: 8.52 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.912e-05/0.7743, allocations: 4.344 kB / 1.507 GB, free: 8.516 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01072/0.785, allocations: 2.928 MB / 1.51 GB, free: 5.578 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003093/0.7881, allocations: 483.2 kB / 1.51 GB, free: 5.105 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04531/0.8334, allocations: 18.65 MB / 1.528 GB, free: 2.258 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004231/0.8376, allocations: 319.8 kB / 1.529 GB, free: 1.945 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005283/0.8381, allocations: 87.97 kB / 1.529 GB, free: 1.859 MB / 1.217 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.001883/0.84, allocations: 0.7218 MB / 1.529 GB, free: 1.129 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009494/0.841, allocations: 349.8 kB / 1.53 GB, free: 0.7852 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/0.842, allocations: 384.1 kB / 1.53 GB, free: 412 kB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.407e-05/0.842, allocations: 24 kB / 1.53 GB, free: 388 kB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-05/0.842, allocations: 12 kB / 1.53 GB, free: 376 kB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.517e-05/0.8421, allocations: 11.95 kB / 1.53 GB, free: 364 kB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006072/0.8481, allocations: 3.607 MB / 1.534 GB, free: 12.7 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.969e-05/0.8482, allocations: 4 kB / 1.534 GB, free: 12.69 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00263/0.8508, allocations: 419.3 kB / 1.534 GB, free: 12.28 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01041/0.8612, allocations: 2.867 MB / 1.537 GB, free: 9.406 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004177/0.8616, allocations: 47.97 kB / 1.537 GB, free: 9.359 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0441/0.9057, allocations: 18.42 MB / 1.555 GB, free: 6.703 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.9057, allocations: 96 / 1.555 GB, free: 6.703 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02016/0.9259, allocations: 6.116 MB / 1.561 GB, free: 0.5547 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002093/0.928, allocations: 0.6342 MB / 1.562 GB, free: 15.92 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009807/0.929, allocations: 47.94 kB / 1.562 GB, free: 15.87 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003767/0.9327, allocations: 315.6 kB / 1.562 GB, free: 15.56 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0013/0.934, allocations: 362.5 kB / 1.562 GB, free: 15.21 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002976/0.9343, allocations: 71.95 kB / 1.562 GB, free: 15.14 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.002907/0.9372, allocations: 1.54 MB / 1.564 GB, free: 13.6 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/0.9372, allocations: 0 / 1.564 GB, free: 13.6 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.003755/0.941, allocations: 1.043 MB / 1.565 GB, free: 12.56 MB / 1.264 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.02093/0.9619, allocations: 6.733 MB / 1.571 GB, free: 5.777 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.02596/0.9879, allocations: 6.332 MB / 1.578 GB, free: 15.35 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/0.9879, allocations: 0 / 1.578 GB, free: 15.35 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.01879/1.007, allocations: 3.92 MB / 1.581 GB, free: 11.4 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005995/1.013, allocations: 1.126 MB / 1.582 GB, free: 10.31 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7317/1.744, allocations: 31.83 MB / 1.614 GB, free: 242 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0029/1.747, allocations: 2.23 MB / 1.616 GB, free: 241.3 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002337/1.75, allocations: 0.5081 MB / 1.616 GB, free: 241.2 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001612/1.751, allocations: 1.337 MB / 1.618 GB, free: 241.2 MB / 1.295 GB Notification: Performance of SimCode: time 1.362e-06/1.751, allocations: 3.125 kB / 1.618 GB, free: 241.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1566/1.908, allocations: 105.9 MB / 1.721 GB, free: 168 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.67/23.58, allocations: 6.875 kB / 1.721 GB, free: 168 MB / 1.295 GB " [Timeout remaining time 276] (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized_fmu --startTime=0 --stopTime=4000 --stepSize=1.6 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 30.327769735013135] Failed to read output from testmodel.py, exit status != 0: 23.82164003100479 23.839192042 23.363314454 Calling exit ...