Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.746/2.746, allocations: 287.3 MB / 302.3 MB, free: 8.328 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.001489/0.001489, allocations: 175 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.079/2.079, allocations: 205.4 MB / 0.6295 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001179/0.001179, allocations: 89.67 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005038/0.0005039, allocations: 11.88 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2403, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9729/1.213, allocations: 170.8 MB / 1.145 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003397/1.214, allocations: 87.27 kB / 1.145 GB, free: 11.13 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0/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.0/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39: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.0/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.0/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39: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.06825/1.282, allocations: 17.91 MB / 1.163 GB, free: 14.16 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.028e-06/1.282, allocations: 0 / 1.163 GB, free: 14.16 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.4e-05/1.282, allocations: 12 kB / 1.163 GB, free: 14.15 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.002716/1.285, allocations: 0.6661 MB / 1.163 GB, free: 13.46 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.567e-05/1.285, allocations: 20.02 kB / 1.163 GB, free: 13.44 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003562/1.285, allocations: 72.91 kB / 1.163 GB, free: 13.38 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003671/1.289, allocations: 159.2 kB / 1.164 GB, free: 13.23 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001724/1.291, allocations: 341.8 kB / 1.164 GB, free: 12.88 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.634e-05/1.291, allocations: 35.67 kB / 1.164 GB, free: 12.86 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001803/1.291, allocations: 30.75 kB / 1.164 GB, free: 12.84 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002059/1.293, allocations: 0.5209 MB / 1.164 GB, free: 12.42 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.936e-05/1.293, allocations: 7.984 kB / 1.164 GB, free: 12.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/1.294, allocations: 14.19 kB / 1.164 GB, free: 12.41 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001296/1.294, allocations: 28.58 kB / 1.164 GB, free: 12.38 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001613/1.295, allocations: 380.5 kB / 1.165 GB, free: 12.13 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006415/1.302, allocations: 2.409 MB / 1.167 GB, free: 9.742 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/1.303, allocations: 260.2 kB / 1.167 GB, free: 9.566 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.818e-05/1.303, allocations: 4.344 kB / 1.167 GB, free: 9.562 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.608e-05/1.303, allocations: 46.31 kB / 1.167 GB, free: 9.512 MB / 0.698 GB Notification: Performance of pre-optimization done (n=20): time 4.629e-06/1.303, allocations: 3.938 kB / 1.167 GB, free: 9.508 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.004387/1.308, allocations: 1.021 MB / 1.168 GB, free: 8.598 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/1.308, allocations: 59.41 kB / 1.169 GB, free: 8.527 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004268/1.308, allocations: 259.9 kB / 1.169 GB, free: 8.316 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.097e-05/1.308, allocations: 32.64 kB / 1.169 GB, free: 8.281 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/1.308, allocations: 235.3 kB / 1.169 GB, free: 8.086 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.659e-05/1.309, allocations: 78.86 kB / 1.169 GB, free: 8.02 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/1.309, allocations: 3.438 kB / 1.169 GB, free: 8.02 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001584/1.309, allocations: 345.1 kB / 1.169 GB, free: 7.688 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002819/1.309, allocations: 99.61 kB / 1.17 GB, free: 7.621 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003382/1.309, allocations: 187.2 kB / 1.17 GB, free: 7.441 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000337/1.31, allocations: 130.8 kB / 1.17 GB, free: 7.363 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.942e-06/1.31, allocations: 4 kB / 1.17 GB, free: 7.359 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001396/1.311, allocations: 444.8 kB / 1.17 GB, free: 7.016 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.811e-05/1.311, allocations: 8 kB / 1.17 GB, free: 7.008 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/1.311, allocations: 0 / 1.17 GB, free: 7.008 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009774/1.312, allocations: 95.81 kB / 1.17 GB, free: 6.918 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000832/1.313, allocations: 63.84 kB / 1.17 GB, free: 6.855 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00755/1.321, allocations: 4.103 MB / 1.174 GB, free: 2.578 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006461/1.321, allocations: 18.55 kB / 1.174 GB, free: 2.566 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.731e-05/1.321, allocations: 15.69 kB / 1.174 GB, free: 2.555 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000624/1.322, allocations: 181.9 kB / 1.175 GB, free: 2.395 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000209/1.322, allocations: 31.62 kB / 1.175 GB, free: 2.363 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001894/1.323, allocations: 42.2 kB / 1.175 GB, free: 2.34 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/1.323, allocations: 4 kB / 1.175 GB, free: 2.336 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.007e-05/1.323, allocations: 0 / 1.175 GB, free: 2.336 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/1.323, allocations: 4 kB / 1.175 GB, free: 2.332 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/1.324, allocations: 396.1 kB / 1.175 GB, free: 1.973 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/1.324, allocations: 0 / 1.175 GB, free: 1.973 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000584/1.325, allocations: 39.28 kB / 1.175 GB, free: 1.938 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008093/1.325, allocations: 89.5 kB / 1.175 GB, free: 1.852 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.229e-05/1.325, allocations: 3.312 kB / 1.175 GB, free: 1.852 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006807/1.332, allocations: 4.101 MB / 1.179 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.332, allocations: 0 / 1.179 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002131/1.334, allocations: 0.5477 MB / 1.18 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003789/1.335, allocations: 128 kB / 1.18 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.794e-05/1.335, allocations: 7.75 kB / 1.18 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005399/1.336, allocations: 14.3 kB / 1.18 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/1.336, allocations: 27.27 kB / 1.18 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.939e-05/1.336, allocations: 7.125 kB / 1.18 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004905/1.336, allocations: 203.1 kB / 1.18 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.82e-07/1.336, allocations: 0 / 1.18 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00113/1.337, allocations: 98.75 kB / 1.18 GB, free: 12.71 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002653/1.34, allocations: 1.099 MB / 1.181 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001881/1.342, allocations: 0.597 MB / 1.182 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/1.342, allocations: 0 / 1.182 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001153/1.343, allocations: 483.3 kB / 1.182 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/1.344, allocations: 67.16 kB / 1.182 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008072/1.352, allocations: 3.721 MB / 1.186 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007604/1.353, allocations: 0.8362 MB / 1.187 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0006453/1.354, allocations: 58.92 kB / 1.187 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002977/1.354, allocations: 112.3 kB / 1.187 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of SimCode: time 1.323e-06/1.354, allocations: 0 / 1.187 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04098/1.395, allocations: 7.135 MB / 1.194 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002909/1.396, allocations: 200.9 kB / 1.194 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.704/4.099, allocations: 0 / 1.194 GB, free: 14.99 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_RCModel_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_RCModel.fmu > Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)