Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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.DCLinesLinearized,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",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.647/1.647, allocations: 285.6 MB / 293.1 MB, free: 10.16 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.001144/0.001144, allocations: 184.8 kB / 361.4 MB, free: 6.664 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.539/1.539, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0009015/0.0009018, allocations: 97.8 kB / 0.733 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.496e-05/2.505e-05, allocations: 4 kB / 0.8518 GB, free: 2.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6978/0.6978, allocations: 115.3 MB / 0.9644 GB, free: 78.65 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2435/0.9414, allocations: 189 MB / 1.149 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/0.9417, allocations: 97.77 kB / 1.149 GB, free: 14.62 MB / 0.7605 GB [/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 1.059/2.001, allocations: 148.1 MB / 1.294 GB, free: 192.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.765e-06/2.001, allocations: 2.688 kB / 1.294 GB, free: 192.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0006462/2.002, allocations: 78.27 kB / 1.294 GB, free: 192.9 MB / 0.8542 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.0159/2.018, allocations: 3.694 MB / 1.297 GB, free: 191.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/2.018, allocations: 9.938 kB / 1.297 GB, free: 191.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01856/2.036, allocations: 3.211 MB / 1.301 GB, free: 191 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01032/2.047, allocations: 2.56 MB / 1.303 GB, free: 190.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006087/2.047, allocations: 386 kB / 1.303 GB, free: 190.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001967/2.049, allocations: 144 kB / 1.304 GB, free: 190.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01082/2.06, allocations: 3.45 MB / 1.307 GB, free: 190 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01286/2.073, allocations: 3.592 MB / 1.31 GB, free: 189.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001289/2.073, allocations: 3.562 kB / 1.31 GB, free: 189.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001334/2.075, allocations: 9.516 kB / 1.31 GB, free: 189.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003272/2.075, allocations: 151.9 kB / 1.311 GB, free: 189.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02989/2.105, allocations: 14.33 MB / 1.325 GB, free: 180.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005807/2.111, allocations: 2.615 MB / 1.327 GB, free: 179.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001945/2.113, allocations: 1.064 MB / 1.328 GB, free: 179.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002236/2.113, allocations: 22.72 kB / 1.328 GB, free: 179.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0026/2.116, allocations: 1.376 MB / 1.33 GB, free: 178.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=163): time 6.502e-06/2.116, allocations: 0 / 1.33 GB, free: 178.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=250): time 0.02928/2.145, allocations: 8.496 MB / 1.338 GB, free: 175.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004958/2.146, allocations: 0.8976 MB / 1.339 GB, free: 174.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004385/2.15, allocations: 1.562 MB / 1.34 GB, free: 173.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0007061/2.151, allocations: 33.27 kB / 1.34 GB, free: 173.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001731/2.153, allocations: 1.451 MB / 1.342 GB, free: 172.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001146/2.154, allocations: 0.7836 MB / 1.343 GB, free: 172.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000416/2.154, allocations: 5.938 kB / 1.343 GB, free: 172.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001879/2.154, allocations: 397.9 kB / 1.343 GB, free: 171.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002189/2.157, allocations: 1.361 MB / 1.344 GB, free: 171.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002443/2.159, allocations: 1.731 MB / 1.346 GB, free: 170.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002251/2.161, allocations: 1.43 MB / 1.347 GB, free: 169.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/2.161, allocations: 0 / 1.347 GB, free: 169.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01195/2.173, allocations: 5.078 MB / 1.352 GB, free: 167.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001556/2.173, allocations: 151.9 kB / 1.352 GB, free: 167.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.712e-05/2.173, allocations: 7.25 kB / 1.352 GB, free: 167.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009511/2.183, allocations: 2.79 MB / 1.355 GB, free: 167.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003194/2.186, allocations: 0.5853 MB / 1.356 GB, free: 167 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03332/2.22, allocations: 16.38 MB / 1.372 GB, free: 158.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005724/2.225, allocations: 384 kB / 1.372 GB, free: 158.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008816/2.226, allocations: 89.19 kB / 1.372 GB, free: 158.7 MB / 0.8542 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 155 * 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,48.0%) 52} * Non-linear torn systems: 1 {9 63} Notification: Performance of prepare postOptimizeDAE: time 0.001214/2.228, allocations: 160.4 kB / 1.372 GB, free: 158.6 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01183/2.239, allocations: 4.764 MB / 1.377 GB, free: 156.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001356/2.241, allocations: 306.8 kB / 1.377 GB, free: 156.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00127/2.242, allocations: 329.7 kB / 1.378 GB, free: 156.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.05e-05/2.242, allocations: 28 kB / 1.378 GB, free: 156.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-05/2.242, allocations: 11.58 kB / 1.378 GB, free: 156.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.3e-05/2.242, allocations: 15.66 kB / 1.378 GB, free: 156.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007898/2.25, allocations: 3.263 MB / 1.381 GB, free: 155.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.554e-05/2.25, allocations: 0 / 1.381 GB, free: 155.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002778/2.253, allocations: 0.5141 MB / 1.381 GB, free: 155.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009444/2.263, allocations: 2.755 MB / 1.384 GB, free: 153.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006444/2.263, allocations: 19.55 kB / 1.384 GB, free: 153.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0335/2.297, allocations: 16.37 MB / 1.4 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/2.297, allocations: 4 kB / 1.4 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01237/2.309, allocations: 4.897 MB / 1.405 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002562/2.312, allocations: 0.6698 MB / 1.405 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001451/2.313, allocations: 12 kB / 1.405 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00449/2.318, allocations: 381.8 kB / 1.406 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001617/2.319, allocations: 371.9 kB / 1.406 GB, free: 133.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003521/2.32, allocations: 71.17 kB / 1.406 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00312/2.323, allocations: 1.161 MB / 1.407 GB, free: 132.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.3e-07/2.323, allocations: 0 / 1.407 GB, free: 132.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.005303/2.328, allocations: 0.9375 MB / 1.408 GB, free: 131.4 MB / 0.8542 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 106 * 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 {9 63} Notification: Performance of Backend phase and start with SimCode phase: time 0.01129/2.34, allocations: 5.499 MB / 1.414 GB, free: 126.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01592/2.356, allocations: 5.201 MB / 1.419 GB, free: 120.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.305e-06/2.356, allocations: 4 kB / 1.419 GB, free: 120.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0137/2.369, allocations: 3.354 MB / 1.422 GB, free: 117.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005979/2.375, allocations: 0.8695 MB / 1.423 GB, free: 116.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01782/2.393, allocations: 5.495 MB / 1.428 GB, free: 111.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003071/2.396, allocations: 2.288 MB / 1.43 GB, free: 108.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003497/2.4, allocations: 490.1 kB / 1.431 GB, free: 108.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002182/2.402, allocations: 1.312 MB / 1.432 GB, free: 107 MB / 0.8542 GB Notification: Performance of SimCode: time 1.413e-06/2.402, allocations: 0 / 1.432 GB, free: 107 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1581/2.56, allocations: 89.52 MB / 1.52 GB, free: 18.72 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001793/2.56, allocations: 153.8 kB / 1.52 GB, free: 18.53 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.307/7.867, allocations: 0.6562 kB / 1.52 GB, free: 18.53 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)