Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.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.DCLine,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.635/1.635, allocations: 285.6 MB / 293.1 MB, free: 10.17 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.001157/0.001157, allocations: 176.9 kB / 361.4 MB, free: 6.785 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.691/1.691, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0008198/0.0008198, allocations: 95.34 kB / 0.733 GB, free: 44.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.555e-05/2.559e-05, allocations: 3.984 kB / 0.8518 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7254/0.7254, allocations: 115.3 MB / 0.9644 GB, free: 78.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.243/0.9685, allocations: 179.7 MB / 1.14 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003446/0.9689, allocations: 87.95 kB / 1.14 GB, free: 7.949 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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.09656/1.065, allocations: 36.57 MB / 1.176 GB, free: 3.148 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.84e-06/1.066, allocations: 3.984 kB / 1.176 GB, free: 3.145 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.891e-05/1.066, allocations: 23.94 kB / 1.176 GB, free: 3.121 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.002323/1.068, allocations: 0.8957 MB / 1.177 GB, free: 2.176 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/1.068, allocations: 11.97 kB / 1.177 GB, free: 2.164 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003745/1.072, allocations: 0.631 MB / 1.177 GB, free: 1.531 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/1.073, allocations: 0.5817 MB / 1.178 GB, free: 0.9062 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.438e-05/1.073, allocations: 17.38 kB / 1.178 GB, free: 0.8906 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001607/1.074, allocations: 31.98 kB / 1.178 GB, free: 0.8594 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001395/1.075, allocations: 0.6898 MB / 1.179 GB, free: 172 kB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/1.076, allocations: 0.7895 MB / 1.179 GB, free: 15.34 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/1.077, allocations: 4 kB / 1.179 GB, free: 15.34 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.518e-05/1.077, allocations: 0 / 1.179 GB, free: 15.34 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-05/1.077, allocations: 41.3 kB / 1.179 GB, free: 15.29 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005057/1.082, allocations: 3.41 MB / 1.183 GB, free: 11.59 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008329/1.083, allocations: 373 kB / 1.183 GB, free: 11.21 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002681/1.083, allocations: 172.7 kB / 1.183 GB, free: 11.04 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 4.412e-05/1.083, allocations: 4 kB / 1.183 GB, free: 11.04 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/1.083, allocations: 42.52 kB / 1.183 GB, free: 10.99 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=31): time 2.845e-06/1.083, allocations: 0 / 1.183 GB, free: 10.99 MB / 0.7917 GB Notification: Performance of matching and sorting (n=43): time 0.00297/1.086, allocations: 1.126 MB / 1.184 GB, free: 9.836 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.404e-05/1.086, allocations: 134.9 kB / 1.184 GB, free: 9.676 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006069/1.087, allocations: 394.1 kB / 1.185 GB, free: 9.289 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 4.984e-05/1.087, allocations: 25.7 kB / 1.185 GB, free: 9.258 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002999/1.087, allocations: 367.8 kB / 1.185 GB, free: 8.891 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/1.087, allocations: 145.9 kB / 1.185 GB, free: 8.746 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.801e-05/1.087, allocations: 0 / 1.185 GB, free: 8.746 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001912/1.087, allocations: 358.8 kB / 1.186 GB, free: 8.387 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003178/1.088, allocations: 181.1 kB / 1.186 GB, free: 8.211 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003865/1.088, allocations: 307.4 kB / 1.186 GB, free: 7.852 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003558/1.089, allocations: 217.5 kB / 1.186 GB, free: 7.641 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/1.089, allocations: 3.953 kB / 1.186 GB, free: 7.637 MB / 0.7917 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00156/1.09, allocations: 0.733 MB / 1.187 GB, free: 6.879 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006301/1.091, allocations: 1.225 MB / 1.188 GB, free: 5.559 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/1.091, allocations: 7.359 kB / 1.188 GB, free: 5.555 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001033/1.092, allocations: 224.9 kB / 1.189 GB, free: 5.316 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006591/1.093, allocations: 127.8 kB / 1.189 GB, free: 5.191 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005007/1.098, allocations: 5.742 MB / 1.194 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008417/1.098, allocations: 44.02 kB / 1.194 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.871e-05/1.099, allocations: 30.88 kB / 1.194 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/1.099, allocations: 4.938 kB / 1.194 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001683/1.1, allocations: 1.014 MB / 1.195 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/1.1, allocations: 4 kB / 1.195 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003982/1.101, allocations: 137.2 kB / 1.195 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006965/1.101, allocations: 135.8 kB / 1.196 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006483/1.108, allocations: 7.515 MB / 1.203 GB, free: 5.328 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008674/1.109, allocations: 50.48 kB / 1.203 GB, free: 5.281 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-05/1.109, allocations: 16 kB / 1.203 GB, free: 5.266 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 () * 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.0003192/1.109, allocations: 130.5 kB / 1.203 GB, free: 5.133 MB / 0.8073 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001527/1.111, allocations: 0.623 MB / 1.204 GB, free: 4.484 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001747/1.111, allocations: 63.3 kB / 1.204 GB, free: 4.422 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002136/1.111, allocations: 69.72 kB / 1.204 GB, free: 4.352 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/1.111, allocations: 4 kB / 1.204 GB, free: 4.348 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/1.111, allocations: 4 kB / 1.204 GB, free: 4.344 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/1.111, allocations: 3.984 kB / 1.204 GB, free: 4.34 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009835/1.112, allocations: 0.5601 MB / 1.204 GB, free: 3.742 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/1.112, allocations: 0 / 1.204 GB, free: 3.742 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005488/1.113, allocations: 107.9 kB / 1.204 GB, free: 3.637 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008611/1.114, allocations: 232.9 kB / 1.205 GB, free: 3.391 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.128e-05/1.114, allocations: 5.734 kB / 1.205 GB, free: 3.387 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006231/1.12, allocations: 8.005 MB / 1.213 GB, free: 10.7 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/1.12, allocations: 32 / 1.213 GB, free: 10.7 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/1.122, allocations: 0.7341 MB / 1.213 GB, free: 9.926 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003738/1.122, allocations: 180.3 kB / 1.213 GB, free: 9.73 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/1.122, allocations: 0 / 1.213 GB, free: 9.73 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000579/1.123, allocations: 51.89 kB / 1.213 GB, free: 9.68 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/1.123, allocations: 35.89 kB / 1.214 GB, free: 9.645 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.292e-05/1.123, allocations: 19.98 kB / 1.214 GB, free: 9.625 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0004615/1.123, allocations: 299 kB / 1.214 GB, free: 9.336 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.1e-07/1.123, allocations: 4 kB / 1.214 GB, free: 9.332 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001497/1.125, allocations: 256 kB / 1.214 GB, free: 9.082 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 () * 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.002017/1.127, allocations: 1.304 MB / 1.215 GB, free: 7.734 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002783/1.13, allocations: 1.724 MB / 1.217 GB, free: 5.922 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.76e-06/1.13, allocations: 0 / 1.217 GB, free: 5.922 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.00113/1.131, allocations: 0.8814 MB / 1.218 GB, free: 4.98 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/1.132, allocations: 176.5 kB / 1.218 GB, free: 4.82 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002564/1.135, allocations: 1.008 MB / 1.219 GB, free: 3.773 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006078/1.135, allocations: 0.9863 MB / 1.22 GB, free: 2.758 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0008198/1.136, allocations: 167.7 kB / 1.22 GB, free: 2.598 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003182/1.136, allocations: 235.3 kB / 1.22 GB, free: 2.367 MB / 0.823 GB Notification: Performance of SimCode: time 8.11e-07/1.136, allocations: 4 kB / 1.22 GB, free: 2.363 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04704/1.183, allocations: 16.36 MB / 1.236 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002413/1.184, allocations: 136.6 kB / 1.236 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.686/3.87, allocations: 3.938 kB / 1.236 GB, free: 2.074 MB / 0.8386 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_DCLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_DCLine.fmu > Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)