Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLines,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.662/1.662, allocations: 288.4 MB / 303.6 MB, free: 7.996 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.0009779/0.000978, allocations: 182.8 kB / 372.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.275/1.275, allocations: 205.4 MB / 0.631 GB, free: 9.906 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.0006853/0.0006856, allocations: 82.38 kB / 0.7444 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004097/0.0004099, allocations: 12.16 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1781, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.01465/0.1928, allocations: 20.24 MB / 0.9999 GB, free: 6.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01912/0.2119, allocations: 16.51 MB / 1.016 GB, free: 6.379 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003101/0.2151, allocations: 107.4 kB / 1.016 GB, free: 6.273 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001732/0.2168, allocations: 0.558 MB / 1.017 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01018/0.227, allocations: 3.038 MB / 1.02 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003084/0.2301, allocations: 0.9571 MB / 1.021 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007248/0.2374, allocations: 5.802 MB / 1.026 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003175/0.2406, allocations: 2.499 MB / 1.029 GB, free: 9.297 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003041/0.2436, allocations: 1.871 MB / 1.031 GB, free: 7.418 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003124/0.2468, allocations: 2.171 MB / 1.033 GB, free: 5.238 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0003801/0.2472, allocations: 164 kB / 1.033 GB, free: 5.078 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00183/0.249, allocations: 0.9981 MB / 1.034 GB, free: 4.078 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0007823/0.2498, allocations: 0.9263 MB / 1.035 GB, free: 3.148 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001654/0.2515, allocations: 1.665 MB / 1.036 GB, free: 1.469 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003334/0.2548, allocations: 3.857 MB / 1.04 GB, free: 13.61 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.2548, allocations: 0 / 1.04 GB, free: 13.61 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.515e-06/0.2548, allocations: 4 kB / 1.04 GB, free: 13.6 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.132e-05/0.2549, allocations: 0 / 1.04 GB, free: 13.6 MB / 0.6667 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.006871/0.2618, allocations: 3.842 MB / 1.044 GB, free: 9.648 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.2618, allocations: 12.03 kB / 1.044 GB, free: 9.637 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004929/0.2623, allocations: 366.3 kB / 1.044 GB, free: 9.27 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01441/0.2767, allocations: 3.355 MB / 1.047 GB, free: 5.906 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004017/0.2808, allocations: 2.057 MB / 1.05 GB, free: 3.781 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001541/0.281, allocations: 177.1 kB / 1.05 GB, free: 3.605 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006752/0.2817, allocations: 235.9 kB / 1.05 GB, free: 3.375 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01033/0.292, allocations: 4.72 MB / 1.055 GB, free: 14.51 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.705e-05/0.2921, allocations: 7.938 kB / 1.055 GB, free: 14.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003326/0.2924, allocations: 108 kB / 1.055 GB, free: 14.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001847/0.2926, allocations: 172.8 kB / 1.055 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01231/0.3049, allocations: 5.218 MB / 1.06 GB, free: 8.992 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3836/0.6885, allocations: 14.11 MB / 1.074 GB, free: 78.24 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0111/0.6997, allocations: 3.846 MB / 1.077 GB, free: 77.25 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003669/0.7034, allocations: 1.508 MB / 1.079 GB, free: 76.83 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001217/0.7035, allocations: 27.72 kB / 1.079 GB, free: 76.82 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004145/0.7077, allocations: 1.824 MB / 1.081 GB, free: 76.23 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=163): time 3.577e-06/0.7077, allocations: 0 / 1.081 GB, free: 76.23 MB / 0.6823 GB Notification: Performance of matching and sorting (n=250): time 0.1162/0.8239, allocations: 33.41 MB / 1.113 GB, free: 66.28 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001511/0.8241, allocations: 0.4899 MB / 1.114 GB, free: 65.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00302/0.8271, allocations: 2.278 MB / 1.116 GB, free: 64.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004176/0.8275, allocations: 76.33 kB / 1.116 GB, free: 64.43 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008584/0.8284, allocations: 1.43 MB / 1.117 GB, free: 63.18 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007964/0.8292, allocations: 0.8274 MB / 1.118 GB, free: 62.46 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002593/0.8295, allocations: 47 kB / 1.118 GB, free: 62.43 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.8296, allocations: 396.9 kB / 1.119 GB, free: 62.05 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004338/0.8339, allocations: 1.921 MB / 1.121 GB, free: 60.54 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004419/0.8384, allocations: 2.225 MB / 1.123 GB, free: 58.23 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008353/0.8467, allocations: 4.194 MB / 1.127 GB, free: 53.91 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/0.8468, allocations: 4 kB / 1.127 GB, free: 53.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01357/0.8603, allocations: 6.174 MB / 1.133 GB, free: 47.64 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001945/0.8606, allocations: 399.2 kB / 1.133 GB, free: 47.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.8606, allocations: 7.281 kB / 1.133 GB, free: 47.12 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00599/0.8666, allocations: 1.852 MB / 1.135 GB, free: 45.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003014/0.8696, allocations: 0.5929 MB / 1.136 GB, free: 44.67 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06134/0.931, allocations: 14.15 MB / 1.149 GB, free: 30.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003521/0.9345, allocations: 403.6 kB / 1.15 GB, free: 29.92 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003339/0.9349, allocations: 89.56 kB / 1.15 GB, free: 29.84 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.586e-06/0.9349, allocations: 4 kB / 1.15 GB, free: 29.83 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01231/0.9472, allocations: 5.755 MB / 1.156 GB, free: 24 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.9473, allocations: 11.33 kB / 1.156 GB, free: 23.99 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004377/0.9516, allocations: 1.822 MB / 1.157 GB, free: 22.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002519/0.9542, allocations: 0.6124 MB / 1.158 GB, free: 21.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01619/0.9704, allocations: 13.44 MB / 1.171 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003218/0.9736, allocations: 399.6 kB / 1.171 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002011/0.9738, allocations: 87.97 kB / 1.172 GB, free: 7.375 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.001226/0.9751, allocations: 0.7917 MB / 1.172 GB, free: 6.574 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004885/0.9756, allocations: 332.1 kB / 1.173 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005802/0.9761, allocations: 396.1 kB / 1.173 GB, free: 5.852 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.9762, allocations: 24 kB / 1.173 GB, free: 5.828 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.155e-05/0.9762, allocations: 8 kB / 1.173 GB, free: 5.82 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.597e-05/0.9762, allocations: 15.95 kB / 1.173 GB, free: 5.805 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003252/0.9795, allocations: 3.16 MB / 1.176 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.294e-05/0.9795, allocations: 4 kB / 1.176 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002272/0.9818, allocations: 0.5262 MB / 1.177 GB, free: 2.109 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005102/0.9869, allocations: 1.711 MB / 1.178 GB, free: 400 kB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001795/0.9871, allocations: 47.97 kB / 1.178 GB, free: 352 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02006/1.007, allocations: 13.94 MB / 1.192 GB, free: 2.141 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.007, allocations: 0 / 1.192 GB, free: 2.141 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01541/1.023, allocations: 5.796 MB / 1.198 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001746/1.024, allocations: 0.6609 MB / 1.198 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008158/1.025, allocations: 55.98 kB / 1.198 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003291/1.029, allocations: 391.6 kB / 1.199 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009111/1.029, allocations: 314.6 kB / 1.199 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002492/1.03, allocations: 75.14 kB / 1.199 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002541/1.032, allocations: 1.505 MB / 1.201 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/1.032, allocations: 0 / 1.201 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004902/1.037, allocations: 1.625 MB / 1.202 GB, free: 7.68 MB / 0.7136 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.01573/1.053, allocations: 6.419 MB / 1.208 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.02379/1.077, allocations: 10.06 MB / 1.218 GB, free: 6.973 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/1.077, allocations: 4.75 kB / 1.218 GB, free: 6.969 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.008284/1.085, allocations: 3.486 MB / 1.222 GB, free: 3.453 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005506/1.091, allocations: 1.035 MB / 1.223 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05543/1.146, allocations: 25.98 MB / 1.248 GB, free: 6.996 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002805/1.149, allocations: 2.312 MB / 1.25 GB, free: 4.648 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.00373/1.153, allocations: 0.623 MB / 1.251 GB, free: 4.023 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002169/1.155, allocations: 1.34 MB / 1.252 GB, free: 2.684 MB / 0.7605 GB Notification: Performance of SimCode: time 9.82e-07/1.155, allocations: 0 / 1.252 GB, free: 2.684 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.313/2.467, allocations: 101.2 MB / 1.351 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/2.468, allocations: 208.2 kB / 1.351 GB, free: 14.06 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.629/8.097, allocations: 7.938 kB / 1.351 GB, free: 14.05 MB / 0.8698 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_DCLines_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_DCLines.fmu > Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)