Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLine,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_DCLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLine,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.469/1.469, allocations: 249.5 MB / 257 MB, free: 7.008 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 184.8 kB / 316.3 MB, free: 3.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.47/1.47, allocations: 205.3 MB / 0.5671 GB, free: 15.87 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008641/0.000864, allocations: 100.7 kB / 0.6715 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.511e-05/1.513e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1976, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.726/0.9237, allocations: 174.4 MB / 1.056 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/0.9241, allocations: 92.66 kB / 1.056 GB, free: 13.71 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3-maint.7.0.x/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 7.0.3-maint.7.0.x/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.08707/1.011, allocations: 36.55 MB / 1.091 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.253e-06/1.011, allocations: 192 / 1.091 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.482e-05/1.011, allocations: 19.88 kB / 1.091 GB, free: 15.67 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.001511/1.013, allocations: 0.9073 MB / 1.092 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/1.013, allocations: 8.031 kB / 1.092 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003261/1.016, allocations: 0.6256 MB / 1.093 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/1.017, allocations: 0.5876 MB / 1.093 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/1.017, allocations: 16 kB / 1.093 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.376e-05/1.017, allocations: 32 kB / 1.094 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001079/1.018, allocations: 0.6902 MB / 1.094 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/1.02, allocations: 0.7998 MB / 1.095 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/1.02, allocations: 0 / 1.095 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.135e-05/1.02, allocations: 4 kB / 1.095 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-05/1.02, allocations: 40.8 kB / 1.095 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004002/1.024, allocations: 3.407 MB / 1.098 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007084/1.024, allocations: 369.6 kB / 1.099 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002203/1.025, allocations: 170.3 kB / 1.099 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.744e-05/1.025, allocations: 7.984 kB / 1.099 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/1.025, allocations: 38.12 kB / 1.099 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=31): time 3.296e-06/1.025, allocations: 3.984 kB / 1.099 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43): time 0.002431/1.027, allocations: 1.128 MB / 1.1 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.199e-05/1.027, allocations: 140.5 kB / 1.1 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004387/1.028, allocations: 386.6 kB / 1.101 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.763e-05/1.028, allocations: 37.62 kB / 1.101 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/1.028, allocations: 366 kB / 1.101 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/1.028, allocations: 138.5 kB / 1.101 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-05/1.028, allocations: 4 kB / 1.101 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001418/1.028, allocations: 368.6 kB / 1.101 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002437/1.029, allocations: 172.1 kB / 1.102 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003142/1.029, allocations: 308.6 kB / 1.102 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002892/1.029, allocations: 219.6 kB / 1.102 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/1.029, allocations: 8 kB / 1.102 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001348/1.031, allocations: 0.7222 MB / 1.103 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004267/1.031, allocations: 1.218 MB / 1.104 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/1.031, allocations: 4 kB / 1.104 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000883/1.032, allocations: 233.1 kB / 1.104 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006282/1.033, allocations: 130.3 kB / 1.104 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00397/1.037, allocations: 5.732 MB / 1.11 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006787/1.037, allocations: 52.03 kB / 1.11 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.42e-05/1.037, allocations: 23.67 kB / 1.11 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.435e-06/1.037, allocations: 0 / 1.11 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001305/1.039, allocations: 1.021 MB / 1.111 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/1.039, allocations: 7.938 kB / 1.111 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003164/1.039, allocations: 133.1 kB / 1.111 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006413/1.04, allocations: 147.6 kB / 1.111 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004611/1.044, allocations: 7.499 MB / 1.119 GB, free: 4.789 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006674/1.045, allocations: 48.11 kB / 1.119 GB, free: 4.742 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.9e-05/1.045, allocations: 19 kB / 1.119 GB, free: 4.727 MB / 0.7292 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 () * 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.0001971/1.045, allocations: 124.8 kB / 1.119 GB, free: 4.598 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001209/1.046, allocations: 0.6365 MB / 1.119 GB, free: 4.074 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.393e-05/1.046, allocations: 59.33 kB / 1.119 GB, free: 4.016 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001762/1.047, allocations: 64.86 kB / 1.119 GB, free: 3.984 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/1.047, allocations: 4 kB / 1.119 GB, free: 3.98 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/1.047, allocations: 0 / 1.119 GB, free: 3.98 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/1.047, allocations: 3.984 kB / 1.119 GB, free: 3.977 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007271/1.047, allocations: 0.5688 MB / 1.12 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/1.047, allocations: 0 / 1.12 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000503/1.048, allocations: 99.86 kB / 1.12 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007779/1.049, allocations: 233 kB / 1.12 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.34e-05/1.049, allocations: 7.984 kB / 1.12 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00552/1.054, allocations: 8.006 MB / 1.128 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/1.054, allocations: 0 / 1.128 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/1.056, allocations: 0.7457 MB / 1.129 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000265/1.056, allocations: 168.4 kB / 1.129 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.497e-05/1.056, allocations: 7.938 kB / 1.129 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004937/1.057, allocations: 47.95 kB / 1.129 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/1.057, allocations: 39.94 kB / 1.129 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/1.057, allocations: 8 kB / 1.129 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003779/1.057, allocations: 303 kB / 1.129 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.51e-07/1.057, allocations: 0 / 1.129 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00105/1.058, allocations: 260 kB / 1.13 GB, free: 8.727 MB / 0.7448 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 () * 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.001564/1.06, allocations: 1.306 MB / 1.131 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002274/1.062, allocations: 1.718 MB / 1.133 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/1.062, allocations: 4 kB / 1.133 GB, free: 5.562 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0009095/1.063, allocations: 0.8852 MB / 1.134 GB, free: 4.617 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00094/1.064, allocations: 177.7 kB / 1.134 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/1.066, allocations: 1.004 MB / 1.135 GB, free: 3.406 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005301/1.067, allocations: 0.9902 MB / 1.136 GB, free: 2.387 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0006825/1.067, allocations: 164.9 kB / 1.136 GB, free: 2.223 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002853/1.068, allocations: 227.4 kB / 1.136 GB, free: 2 MB / 0.7448 GB Notification: Performance of SimCode: time 6.61e-07/1.068, allocations: 0 / 1.136 GB, free: 2 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03937/1.107, allocations: 16.38 MB / 1.152 GB, free: 1.773 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002175/1.107, allocations: 144.6 kB / 1.152 GB, free: 1.578 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.392/3.499, allocations: 0 / 1.152 GB, free: 1.578 MB / 0.7605 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_DCLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_DCLine.fmu > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)