Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLine,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Lines_Examples_DCLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLine,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.73/1.73, allocations: 292.6 MB / 307.5 MB, free: 5.168 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.001258/0.001258, allocations: 188.5 kB / 377.1 MB, free: 1.5 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.703/1.703, allocations: 205.4 MB / 0.6366 GB, free: 8.582 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008419/0.000842, allocations: 90.98 kB / 0.7509 GB, free: 63.01 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005176/0.0005177, allocations: 11.98 kB / 0.8749 GB, free: 11.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3065, allocations: 116.3 MB / 0.9884 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9284/1.235, allocations: 181.4 MB / 1.166 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004233/1.236, allocations: 90.2 kB / 1.166 GB, free: 0.8867 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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.09554/1.331, allocations: 36.96 MB / 1.202 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.573e-06/1.331, allocations: 0 / 1.202 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.188e-05/1.331, allocations: 27.94 kB / 1.202 GB, free: 11.66 MB / 0.7761 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.001877/1.333, allocations: 1.002 MB / 1.203 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/1.333, allocations: 15.95 kB / 1.203 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001527/1.333, allocations: 106.5 kB / 1.203 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003315/1.337, allocations: 0.6271 MB / 1.203 GB, free: 9.852 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/1.338, allocations: 0.5866 MB / 1.204 GB, free: 9.227 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.624e-05/1.338, allocations: 41.25 kB / 1.204 GB, free: 9.184 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.555e-05/1.338, allocations: 51.98 kB / 1.204 GB, free: 9.133 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002041/1.34, allocations: 1.016 MB / 1.205 GB, free: 8.074 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/1.34, allocations: 0 / 1.205 GB, free: 8.074 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.524e-05/1.34, allocations: 20 kB / 1.205 GB, free: 8.055 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.932e-05/1.34, allocations: 45.28 kB / 1.205 GB, free: 8.012 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002281/1.343, allocations: 1.004 MB / 1.206 GB, free: 7.008 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004728/1.347, allocations: 3.557 MB / 1.21 GB, free: 3.148 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001393/1.349, allocations: 0.5103 MB / 1.21 GB, free: 2.625 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.942e-05/1.349, allocations: 7.984 kB / 1.21 GB, free: 2.617 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/1.349, allocations: 42.5 kB / 1.21 GB, free: 2.566 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=31): time 1.493e-06/1.349, allocations: 0 / 1.21 GB, free: 2.566 MB / 0.7761 GB Notification: Performance of matching and sorting (n=43): time 0.007015/1.356, allocations: 2.289 MB / 1.212 GB, free: 224 kB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/1.356, allocations: 132.5 kB / 1.213 GB, free: 60 kB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006975/1.357, allocations: 0.4955 MB / 1.213 GB, free: 15.55 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 5.601e-05/1.357, allocations: 37.7 kB / 1.213 GB, free: 15.51 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002692/1.357, allocations: 348.2 kB / 1.213 GB, free: 15.16 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/1.357, allocations: 153.8 kB / 1.214 GB, free: 15.01 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.784e-05/1.357, allocations: 8 kB / 1.214 GB, free: 15 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001892/1.357, allocations: 378.7 kB / 1.214 GB, free: 14.62 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006682/1.358, allocations: 272.9 kB / 1.214 GB, free: 14.36 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007537/1.359, allocations: 396.4 kB / 1.215 GB, free: 13.92 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007254/1.36, allocations: 317.4 kB / 1.215 GB, free: 13.61 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.36, allocations: 0 / 1.215 GB, free: 13.61 MB / 0.7917 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002265/1.362, allocations: 0.9587 MB / 1.216 GB, free: 12.62 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006221/1.363, allocations: 1.223 MB / 1.217 GB, free: 11.31 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/1.363, allocations: 4 kB / 1.217 GB, free: 11.3 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/1.364, allocations: 256.9 kB / 1.217 GB, free: 11.04 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006411/1.364, allocations: 128.8 kB / 1.217 GB, free: 10.91 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005138/1.369, allocations: 5.981 MB / 1.223 GB, free: 4.457 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007909/1.37, allocations: 51.95 kB / 1.223 GB, free: 4.406 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.784e-05/1.37, allocations: 23.98 kB / 1.223 GB, free: 4.383 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/1.37, allocations: 7.938 kB / 1.223 GB, free: 4.375 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00235/1.373, allocations: 1.07 MB / 1.224 GB, free: 3.23 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/1.373, allocations: 4 kB / 1.224 GB, free: 3.227 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007144/1.373, allocations: 209.1 kB / 1.225 GB, free: 3.004 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006414/1.374, allocations: 135.8 kB / 1.225 GB, free: 2.871 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006641/1.381, allocations: 8.204 MB / 1.233 GB, free: 9.871 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000764/1.382, allocations: 56.02 kB / 1.233 GB, free: 9.816 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.049e-05/1.382, allocations: 19.98 kB / 1.233 GB, free: 9.797 MB / 0.8073 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.0005616/1.382, allocations: 318.6 kB / 1.233 GB, free: 9.477 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/1.382, allocations: 63.25 kB / 1.233 GB, free: 9.414 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001507/1.382, allocations: 82.31 kB / 1.233 GB, free: 9.332 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/1.382, allocations: 4 kB / 1.233 GB, free: 9.328 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/1.382, allocations: 3.984 kB / 1.233 GB, free: 9.324 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.649e-05/1.382, allocations: 0 / 1.233 GB, free: 9.324 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008434/1.383, allocations: 0.6572 MB / 1.234 GB, free: 8.617 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/1.383, allocations: 0 / 1.234 GB, free: 8.617 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005272/1.384, allocations: 99.91 kB / 1.234 GB, free: 8.52 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008825/1.385, allocations: 248.9 kB / 1.234 GB, free: 8.258 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.645e-05/1.385, allocations: 8 kB / 1.234 GB, free: 8.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007191/1.392, allocations: 8.471 MB / 1.242 GB, free: 14.98 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.392, allocations: 4.031 kB / 1.242 GB, free: 14.97 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002308/1.394, allocations: 0.9521 MB / 1.243 GB, free: 13.98 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003366/1.395, allocations: 184.3 kB / 1.244 GB, free: 13.79 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.42e-05/1.395, allocations: 8 kB / 1.244 GB, free: 13.78 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005395/1.395, allocations: 47.95 kB / 1.244 GB, free: 13.73 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/1.395, allocations: 47.88 kB / 1.244 GB, free: 13.68 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.541e-05/1.396, allocations: 12 kB / 1.244 GB, free: 13.67 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0005541/1.396, allocations: 403.1 kB / 1.244 GB, free: 13.28 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.2e-07/1.396, allocations: 4 kB / 1.244 GB, free: 13.28 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001155/1.397, allocations: 296 kB / 1.244 GB, free: 12.99 MB / 0.823 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.002591/1.4, allocations: 1.52 MB / 1.246 GB, free: 11.42 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.004072/1.404, allocations: 2.085 MB / 1.248 GB, free: 9.223 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/1.404, allocations: 0 / 1.248 GB, free: 9.223 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001481/1.405, allocations: 1.027 MB / 1.249 GB, free: 8.117 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/1.407, allocations: 208.2 kB / 1.249 GB, free: 7.918 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008796/1.415, allocations: 6.263 MB / 1.255 GB, free: 1.523 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006866/1.416, allocations: 0.9859 MB / 1.256 GB, free: 0.5117 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.000712/1.417, allocations: 157.3 kB / 1.256 GB, free: 364 kB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003192/1.417, allocations: 235.4 kB / 1.257 GB, free: 132 kB / 0.823 GB Notification: Performance of SimCode: time 2.013e-06/1.417, allocations: 0 / 1.257 GB, free: 132 kB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03964/1.457, allocations: 18.36 MB / 1.274 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001845/1.457, allocations: 214.1 kB / 1.275 GB, free: 13.76 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.677/4.134, allocations: 0 / 1.275 GB, free: 13.76 MB / 0.8542 GB (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_DC_Lines_Examples_DCLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_DC_Lines_Examples_DCLine.fmu > Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)