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.001293/0.001293, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001441/0.001441, allocations: 220.1 kB / 23.03 MB, free: 4.941 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.399/1.399, allocations: 230.6 MB / 256.8 MB, free: 7.797 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 3.167/3.167, allocations: 0.49 GB / 0.7959 GB, free: 35.55 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.002005/0.002005, allocations: 66.25 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.345, allocations: 176.1 MB / 1.327 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02877/0.3737, allocations: 21.25 MB / 1.347 GB, free: 12.14 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02846/0.4022, allocations: 16.82 MB / 1.364 GB, free: 11.28 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003118/0.4053, allocations: 146.9 kB / 1.364 GB, free: 11.13 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01153/0.4168, allocations: 4.156 MB / 1.368 GB, free: 6.969 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01304/0.4299, allocations: 3.578 MB / 1.371 GB, free: 3.383 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004536/0.4344, allocations: 1.322 MB / 1.373 GB, free: 2.062 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01117/0.4456, allocations: 5.791 MB / 1.378 GB, free: 12.25 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005514/0.4511, allocations: 2.881 MB / 1.381 GB, free: 9.293 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00523/0.4563, allocations: 2.527 MB / 1.384 GB, free: 6.758 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005265/0.4616, allocations: 2.51 MB / 1.386 GB, free: 4.238 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001287/0.4629, allocations: 368 kB / 1.387 GB, free: 3.879 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002748/0.4656, allocations: 0.9633 MB / 1.387 GB, free: 2.914 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001746/0.4674, allocations: 1.226 MB / 1.389 GB, free: 1.684 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.00349/0.4709, allocations: 1.649 MB / 1.39 GB, free: 28 kB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.009986/0.4809, allocations: 5.23 MB / 1.395 GB, free: 10.78 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.4809, allocations: 0 / 1.395 GB, free: 10.78 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.044e-06/0.4809, allocations: 8 kB / 1.395 GB, free: 10.77 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001907/0.4811, allocations: 0 / 1.395 GB, free: 10.77 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.01262/0.4937, allocations: 4.651 MB / 1.4 GB, free: 6.02 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.4937, allocations: 12.03 kB / 1.4 GB, free: 6.008 MB / 1.092 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.232e-05/0.4938, allocations: 60.92 kB / 1.4 GB, free: 5.945 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006904/0.4945, allocations: 366.3 kB / 1.4 GB, free: 5.578 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0162/0.5107, allocations: 3.279 MB / 1.404 GB, free: 2.293 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006641/0.5173, allocations: 2.135 MB / 1.406 GB, free: 84 kB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005946/0.5179, allocations: 469.9 kB / 1.406 GB, free: 15.56 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001182/0.5191, allocations: 232 kB / 1.406 GB, free: 15.33 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01348/0.5326, allocations: 5.884 MB / 1.412 GB, free: 9.043 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.052e-05/0.5327, allocations: 0 / 1.412 GB, free: 9.043 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003595/0.533, allocations: 104 kB / 1.412 GB, free: 8.941 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002384/0.5333, allocations: 172.8 kB / 1.412 GB, free: 8.77 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01442/0.5477, allocations: 5.194 MB / 1.417 GB, free: 3.559 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0242/0.5719, allocations: 9.178 MB / 1.426 GB, free: 10.25 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01023/0.5821, allocations: 3.261 MB / 1.43 GB, free: 6.98 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004422/0.5865, allocations: 1.362 MB / 1.431 GB, free: 5.617 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002029/0.5867, allocations: 25.31 kB / 1.431 GB, free: 5.594 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005715/0.5924, allocations: 2.452 MB / 1.433 GB, free: 2.914 MB / 1.123 GB Notification: Performance of pre-optimization done (n=163): time 5.08e-06/0.5924, allocations: 4 kB / 1.433 GB, free: 2.91 MB / 1.123 GB Notification: Performance of matching and sorting (n=250): time 0.1235/0.716, allocations: 27.54 MB / 1.46 GB, free: 7.312 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003105/0.7163, allocations: 0.4928 MB / 1.461 GB, free: 6.711 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003426/0.7197, allocations: 2.296 MB / 1.463 GB, free: 4.402 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0005412/0.7202, allocations: 73.7 kB / 1.463 GB, free: 4.324 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001668/0.7219, allocations: 1.46 MB / 1.464 GB, free: 2.852 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.001269/0.7232, allocations: 0.8637 MB / 1.465 GB, free: 1.98 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001118/0.7243, allocations: 416.5 kB / 1.466 GB, free: 1.566 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.7245, allocations: 301.1 kB / 1.466 GB, free: 1.27 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005672/0.7302, allocations: 2.066 MB / 1.468 GB, free: 15.16 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006435/0.7366, allocations: 2.774 MB / 1.471 GB, free: 12.18 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01137/0.748, allocations: 4.161 MB / 1.475 GB, free: 7.879 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.052e-05/0.748, allocations: 4 kB / 1.475 GB, free: 7.875 MB / 1.17 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01954/0.7675, allocations: 6.612 MB / 1.481 GB, free: 1.148 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001586/0.7677, allocations: 156.5 kB / 1.481 GB, free: 0.9648 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.115e-05/0.7677, allocations: 8 kB / 1.481 GB, free: 0.957 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0105/0.7782, allocations: 2.916 MB / 1.484 GB, free: 14.02 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002956/0.7812, allocations: 499.2 kB / 1.485 GB, free: 13.54 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.042/0.8232, allocations: 18.29 MB / 1.503 GB, free: 11.05 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004115/0.8273, allocations: 319.6 kB / 1.503 GB, free: 10.74 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003985/0.8277, allocations: 91.97 kB / 1.503 GB, free: 10.65 MB / 1.201 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.001598/0.8293, allocations: 0.7191 MB / 1.504 GB, free: 9.922 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000742/0.83, allocations: 341.9 kB / 1.504 GB, free: 9.586 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008091/0.8308, allocations: 384.1 kB / 1.504 GB, free: 9.203 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-05/0.8308, allocations: 24 kB / 1.504 GB, free: 9.18 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.962e-05/0.8309, allocations: 12 kB / 1.504 GB, free: 9.168 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-05/0.8309, allocations: 11.95 kB / 1.504 GB, free: 9.156 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004885/0.8358, allocations: 3.042 MB / 1.507 GB, free: 6.066 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-05/0.8358, allocations: 0 / 1.507 GB, free: 6.066 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00259/0.8384, allocations: 419.3 kB / 1.508 GB, free: 5.656 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01055/0.849, allocations: 2.859 MB / 1.511 GB, free: 2.793 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004655/0.8494, allocations: 47.97 kB / 1.511 GB, free: 2.746 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04119/0.8906, allocations: 18.06 MB / 1.528 GB, free: 444 kB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.8906, allocations: 0 / 1.528 GB, free: 444 kB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01839/0.909, allocations: 6.124 MB / 1.534 GB, free: 10.29 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002144/0.9111, allocations: 0.6343 MB / 1.535 GB, free: 9.648 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007852/0.9119, allocations: 51.94 kB / 1.535 GB, free: 9.598 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003375/0.9153, allocations: 315.6 kB / 1.535 GB, free: 9.289 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001334/0.9166, allocations: 366.4 kB / 1.536 GB, free: 8.93 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000239/0.9169, allocations: 67.97 kB / 1.536 GB, free: 8.863 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002744/0.9196, allocations: 1.54 MB / 1.537 GB, free: 7.324 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9196, allocations: 0 / 1.537 GB, free: 7.324 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.003789/0.9234, allocations: 1.047 MB / 1.538 GB, free: 6.277 MB / 1.232 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.01968/0.9431, allocations: 6.748 MB / 1.545 GB, free: 15.48 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.02396/0.967, allocations: 6.457 MB / 1.551 GB, free: 8.898 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-05/0.9671, allocations: 4 kB / 1.551 GB, free: 8.895 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.01805/0.9851, allocations: 3.916 MB / 1.555 GB, free: 4.949 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005114/0.9902, allocations: 1.136 MB / 1.556 GB, free: 3.852 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07777/1.068, allocations: 32.39 MB / 1.588 GB, free: 2.863 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002586/1.071, allocations: 1.684 MB / 1.589 GB, free: 1.137 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002445/1.073, allocations: 0.5058 MB / 1.59 GB, free: 0.625 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002143/1.075, allocations: 1.339 MB / 1.591 GB, free: 15.28 MB / 1.295 GB Notification: Performance of SimCode: time 2.013e-06/1.075, allocations: 0 / 1.591 GB, free: 15.28 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8322/1.907, allocations: 107 MB / 1.695 GB, free: 206.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 21/22.9, allocations: 11.98 kB / 1.695 GB, free: 206.4 MB / 1.295 GB " [Timeout remaining time 277] (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: 29.658478409051895] Failed to read output from testmodel.py, exit status != 0: 23.15536458196584 23.165299599 22.681993392 Calling exit ...