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.455/1.455, allocations: 249.3 MB / 261.8 MB, free: 5.793 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.001102/0.001102, allocations: 184.8 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.669/1.669, allocations: 205.1 MB / 0.572 GB, free: 10.7 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.000866/0.0008659, allocations: 89.28 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.82e-05/4.823e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2348, allocations: 106.3 MB / 0.8919 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8446/1.079, allocations: 174 MB / 1.062 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/1.08, allocations: 90.45 kB / 1.062 GB, free: 10.98 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.09372/1.174, allocations: 36.8 MB / 1.098 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.126e-06/1.174, allocations: 0 / 1.098 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001299/1.174, allocations: 15.94 kB / 1.098 GB, free: 11.95 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.003489/1.177, allocations: 0.9074 MB / 1.099 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.132e-05/1.177, allocations: 8.031 kB / 1.099 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004074/1.178, allocations: 102.5 kB / 1.099 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004124/1.182, allocations: 0.6233 MB / 1.099 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001959/1.184, allocations: 0.5869 MB / 1.1 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.349e-05/1.184, allocations: 41.31 kB / 1.1 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002182/1.184, allocations: 48 kB / 1.1 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001916/1.186, allocations: 0.8695 MB / 1.101 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/1.186, allocations: 4 kB / 1.101 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.279e-05/1.186, allocations: 23.98 kB / 1.101 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.989e-05/1.186, allocations: 45.23 kB / 1.101 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001415/1.188, allocations: 0.7352 MB / 1.102 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005514/1.193, allocations: 3.551 MB / 1.105 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009316/1.194, allocations: 397.3 kB / 1.106 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003108/1.195, allocations: 176.8 kB / 1.106 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.166e-05/1.195, allocations: 4 kB / 1.106 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/1.195, allocations: 34.56 kB / 1.106 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=31): time 3.246e-06/1.195, allocations: 4 kB / 1.106 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43): time 0.005243/1.2, allocations: 1.591 MB / 1.107 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001483/1.2, allocations: 136.5 kB / 1.108 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008632/1.201, allocations: 0.4994 MB / 1.108 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.809e-05/1.201, allocations: 33.7 kB / 1.108 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003189/1.201, allocations: 356.2 kB / 1.108 GB, free: 0.6562 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/1.202, allocations: 145.8 kB / 1.109 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/1.202, allocations: 12 kB / 1.109 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002362/1.202, allocations: 374.7 kB / 1.109 GB, free: 128 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004008/1.202, allocations: 185.1 kB / 1.109 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004726/1.203, allocations: 322.2 kB / 1.109 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004131/1.203, allocations: 225.5 kB / 1.11 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/1.203, allocations: 4 kB / 1.11 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001696/1.205, allocations: 0.7795 MB / 1.11 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006279/1.206, allocations: 1.221 MB / 1.112 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/1.206, allocations: 4 kB / 1.112 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009909/1.207, allocations: 248.9 kB / 1.112 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006549/1.207, allocations: 139.7 kB / 1.112 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005243/1.212, allocations: 5.881 MB / 1.118 GB, free: 6.465 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007822/1.213, allocations: 64.09 kB / 1.118 GB, free: 6.402 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.608e-05/1.213, allocations: 16 kB / 1.118 GB, free: 6.387 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/1.213, allocations: 4 kB / 1.118 GB, free: 6.383 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001749/1.215, allocations: 0.9091 MB / 1.119 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/1.215, allocations: 4 kB / 1.119 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006666/1.216, allocations: 209.3 kB / 1.119 GB, free: 5.172 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006546/1.217, allocations: 127.8 kB / 1.119 GB, free: 5.047 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006902/1.223, allocations: 8.114 MB / 1.127 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008889/1.224, allocations: 55.94 kB / 1.127 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.261e-05/1.224, allocations: 20 kB / 1.127 GB, free: 12.06 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 () * 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.0002627/1.225, allocations: 145.3 kB / 1.127 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002247/1.225, allocations: 71.16 kB / 1.127 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002613/1.225, allocations: 82.09 kB / 1.127 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/1.225, allocations: 4 kB / 1.127 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/1.225, allocations: 0 / 1.127 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/1.225, allocations: 7.984 kB / 1.127 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/1.226, allocations: 0.6455 MB / 1.128 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/1.226, allocations: 4 kB / 1.128 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005483/1.227, allocations: 95.91 kB / 1.128 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00093/1.228, allocations: 253 kB / 1.128 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.478e-05/1.228, allocations: 7.984 kB / 1.128 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007511/1.236, allocations: 8.354 MB / 1.136 GB, free: 1.535 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.236, allocations: 0 / 1.136 GB, free: 1.535 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/1.237, allocations: 0.7883 MB / 1.137 GB, free: 0.7109 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005037/1.238, allocations: 180.3 kB / 1.137 GB, free: 0.5156 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001902/1.238, allocations: 8 kB / 1.137 GB, free: 0.5078 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005995/1.239, allocations: 59.81 kB / 1.137 GB, free: 460 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/1.239, allocations: 43.88 kB / 1.137 GB, free: 416 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.991e-05/1.239, allocations: 8 kB / 1.137 GB, free: 408 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0007244/1.24, allocations: 399.2 kB / 1.138 GB, free: 12 kB / 0.7448 GB Notification: Performance of sort global known variables: time 1.31e-07/1.24, allocations: 0 / 1.138 GB, free: 12 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001564/1.241, allocations: 292 kB / 1.138 GB, free: 15.72 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 () * 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.002064/1.243, allocations: 1.345 MB / 1.139 GB, free: 14.33 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.003046/1.246, allocations: 1.841 MB / 1.141 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.708e-06/1.246, allocations: 0 / 1.141 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001213/1.248, allocations: 0.9292 MB / 1.142 GB, free: 11.37 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/1.249, allocations: 206.8 kB / 1.142 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003168/1.252, allocations: 1.05 MB / 1.143 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009646/1.253, allocations: 0.9868 MB / 1.144 GB, free: 9.055 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0009267/1.254, allocations: 185.3 kB / 1.144 GB, free: 8.871 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003711/1.254, allocations: 231.4 kB / 1.145 GB, free: 8.645 MB / 0.7605 GB Notification: Performance of SimCode: time 1.453e-06/1.254, allocations: 0 / 1.145 GB, free: 8.645 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04714/1.302, allocations: 18.95 MB / 1.163 GB, free: 5.934 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002195/1.302, allocations: 194 kB / 1.163 GB, free: 5.707 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.753/4.055, allocations: 0 / 1.163 GB, free: 5.707 MB / 0.7761 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)