Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLines,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_DCLines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLines,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.817/2.817, allocations: 287.3 MB / 302.3 MB, free: 8.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001588/0.001588, allocations: 180.9 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.127/2.127, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 93.56 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004922/0.0004924, allocations: 16.89 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2194, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.02868/0.2481, allocations: 19.14 MB / 0.997 GB, free: 9.082 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.03463/0.2828, allocations: 16.06 MB / 1.013 GB, free: 8.984 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003666/0.2865, allocations: 95.38 kB / 1.013 GB, free: 8.891 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003139/0.2897, allocations: 0.547 MB / 1.013 GB, free: 8.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01345/0.3032, allocations: 2.83 MB / 1.016 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004951/0.3082, allocations: 0.9371 MB / 1.017 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.009541/0.3178, allocations: 3.335 MB / 1.02 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005345/0.3232, allocations: 2.02 MB / 1.022 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005325/0.3285, allocations: 1.717 MB / 1.024 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00561/0.3342, allocations: 1.755 MB / 1.026 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001755/0.336, allocations: 164 kB / 1.026 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003475/0.3395, allocations: 479.4 kB / 1.026 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.002519/0.3421, allocations: 0.8527 MB / 1.027 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.002436/0.3446, allocations: 0.6912 MB / 1.028 GB, free: 9.484 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.008348/0.353, allocations: 3.791 MB / 1.031 GB, free: 5.684 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3531, allocations: 0 / 1.031 GB, free: 5.684 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.765e-06/0.3531, allocations: 0 / 1.031 GB, free: 5.684 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002271/0.3533, allocations: 0 / 1.031 GB, free: 5.684 MB / 0.6511 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.01474/0.3681, allocations: 3.869 MB / 1.035 GB, free: 1.703 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 7.142e-05/0.3682, allocations: 19.95 kB / 1.035 GB, free: 1.684 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001828/0.37, allocations: 358.1 kB / 1.036 GB, free: 1.324 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02953/0.3996, allocations: 3.397 MB / 1.039 GB, free: 13.92 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007135/0.4068, allocations: 1.96 MB / 1.041 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002769/0.4071, allocations: 180.7 kB / 1.041 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001206/0.4083, allocations: 236 kB / 1.041 GB, free: 11.48 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0205/0.4289, allocations: 4.697 MB / 1.046 GB, free: 6.641 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.07e-05/0.429, allocations: 4 kB / 1.046 GB, free: 6.637 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006649/0.4297, allocations: 107.9 kB / 1.046 GB, free: 6.531 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003534/0.43, allocations: 168.8 kB / 1.046 GB, free: 6.363 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02615/0.4562, allocations: 5.23 MB / 1.051 GB, free: 1.117 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03767/0.4939, allocations: 14.11 MB / 1.065 GB, free: 1.848 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6523/1.146, allocations: 3.843 MB / 1.069 GB, free: 82.52 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002732/1.147, allocations: 30.36 kB / 1.069 GB, free: 82.52 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008124/1.155, allocations: 1.812 MB / 1.07 GB, free: 82.09 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=163): time 6.412e-06/1.155, allocations: 1.094 kB / 1.07 GB, free: 82.09 MB / 0.6823 GB Notification: Performance of matching and sorting (n=250): time 0.2458/1.401, allocations: 33.39 MB / 1.103 GB, free: 74.79 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002277/1.401, allocations: 0.4896 MB / 1.104 GB, free: 74.21 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004839/1.406, allocations: 2.284 MB / 1.106 GB, free: 73 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0006188/1.406, allocations: 77.36 kB / 1.106 GB, free: 72.94 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001357/1.408, allocations: 1.429 MB / 1.107 GB, free: 71.68 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001146/1.409, allocations: 0.8237 MB / 1.108 GB, free: 70.97 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003189/1.409, allocations: 47.88 kB / 1.108 GB, free: 70.94 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001575/1.409, allocations: 405.8 kB / 1.108 GB, free: 70.56 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008748/1.418, allocations: 1.918 MB / 1.11 GB, free: 69.66 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009124/1.427, allocations: 2.206 MB / 1.113 GB, free: 68.47 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008881/1.436, allocations: 2.137 MB / 1.115 GB, free: 67.33 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.78e-05/1.436, allocations: 0 / 1.115 GB, free: 67.33 MB / 0.6823 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.0277/1.464, allocations: 6.162 MB / 1.121 GB, free: 61.39 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005924/1.465, allocations: 2.454 MB / 1.123 GB, free: 58.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.222e-05/1.465, allocations: 4 kB / 1.123 GB, free: 58.67 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01181/1.477, allocations: 1.852 MB / 1.125 GB, free: 56.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005483/1.482, allocations: 0.5891 MB / 1.125 GB, free: 56.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0378/1.52, allocations: 14.81 MB / 1.14 GB, free: 41.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006856/1.527, allocations: 403.6 kB / 1.14 GB, free: 40.83 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007106/1.528, allocations: 95.97 kB / 1.14 GB, free: 40.74 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/1.528, allocations: 4 kB / 1.14 GB, free: 40.73 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02655/1.554, allocations: 5.75 MB / 1.146 GB, free: 34.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.012e-05/1.554, allocations: 8 kB / 1.146 GB, free: 34.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009625/1.564, allocations: 1.825 MB / 1.148 GB, free: 33.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005718/1.57, allocations: 0.6085 MB / 1.148 GB, free: 32.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03503/1.605, allocations: 14.05 MB / 1.162 GB, free: 18.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006705/1.612, allocations: 407.6 kB / 1.162 GB, free: 17.76 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007062/1.612, allocations: 94.27 kB / 1.163 GB, free: 17.67 MB / 0.6823 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.003187/1.616, allocations: 0.7839 MB / 1.163 GB, free: 16.87 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001588/1.617, allocations: 332.1 kB / 1.164 GB, free: 16.54 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/1.619, allocations: 392.1 kB / 1.164 GB, free: 16.15 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.917e-05/1.619, allocations: 24 kB / 1.164 GB, free: 16.13 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.539e-05/1.619, allocations: 12 kB / 1.164 GB, free: 16.12 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.041e-05/1.619, allocations: 11.95 kB / 1.164 GB, free: 16.11 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007567/1.626, allocations: 3.17 MB / 1.167 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.531e-05/1.626, allocations: 4 kB / 1.167 GB, free: 12.94 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005288/1.632, allocations: 0.5189 MB / 1.168 GB, free: 12.42 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01247/1.644, allocations: 1.713 MB / 1.169 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006431/1.645, allocations: 55.92 kB / 1.169 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03894/1.684, allocations: 14.6 MB / 1.184 GB, free: 11.78 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.684, allocations: 0 / 1.184 GB, free: 11.78 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03004/1.714, allocations: 5.783 MB / 1.189 GB, free: 5.969 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002904/1.717, allocations: 0.661 MB / 1.19 GB, free: 5.285 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001328/1.718, allocations: 44 kB / 1.19 GB, free: 5.242 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006569/1.725, allocations: 407.4 kB / 1.19 GB, free: 4.844 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001735/1.727, allocations: 310.6 kB / 1.191 GB, free: 4.543 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004763/1.727, allocations: 75.95 kB / 1.191 GB, free: 4.469 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.004208/1.732, allocations: 1.513 MB / 1.192 GB, free: 2.957 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.113e-06/1.732, allocations: 0 / 1.192 GB, free: 2.957 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.008452/1.74, allocations: 1.629 MB / 1.194 GB, free: 1.328 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.03093/1.771, allocations: 6.396 MB / 1.2 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.04517/1.816, allocations: 10.07 MB / 1.21 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.406e-05/1.816, allocations: 0 / 1.21 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.01639/1.833, allocations: 3.497 MB / 1.213 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007817/1.841, allocations: 1.006 MB / 1.214 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09776/1.938, allocations: 29.34 MB / 1.243 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003808/1.942, allocations: 2.379 MB / 1.245 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.005175/1.948, allocations: 0.627 MB / 1.246 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003459/1.951, allocations: 1.339 MB / 1.247 GB, free: 8.914 MB / 0.7605 GB Notification: Performance of SimCode: time 4.027e-06/1.951, allocations: 0 / 1.247 GB, free: 8.914 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4121/2.363, allocations: 100.4 MB / 1.345 GB, free: 5.426 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003694/2.364, allocations: 218.9 kB / 1.345 GB, free: 5.18 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.262/9.625, allocations: 0 / 1.345 GB, free: 5.18 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_DCLines_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_DCLines.fmu > Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)