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.704/1.704, allocations: 288.2 MB / 303.2 MB, free: 8.152 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.001179/0.001179, allocations: 181.1 kB / 371.8 MB, free: 10.28 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.505/1.505, allocations: 205.4 MB / 0.6305 GB, free: 10.03 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.0008694/0.0008693, allocations: 90.86 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004142/0.0004143, allocations: 11.03 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2276, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.01587/0.2435, allocations: 19.15 MB / 0.9982 GB, free: 8.406 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02298/0.2666, allocations: 16.07 MB / 1.014 GB, free: 8.301 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005356/0.272, allocations: 91.44 kB / 1.014 GB, free: 8.211 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003069/0.2751, allocations: 0.547 MB / 1.014 GB, free: 7.66 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0119/0.2871, allocations: 2.828 MB / 1.017 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004556/0.2916, allocations: 0.9327 MB / 1.018 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.008535/0.3002, allocations: 3.34 MB / 1.021 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004661/0.3049, allocations: 2.017 MB / 1.023 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004227/0.3091, allocations: 1.72 MB / 1.025 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00412/0.3133, allocations: 1.755 MB / 1.027 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001244/0.3146, allocations: 164 kB / 1.027 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002391/0.317, allocations: 479.4 kB / 1.027 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001615/0.3186, allocations: 0.8488 MB / 1.028 GB, free: 9.508 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.002254/0.3209, allocations: 0.6873 MB / 1.029 GB, free: 8.812 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.005696/0.3266, allocations: 3.802 MB / 1.033 GB, free: 5 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.3266, allocations: 0 / 1.033 GB, free: 5 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.564e-06/0.3266, allocations: 0 / 1.033 GB, free: 5 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002306/0.3269, allocations: 0 / 1.033 GB, free: 5 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.01071/0.3376, allocations: 3.87 MB / 1.036 GB, free: 1.02 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.3376, allocations: 12.02 kB / 1.036 GB, free: 1.008 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001235/0.3389, allocations: 358.1 kB / 1.037 GB, free: 0.6484 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01636/0.3553, allocations: 3.397 MB / 1.04 GB, free: 13.24 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005248/0.3606, allocations: 1.968 MB / 1.042 GB, free: 11.21 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002301/0.3608, allocations: 176.7 kB / 1.042 GB, free: 11.03 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009235/0.3618, allocations: 232 kB / 1.042 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01349/0.3753, allocations: 4.705 MB / 1.047 GB, free: 5.957 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.118e-05/0.3754, allocations: 0 / 1.047 GB, free: 5.957 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007869/0.3762, allocations: 104 kB / 1.047 GB, free: 5.855 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002545/0.3765, allocations: 172.8 kB / 1.047 GB, free: 5.684 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0145/0.391, allocations: 5.226 MB / 1.052 GB, free: 452 kB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02572/0.4167, allocations: 14.11 MB / 1.066 GB, free: 1.172 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5029/0.9197, allocations: 3.844 MB / 1.07 GB, free: 82 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001511/0.9199, allocations: 30.44 kB / 1.07 GB, free: 82 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004678/0.9246, allocations: 1.813 MB / 1.072 GB, free: 81.41 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=163): time 4.819e-06/0.9246, allocations: 3.844 kB / 1.072 GB, free: 81.41 MB / 0.6823 GB Notification: Performance of matching and sorting (n=250): time 0.1339/1.059, allocations: 33.39 MB / 1.104 GB, free: 73.29 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002283/1.059, allocations: 0.4896 MB / 1.105 GB, free: 72.72 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00472/1.064, allocations: 2.279 MB / 1.107 GB, free: 71.51 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005148/1.064, allocations: 76.77 kB / 1.107 GB, free: 71.45 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001202/1.065, allocations: 1.431 MB / 1.108 GB, free: 70.19 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001044/1.066, allocations: 0.8238 MB / 1.109 GB, free: 69.48 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003132/1.067, allocations: 47.5 kB / 1.109 GB, free: 69.44 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001674/1.067, allocations: 401.1 kB / 1.11 GB, free: 69.07 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004733/1.072, allocations: 1.921 MB / 1.112 GB, free: 68.16 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004757/1.076, allocations: 2.21 MB / 1.114 GB, free: 66.97 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004632/1.081, allocations: 2.129 MB / 1.116 GB, free: 65.59 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.59e-05/1.081, allocations: 7.984 kB / 1.116 GB, free: 65.59 MB / 0.6823 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01506/1.096, allocations: 6.159 MB / 1.122 GB, free: 59.34 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006161/1.097, allocations: 2.452 MB / 1.124 GB, free: 56.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.263e-05/1.097, allocations: 4 kB / 1.124 GB, free: 56.61 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00658/1.103, allocations: 1.848 MB / 1.126 GB, free: 54.75 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003097/1.107, allocations: 0.5891 MB / 1.127 GB, free: 54.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02086/1.128, allocations: 14.81 MB / 1.141 GB, free: 39.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004213/1.132, allocations: 411.6 kB / 1.141 GB, free: 38.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004465/1.132, allocations: 87.97 kB / 1.142 GB, free: 38.68 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/1.132, allocations: 4 kB / 1.142 GB, free: 38.68 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01349/1.146, allocations: 5.756 MB / 1.147 GB, free: 32.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-05/1.146, allocations: 8 kB / 1.147 GB, free: 32.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004701/1.151, allocations: 1.818 MB / 1.149 GB, free: 31.01 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002828/1.153, allocations: 0.6085 MB / 1.15 GB, free: 30.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01898/1.172, allocations: 14.05 MB / 1.163 GB, free: 16.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004152/1.177, allocations: 399.6 kB / 1.164 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005652/1.177, allocations: 89.94 kB / 1.164 GB, free: 15.62 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.002418/1.18, allocations: 0.7878 MB / 1.164 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001369/1.181, allocations: 336.1 kB / 1.165 GB, free: 14.49 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001187/1.182, allocations: 392.1 kB / 1.165 GB, free: 14.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-05/1.182, allocations: 24 kB / 1.165 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.611e-05/1.182, allocations: 16 kB / 1.165 GB, free: 14.06 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.193e-05/1.182, allocations: 11.95 kB / 1.165 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005397/1.188, allocations: 3.171 MB / 1.168 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.334e-05/1.188, allocations: 0 / 1.168 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00256/1.19, allocations: 0.5228 MB / 1.169 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005744/1.196, allocations: 1.713 MB / 1.171 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003967/1.197, allocations: 47.97 kB / 1.171 GB, free: 8.594 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02175/1.218, allocations: 14.61 MB / 1.185 GB, free: 9.723 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/1.219, allocations: 3.984 kB / 1.185 GB, free: 9.719 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01593/1.234, allocations: 5.784 MB / 1.19 GB, free: 3.898 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00258/1.237, allocations: 0.661 MB / 1.191 GB, free: 3.215 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001337/1.238, allocations: 48 kB / 1.191 GB, free: 3.168 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003759/1.242, allocations: 403.5 kB / 1.192 GB, free: 2.773 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009534/1.243, allocations: 306.6 kB / 1.192 GB, free: 2.477 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003198/1.244, allocations: 67.97 kB / 1.192 GB, free: 2.41 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002939/1.246, allocations: 1.51 MB / 1.193 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.323e-06/1.246, allocations: 4 kB / 1.193 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.006514/1.253, allocations: 1.626 MB / 1.195 GB, free: 15.27 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.01797/1.271, allocations: 6.413 MB / 1.201 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.02518/1.296, allocations: 10.08 MB / 1.211 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.575e-05/1.296, allocations: 0 / 1.211 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.01019/1.306, allocations: 3.492 MB / 1.214 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00571/1.312, allocations: 1.003 MB / 1.215 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06964/1.382, allocations: 29.35 MB / 1.244 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003873/1.386, allocations: 2.371 MB / 1.246 GB, free: 8.82 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.004326/1.39, allocations: 0.6347 MB / 1.247 GB, free: 8.18 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002443/1.393, allocations: 1.331 MB / 1.248 GB, free: 6.852 MB / 0.7605 GB Notification: Performance of SimCode: time 1.343e-06/1.393, allocations: 0 / 1.248 GB, free: 6.852 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1945/1.587, allocations: 100.4 MB / 1.346 GB, free: 3.273 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002097/1.588, allocations: 230.1 kB / 1.347 GB, free: 3.023 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.919/7.507, allocations: 0 / 1.347 GB, free: 3.023 MB / 0.8542 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)