Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.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.DCLine,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_DCLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLine,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_DCLine",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.669/2.669, allocations: 287.3 MB / 302.3 MB, free: 8.285 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.001512/0.001512, allocations: 171.8 kB / 370.8 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.171/2.171, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.001184/0.001183, allocations: 94.23 kB / 0.7428 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006503/0.0006504, allocations: 11.12 kB / 0.8657 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2584, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9826/1.241, allocations: 180.3 MB / 1.154 GB, free: 3.617 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003629/1.242, allocations: 90.58 kB / 1.154 GB, free: 3.57 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Electrical/Transmission/BaseClasses/PartialTwoPortRLC.mo:18:3-18:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Electrical/Transmission/BaseClasses/PartialTwoPortRLC.mo:18:3-18:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.1489/1.39, allocations: 36.96 MB / 1.19 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.896e-06/1.39, allocations: 0 / 1.19 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.913e-05/1.391, allocations: 28.06 kB / 1.191 GB, free: 4.742 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.003016/1.394, allocations: 0.9942 MB / 1.191 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.603e-05/1.394, allocations: 16.02 kB / 1.192 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000356/1.394, allocations: 108 kB / 1.192 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005919/1.4, allocations: 0.6244 MB / 1.192 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002027/1.402, allocations: 0.5949 MB / 1.193 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.72e-05/1.402, allocations: 34.75 kB / 1.193 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001773/1.402, allocations: 47.75 kB / 1.193 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00363/1.406, allocations: 1.019 MB / 1.194 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.253e-05/1.406, allocations: 3.938 kB / 1.194 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/1.406, allocations: 21.44 kB / 1.194 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.471e-05/1.406, allocations: 44.34 kB / 1.194 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004568/1.411, allocations: 1.007 MB / 1.195 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007567/1.419, allocations: 3.553 MB / 1.198 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002634/1.421, allocations: 0.5118 MB / 1.199 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.881e-05/1.421, allocations: 7.984 kB / 1.199 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/1.421, allocations: 42.44 kB / 1.199 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=31): time 3.476e-06/1.421, allocations: 0 / 1.199 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43): time 0.01293/1.434, allocations: 2.28 MB / 1.201 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.81e-05/1.434, allocations: 140.5 kB / 1.201 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/1.436, allocations: 0.4969 MB / 1.202 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001169/1.436, allocations: 36.27 kB / 1.202 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003205/1.436, allocations: 350.7 kB / 1.202 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002032/1.436, allocations: 153.9 kB / 1.202 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.493e-05/1.436, allocations: 11.25 kB / 1.202 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001973/1.436, allocations: 374 kB / 1.203 GB, free: 9.688 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001308/1.438, allocations: 275 kB / 1.203 GB, free: 9.484 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/1.439, allocations: 404.7 kB / 1.203 GB, free: 9.113 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/1.441, allocations: 306.9 kB / 1.204 GB, free: 8.902 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/1.441, allocations: 4 kB / 1.204 GB, free: 8.898 MB / 0.7292 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00431/1.445, allocations: 0.9598 MB / 1.205 GB, free: 8.109 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005751/1.446, allocations: 1.225 MB / 1.206 GB, free: 6.812 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/1.446, allocations: 4 kB / 1.206 GB, free: 6.809 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00175/1.447, allocations: 252 kB / 1.206 GB, free: 6.578 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/1.449, allocations: 127.4 kB / 1.206 GB, free: 6.457 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00722/1.456, allocations: 5.974 MB / 1.212 GB, free: 384 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/1.457, allocations: 54.45 kB / 1.212 GB, free: 336 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/1.457, allocations: 25.73 kB / 1.212 GB, free: 316 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/1.457, allocations: 4 kB / 1.212 GB, free: 312 kB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004157/1.462, allocations: 1.071 MB / 1.213 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/1.462, allocations: 8.031 kB / 1.213 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001173/1.463, allocations: 201.5 kB / 1.213 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/1.464, allocations: 139.1 kB / 1.213 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009606/1.474, allocations: 8.206 MB / 1.221 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/1.475, allocations: 58.94 kB / 1.221 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.862e-05/1.475, allocations: 15.69 kB / 1.221 GB, free: 6.43 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006664/1.476, allocations: 319.2 kB / 1.222 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002214/1.476, allocations: 63.25 kB / 1.222 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002372/1.476, allocations: 82.86 kB / 1.222 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/1.476, allocations: 4 kB / 1.222 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.807e-05/1.476, allocations: 8 kB / 1.222 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/1.476, allocations: 3.938 kB / 1.222 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001394/1.478, allocations: 0.6445 MB / 1.223 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-05/1.478, allocations: 4 kB / 1.223 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/1.479, allocations: 102.8 kB / 1.223 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001613/1.48, allocations: 250.3 kB / 1.223 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.411e-05/1.481, allocations: 3.875 kB / 1.223 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01007/1.491, allocations: 8.476 MB / 1.231 GB, free: 12.47 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.491, allocations: 3.938 kB / 1.231 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004211/1.495, allocations: 0.9497 MB / 1.232 GB, free: 11.65 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005524/1.496, allocations: 182 kB / 1.232 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001389/1.496, allocations: 3 kB / 1.232 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009222/1.497, allocations: 58.16 kB / 1.232 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002032/1.497, allocations: 46.5 kB / 1.232 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.497e-05/1.497, allocations: 15.42 kB / 1.232 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0008046/1.498, allocations: 398.6 kB / 1.233 GB, free: 11.08 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.4e-07/1.498, allocations: 0 / 1.233 GB, free: 11.08 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.00163/1.499, allocations: 296 kB / 1.233 GB, free: 10.82 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.004441/1.504, allocations: 1.524 MB / 1.235 GB, free: 9.426 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.006276/1.51, allocations: 2.086 MB / 1.237 GB, free: 7.496 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/1.51, allocations: 0 / 1.237 GB, free: 7.496 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.002333/1.513, allocations: 1.02 MB / 1.238 GB, free: 6.504 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001723/1.514, allocations: 209.4 kB / 1.238 GB, free: 6.348 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01484/1.529, allocations: 6.273 MB / 1.244 GB, free: 316 kB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008507/1.53, allocations: 0.9859 MB / 1.245 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001157/1.531, allocations: 149.4 kB / 1.245 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005511/1.532, allocations: 243.3 kB / 1.245 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of SimCode: time 1.403e-06/1.532, allocations: 0 / 1.245 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07534/1.607, allocations: 18.37 MB / 1.263 GB, free: 12.84 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000363/1.608, allocations: 211.5 kB / 1.263 GB, free: 12.59 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.273/4.881, allocations: 0 / 1.263 GB, free: 12.59 MB / 0.7917 GB (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_DCLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_DCLine.fmu > Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)