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.841/2.841, allocations: 284.9 MB / 292.4 MB, free: 10.55 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.00163/0.00163, allocations: 188.8 kB / 360.6 MB, free: 7.277 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.124/2.124, allocations: 205.3 MB / 0.6191 GB, free: 12.23 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.001102/0.001101, allocations: 97.77 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.756e-05/2.765e-05, allocations: 4 kB / 0.8509 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8048/0.8048, allocations: 115.2 MB / 0.9634 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2871/1.092, allocations: 170 MB / 1.129 GB, free: 2.371 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003559/1.092, allocations: 84.45 kB / 1.13 GB, free: 2.289 MB / 0.7292 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.07688/1.169, allocations: 17.72 MB / 1.147 GB, free: 476 kB / 0.7448 GB Notification: Performance of FrontEnd: time 1.804e-06/1.169, allocations: 0 / 1.147 GB, free: 476 kB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.866e-05/1.169, allocations: 12 kB / 1.147 GB, free: 464 kB / 0.7448 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.001616/1.171, allocations: 0.6296 MB / 1.147 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.872e-05/1.171, allocations: 12.03 kB / 1.147 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001813/1.173, allocations: 160 kB / 1.148 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/1.174, allocations: 334.1 kB / 1.148 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.935e-05/1.174, allocations: 14.38 kB / 1.148 GB, free: 15.24 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.925e-05/1.174, allocations: 16 kB / 1.148 GB, free: 15.22 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009712/1.175, allocations: 341.4 kB / 1.148 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/1.176, allocations: 476.1 kB / 1.149 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/1.176, allocations: 4 kB / 1.149 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.788e-05/1.176, allocations: 0 / 1.149 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.257e-05/1.176, allocations: 24.77 kB / 1.149 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004169/1.181, allocations: 2.329 MB / 1.151 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008426/1.182, allocations: 251.8 kB / 1.151 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002622/1.182, allocations: 104.8 kB / 1.151 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/1.182, allocations: 352 / 1.151 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.531e-05/1.182, allocations: 42.52 kB / 1.151 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=20): time 2.144e-06/1.182, allocations: 0 / 1.151 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of matching and sorting (n=23): time 0.002591/1.185, allocations: 0.7928 MB / 1.152 GB, free: 10.56 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/1.185, allocations: 51.41 kB / 1.152 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003973/1.185, allocations: 234.2 kB / 1.152 GB, free: 10.26 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.143e-05/1.185, allocations: 25.7 kB / 1.152 GB, free: 10.23 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002051/1.185, allocations: 227.8 kB / 1.153 GB, free: 10 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/1.185, allocations: 78.84 kB / 1.153 GB, free: 9.926 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.914e-05/1.186, allocations: 0 / 1.153 GB, free: 9.926 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001546/1.186, allocations: 338.8 kB / 1.153 GB, free: 9.586 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002539/1.186, allocations: 92.62 kB / 1.153 GB, free: 9.492 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003319/1.186, allocations: 171.5 kB / 1.153 GB, free: 9.289 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003365/1.187, allocations: 130.4 kB / 1.153 GB, free: 9.164 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/1.187, allocations: 0 / 1.153 GB, free: 9.164 MB / 0.7605 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001198/1.188, allocations: 395.9 kB / 1.154 GB, free: 8.766 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/1.188, allocations: 4 kB / 1.154 GB, free: 8.762 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/1.188, allocations: 4 kB / 1.154 GB, free: 8.758 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005581/1.188, allocations: 90.72 kB / 1.154 GB, free: 8.66 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005253/1.189, allocations: 63.91 kB / 1.154 GB, free: 8.598 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00426/1.193, allocations: 3.905 MB / 1.158 GB, free: 4.348 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004247/1.194, allocations: 4 kB / 1.158 GB, free: 4.344 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.608e-05/1.194, allocations: 8 kB / 1.158 GB, free: 4.336 MB / 0.7605 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 () * 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.0001668/1.194, allocations: 136.7 kB / 1.158 GB, free: 4.195 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009382/1.195, allocations: 305.1 kB / 1.158 GB, free: 3.883 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.34e-05/1.195, allocations: 27.72 kB / 1.158 GB, free: 3.855 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/1.195, allocations: 35.77 kB / 1.158 GB, free: 3.82 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/1.195, allocations: 8 kB / 1.158 GB, free: 3.812 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/1.195, allocations: 1.406 kB / 1.158 GB, free: 3.812 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/1.195, allocations: 0 / 1.158 GB, free: 3.812 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006652/1.196, allocations: 342 kB / 1.159 GB, free: 3.441 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/1.196, allocations: 0 / 1.159 GB, free: 3.441 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003694/1.196, allocations: 27.98 kB / 1.159 GB, free: 3.414 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005087/1.197, allocations: 94.5 kB / 1.159 GB, free: 3.312 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/1.197, allocations: 0 / 1.159 GB, free: 3.312 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004137/1.201, allocations: 3.898 MB / 1.163 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/1.201, allocations: 0 / 1.163 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/1.202, allocations: 0.5291 MB / 1.163 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002624/1.203, allocations: 116.8 kB / 1.163 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.782e-05/1.203, allocations: 7.938 kB / 1.163 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003464/1.203, allocations: 12.06 kB / 1.163 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.108e-05/1.203, allocations: 19.97 kB / 1.163 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/1.203, allocations: 7.938 kB / 1.163 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002735/1.204, allocations: 176 kB / 1.163 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.31e-07/1.204, allocations: 0 / 1.163 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0007333/1.204, allocations: 84 kB / 1.164 GB, free: 14.1 MB / 0.7761 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 () * 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.001696/1.206, allocations: 1.062 MB / 1.165 GB, free: 13 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001238/1.207, allocations: 0.5526 MB / 1.165 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/1.207, allocations: 7.938 kB / 1.165 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0007303/1.208, allocations: 441.5 kB / 1.166 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006444/1.209, allocations: 52.86 kB / 1.166 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/1.211, allocations: 0.5838 MB / 1.166 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000564/1.211, allocations: 0.8382 MB / 1.167 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003907/1.212, allocations: 47.27 kB / 1.167 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002407/1.212, allocations: 119.2 kB / 1.167 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of SimCode: time 1.202e-06/1.212, allocations: 4 kB / 1.167 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05041/1.262, allocations: 6.203 MB / 1.173 GB, free: 4.18 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003622/1.263, allocations: 144.3 kB / 1.173 GB, free: 3.984 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.567/3.83, allocations: 0 / 1.173 GB, free: 3.984 MB / 0.7761 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)