Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLines,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_DCLines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLines,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_DCLines",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.436/1.436, allocations: 252 MB / 267 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001123/0.001122, allocations: 175 kB / 326.6 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.861/1.861, allocations: 205.4 MB / 0.5777 GB, free: 20.28 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007205/0.0007202, allocations: 82.2 kB / 0.6822 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004951/0.0004952, allocations: 13.36 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2807, allocations: 106.3 MB / 0.9003 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.01622/0.297, allocations: 20.24 MB / 0.9201 GB, free: 43.51 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02077/0.3178, allocations: 16.51 MB / 0.9362 GB, free: 26.95 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003805/0.3217, allocations: 103.4 kB / 0.9363 GB, free: 26.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002536/0.3242, allocations: 0.5658 MB / 0.9368 GB, free: 26.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.01027/0.3345, allocations: 2.855 MB / 0.9396 GB, free: 23.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00385/0.3384, allocations: 0.9522 MB / 0.9406 GB, free: 22.47 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00843/0.3468, allocations: 5.767 MB / 0.9462 GB, free: 16.69 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003545/0.3504, allocations: 2.021 MB / 0.9482 GB, free: 14.6 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003669/0.3541, allocations: 1.864 MB / 0.95 GB, free: 12.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005133/0.3593, allocations: 2.179 MB / 0.9521 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.001144/0.3605, allocations: 164 kB / 0.9523 GB, free: 10.38 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003183/0.3637, allocations: 499.4 kB / 0.9527 GB, free: 9.895 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001021/0.3647, allocations: 0.9225 MB / 0.9537 GB, free: 8.969 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001528/0.3662, allocations: 0.6873 MB / 0.9543 GB, free: 8.273 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.004192/0.3704, allocations: 3.826 MB / 0.9581 GB, free: 4.438 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.3705, allocations: 0 / 0.9581 GB, free: 4.438 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.087e-06/0.3705, allocations: 0 / 0.9581 GB, free: 4.438 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001228/0.3706, allocations: 0 / 0.9581 GB, free: 4.438 MB / 0.6042 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.007866/0.3785, allocations: 3.881 MB / 0.9618 GB, free: 456 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.526e-05/0.3785, allocations: 8.031 kB / 0.9619 GB, free: 448 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007406/0.3793, allocations: 354.2 kB / 0.9622 GB, free: 84 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01598/0.3953, allocations: 3.358 MB / 0.9655 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005334/0.4007, allocations: 1.96 MB / 0.9674 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001644/0.4009, allocations: 180.7 kB / 0.9676 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005314/0.4014, allocations: 236 kB / 0.9678 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01103/0.4125, allocations: 4.717 MB / 0.9724 GB, free: 5.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.325e-05/0.4125, allocations: 3.938 kB / 0.9724 GB, free: 5.406 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003172/0.4129, allocations: 115.7 kB / 0.9725 GB, free: 5.297 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002126/0.4131, allocations: 172.8 kB / 0.9727 GB, free: 5.125 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01392/0.427, allocations: 5.226 MB / 0.9778 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02258/0.4496, allocations: 14.11 MB / 0.9915 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01098/0.4607, allocations: 3.85 MB / 0.9953 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00366/0.4643, allocations: 1.502 MB / 0.9968 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 9.653e-05/0.4645, allocations: 29.2 kB / 0.9968 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004135/0.4686, allocations: 1.828 MB / 0.9986 GB, free: 9.32 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=163): time 3.176e-06/0.4686, allocations: 0 / 0.9986 GB, free: 9.32 MB / 0.6511 GB Notification: Performance of matching and sorting (n=250): time 0.1269/0.5955, allocations: 33.41 MB / 1.031 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003464/0.5959, allocations: 0.4928 MB / 1.032 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004038/0.6, allocations: 2.269 MB / 1.034 GB, free: 4.805 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0006107/0.6006, allocations: 77.7 kB / 1.034 GB, free: 4.723 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00157/0.6022, allocations: 1.426 MB / 1.035 GB, free: 3.281 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001293/0.6035, allocations: 0.8202 MB / 1.036 GB, free: 2.449 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000202/0.6037, allocations: 48 kB / 1.036 GB, free: 2.402 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002607/0.604, allocations: 394.7 kB / 1.037 GB, free: 2.012 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005135/0.6091, allocations: 1.921 MB / 1.038 GB, free: 88 kB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005607/0.6148, allocations: 2.227 MB / 1.041 GB, free: 13.77 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005435/0.6202, allocations: 2.124 MB / 1.043 GB, free: 11.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.225e-05/0.6203, allocations: 0 / 1.043 GB, free: 11.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01932/0.6396, allocations: 6.173 MB / 1.049 GB, free: 5.332 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004557/0.6401, allocations: 410.5 kB / 1.049 GB, free: 4.816 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.082e-05/0.6402, allocations: 4 kB / 1.049 GB, free: 4.812 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009439/0.6496, allocations: 1.848 MB / 1.051 GB, free: 2.957 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003696/0.6534, allocations: 0.5891 MB / 1.052 GB, free: 2.367 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5054/1.159, allocations: 14.15 MB / 1.065 GB, free: 137.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00741/1.166, allocations: 404.8 kB / 1.066 GB, free: 137.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006316/1.167, allocations: 92.91 kB / 1.066 GB, free: 137.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/1.167, allocations: 5.281 kB / 1.066 GB, free: 137.1 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02916/1.196, allocations: 5.759 MB / 1.071 GB, free: 136.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.609e-05/1.196, allocations: 5.625 kB / 1.071 GB, free: 136.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009947/1.206, allocations: 1.821 MB / 1.073 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004793/1.211, allocations: 0.6084 MB / 1.074 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02541/1.237, allocations: 13.43 MB / 1.087 GB, free: 128.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00405/1.241, allocations: 401.1 kB / 1.087 GB, free: 128.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004214/1.241, allocations: 89.67 kB / 1.087 GB, free: 128.8 MB / 0.698 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 (172): * Single equations (assignments): 165 * 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 {10 52} Notification: Performance of prepare postOptimizeDAE: time 0.001583/1.243, allocations: 0.7816 MB / 1.088 GB, free: 128.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006551/1.243, allocations: 336.8 kB / 1.088 GB, free: 128.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005805/1.244, allocations: 394.6 kB / 1.089 GB, free: 127.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.166e-05/1.244, allocations: 23.56 kB / 1.089 GB, free: 127.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.113e-05/1.244, allocations: 9.812 kB / 1.089 GB, free: 127.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-05/1.244, allocations: 17.86 kB / 1.089 GB, free: 127.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005139/1.249, allocations: 3.166 MB / 1.092 GB, free: 126.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.2e-05/1.249, allocations: 0 / 1.092 GB, free: 126.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002843/1.252, allocations: 0.5189 MB / 1.093 GB, free: 126.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006141/1.258, allocations: 1.712 MB / 1.094 GB, free: 125.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004026/1.259, allocations: 51.81 kB / 1.094 GB, free: 125.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01864/1.277, allocations: 13.94 MB / 1.108 GB, free: 114.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/1.278, allocations: 0 / 1.108 GB, free: 114.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01386/1.291, allocations: 5.785 MB / 1.114 GB, free: 108.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001777/1.293, allocations: 0.6649 MB / 1.114 GB, free: 108.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005962/1.294, allocations: 44 kB / 1.114 GB, free: 108 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002971/1.297, allocations: 404.9 kB / 1.115 GB, free: 107.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007935/1.298, allocations: 310.6 kB / 1.115 GB, free: 107.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001626/1.298, allocations: 71.97 kB / 1.115 GB, free: 107.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001905/1.3, allocations: 1.513 MB / 1.116 GB, free: 105.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.723e-06/1.3, allocations: 0 / 1.116 GB, free: 105.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005837/1.306, allocations: 1.622 MB / 1.118 GB, free: 104.1 MB / 0.698 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 (128): * Single equations (assignments): 116 * 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 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.01535/1.321, allocations: 6.409 MB / 1.124 GB, free: 97.65 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.02127/1.342, allocations: 10.07 MB / 1.134 GB, free: 87.41 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/1.342, allocations: 8.25 kB / 1.134 GB, free: 87.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.007487/1.35, allocations: 3.484 MB / 1.138 GB, free: 83.89 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004887/1.355, allocations: 1.051 MB / 1.139 GB, free: 82.87 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04954/1.404, allocations: 25.97 MB / 1.164 GB, free: 55.44 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001886/1.406, allocations: 2.304 MB / 1.166 GB, free: 53.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003366/1.41, allocations: 0.6387 MB / 1.167 GB, free: 52.46 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001637/1.411, allocations: 1.331 MB / 1.168 GB, free: 51.12 MB / 0.698 GB Notification: Performance of SimCode: time 1.853e-06/1.411, allocations: 0 / 1.168 GB, free: 51.12 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.157/1.568, allocations: 100.5 MB / 1.266 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001943/1.569, allocations: 232 kB / 1.266 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.443/8.011, allocations: 0 / 1.266 GB, free: 15.21 MB / 0.7605 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_DCLines_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_DCLines.fmu > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)