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.722/2.722, allocations: 287.5 MB / 302.4 MB, free: 8.309 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.001372/0.001372, allocations: 170.2 kB / 371 MB, free: 10.88 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.095/2.095, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.0009439/0.0009436, allocations: 92.27 kB / 0.743 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005049/0.0005054, allocations: 10.62 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2506, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.03154/0.2823, allocations: 20.22 MB / 0.9982 GB, free: 7.977 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.03457/0.3169, allocations: 16.51 MB / 1.014 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003828/0.3208, allocations: 103.4 kB / 1.014 GB, free: 7.324 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003268/0.3241, allocations: 0.5618 MB / 1.015 GB, free: 6.758 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01371/0.3378, allocations: 2.867 MB / 1.018 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004985/0.3428, allocations: 0.9561 MB / 1.019 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.01228/0.3552, allocations: 5.763 MB / 1.024 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005556/0.3608, allocations: 2.024 MB / 1.026 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00551/0.3663, allocations: 1.867 MB / 1.028 GB, free: 9.184 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0065/0.3729, allocations: 2.167 MB / 1.03 GB, free: 7.008 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001529/0.3745, allocations: 164 kB / 1.03 GB, free: 6.848 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003516/0.378, allocations: 499.4 kB / 1.031 GB, free: 6.359 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.002312/0.3804, allocations: 0.9225 MB / 1.032 GB, free: 5.434 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.00192/0.3824, allocations: 0.6912 MB / 1.032 GB, free: 4.734 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.007549/0.3899, allocations: 3.822 MB / 1.036 GB, free: 0.9062 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.39, allocations: 0 / 1.036 GB, free: 0.9062 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.126e-06/0.39, allocations: 0 / 1.036 GB, free: 0.9062 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001965/0.3902, allocations: 0 / 1.036 GB, free: 0.9062 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.01398/0.4042, allocations: 3.892 MB / 1.04 GB, free: 12.9 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/0.4043, allocations: 12.02 kB / 1.04 GB, free: 12.89 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001396/0.4057, allocations: 358.1 kB / 1.04 GB, free: 12.53 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03672/0.4424, allocations: 3.354 MB / 1.044 GB, free: 9.168 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0102/0.4527, allocations: 1.96 MB / 1.046 GB, free: 7.141 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004256/0.4532, allocations: 176.7 kB / 1.046 GB, free: 6.965 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001775/0.455, allocations: 236 kB / 1.046 GB, free: 6.734 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0308/0.4859, allocations: 4.72 MB / 1.051 GB, free: 1.871 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001135/0.486, allocations: 0 / 1.051 GB, free: 1.871 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001048/0.4871, allocations: 111.9 kB / 1.051 GB, free: 1.762 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005454/0.4877, allocations: 176.8 kB / 1.051 GB, free: 1.586 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03978/0.5275, allocations: 5.214 MB / 1.056 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6687/1.196, allocations: 14.1 MB / 1.07 GB, free: 78.59 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02197/1.218, allocations: 3.848 MB / 1.073 GB, free: 78.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00713/1.225, allocations: 1.509 MB / 1.075 GB, free: 77.77 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002294/1.226, allocations: 28.22 kB / 1.075 GB, free: 77.77 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007928/1.234, allocations: 1.817 MB / 1.077 GB, free: 77.18 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=163): time 7.504e-06/1.234, allocations: 0 / 1.077 GB, free: 77.18 MB / 0.6823 GB Notification: Performance of matching and sorting (n=250): time 0.2455/1.479, allocations: 33.39 MB / 1.109 GB, free: 68.68 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001705/1.479, allocations: 0.4961 MB / 1.11 GB, free: 68.11 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003912/1.483, allocations: 2.282 MB / 1.112 GB, free: 66.89 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000542/1.484, allocations: 79.31 kB / 1.112 GB, free: 66.83 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001338/1.485, allocations: 1.431 MB / 1.114 GB, free: 65.57 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001165/1.487, allocations: 0.8207 MB / 1.114 GB, free: 64.86 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003181/1.487, allocations: 51.59 kB / 1.114 GB, free: 64.82 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001454/1.487, allocations: 397.8 kB / 1.115 GB, free: 64.45 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008351/1.495, allocations: 1.917 MB / 1.117 GB, free: 63.55 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008813/1.504, allocations: 2.218 MB / 1.119 GB, free: 62.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01215/1.516, allocations: 2.132 MB / 1.121 GB, free: 60.01 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.827e-05/1.517, allocations: 4 kB / 1.121 GB, free: 60.01 MB / 0.6823 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02992/1.546, allocations: 6.163 MB / 1.127 GB, free: 53.75 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003147/1.547, allocations: 403.3 kB / 1.127 GB, free: 53.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.453e-05/1.547, allocations: 4 kB / 1.127 GB, free: 53.24 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01212/1.559, allocations: 1.853 MB / 1.129 GB, free: 51.38 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005447/1.565, allocations: 0.5852 MB / 1.13 GB, free: 50.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03578/1.6, allocations: 14.15 MB / 1.143 GB, free: 36.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006593/1.607, allocations: 411.5 kB / 1.144 GB, free: 36.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005517/1.608, allocations: 87.97 kB / 1.144 GB, free: 35.96 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/1.608, allocations: 4 kB / 1.144 GB, free: 35.96 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02534/1.633, allocations: 5.753 MB / 1.15 GB, free: 30.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-05/1.633, allocations: 8 kB / 1.15 GB, free: 30.12 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009305/1.642, allocations: 1.825 MB / 1.151 GB, free: 28.28 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005693/1.648, allocations: 0.6122 MB / 1.152 GB, free: 27.67 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03804/1.686, allocations: 13.43 MB / 1.165 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01288/1.699, allocations: 399.6 kB / 1.165 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001189/1.7, allocations: 87.97 kB / 1.166 GB, free: 13.51 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.005265/1.706, allocations: 0.7878 MB / 1.166 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001079/1.707, allocations: 332.1 kB / 1.167 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001199/1.708, allocations: 396.1 kB / 1.167 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.259e-05/1.708, allocations: 27.98 kB / 1.167 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.147e-05/1.708, allocations: 8 kB / 1.167 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.064e-05/1.708, allocations: 11.95 kB / 1.167 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01529/1.724, allocations: 3.171 MB / 1.17 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-05/1.724, allocations: 3.281 kB / 1.17 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008581/1.732, allocations: 0.5188 MB / 1.171 GB, free: 8.258 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01441/1.747, allocations: 1.717 MB / 1.172 GB, free: 6.535 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005706/1.747, allocations: 51.97 kB / 1.172 GB, free: 6.484 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03629/1.784, allocations: 13.93 MB / 1.186 GB, free: 8.289 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.784, allocations: 0 / 1.186 GB, free: 8.289 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02871/1.813, allocations: 5.783 MB / 1.192 GB, free: 2.473 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002695/1.815, allocations: 0.6609 MB / 1.192 GB, free: 1.789 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001054/1.816, allocations: 51.98 kB / 1.192 GB, free: 1.738 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006352/1.823, allocations: 396.1 kB / 1.193 GB, free: 1.352 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001532/1.824, allocations: 314.6 kB / 1.193 GB, free: 1.047 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004202/1.825, allocations: 67.97 kB / 1.193 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003794/1.829, allocations: 1.511 MB / 1.195 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.783e-06/1.829, allocations: 0 / 1.195 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.007635/1.836, allocations: 1.624 MB / 1.196 GB, free: 13.85 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.02999/1.866, allocations: 6.415 MB / 1.202 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.04442/1.911, allocations: 10.06 MB / 1.212 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/1.911, allocations: 0.75 kB / 1.212 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.01574/1.927, allocations: 3.494 MB / 1.216 GB, free: 9.625 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008489/1.935, allocations: 1.047 MB / 1.217 GB, free: 8.598 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09357/2.029, allocations: 25.98 MB / 1.242 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003659/2.032, allocations: 2.312 MB / 1.244 GB, free: 10.81 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.00506/2.038, allocations: 0.6348 MB / 1.245 GB, free: 10.17 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00328/2.041, allocations: 1.335 MB / 1.246 GB, free: 8.836 MB / 0.7605 GB Notification: Performance of SimCode: time 1.342e-06/2.041, allocations: 3.938 kB / 1.246 GB, free: 8.832 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.266/2.307, allocations: 100.5 MB / 1.344 GB, free: 5.305 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002713/2.307, allocations: 212.4 kB / 1.345 GB, free: 5.066 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.837/10.14, allocations: 0 / 1.345 GB, free: 5.066 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)