Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.898/1.898, allocations: 289.9 MB / 297.4 MB, free: 6.375 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.001879/0.00188, allocations: 176.8 kB / 366.7 MB, free: 1.656 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.589/1.589, allocations: 205.2 MB / 0.626 GB, free: 7.191 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.0008882/0.0008883, allocations: 92.84 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.95e-05/1.951e-05, allocations: 4 kB / 0.8598 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7002/0.7003, allocations: 116.3 MB / 0.9733 GB, free: 76.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2283/0.9286, allocations: 171.2 MB / 1.14 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000296/0.929, allocations: 87.02 kB / 1.141 GB, free: 10.83 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.x/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.1.4-maint.8.1.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.1.4-maint.8.1.x/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.04606/0.9751, allocations: 17.72 MB / 1.158 GB, free: 8.996 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.823e-06/0.9751, allocations: 0 / 1.158 GB, free: 8.996 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.57e-05/0.9752, allocations: 8 kB / 1.158 GB, free: 8.988 MB / 0.7605 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.001328/0.9765, allocations: 0.6269 MB / 1.158 GB, free: 8.316 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/0.9766, allocations: 12.03 kB / 1.159 GB, free: 8.305 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/0.9778, allocations: 152.1 kB / 1.159 GB, free: 8.156 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006743/0.9785, allocations: 346 kB / 1.159 GB, free: 7.781 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.9785, allocations: 15.98 kB / 1.159 GB, free: 7.766 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.035e-05/0.9786, allocations: 20 kB / 1.159 GB, free: 7.746 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006012/0.9792, allocations: 333.4 kB / 1.159 GB, free: 7.418 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007618/0.98, allocations: 472.1 kB / 1.16 GB, free: 6.922 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.98, allocations: 4 kB / 1.16 GB, free: 6.918 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.194e-05/0.9801, allocations: 0 / 1.16 GB, free: 6.918 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.247e-05/0.9801, allocations: 28.77 kB / 1.16 GB, free: 6.887 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002802/0.9829, allocations: 2.335 MB / 1.162 GB, free: 4.348 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005272/0.9835, allocations: 253.8 kB / 1.162 GB, free: 4.094 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/0.9837, allocations: 100.8 kB / 1.162 GB, free: 3.992 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.9837, allocations: 0 / 1.162 GB, free: 3.992 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.9837, allocations: 34.91 kB / 1.162 GB, free: 3.949 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=20): time 1.793e-06/0.9837, allocations: 0 / 1.162 GB, free: 3.949 MB / 0.7605 GB Notification: Performance of matching and sorting (n=23): time 0.0017/0.9855, allocations: 0.7848 MB / 1.163 GB, free: 3.102 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.9855, allocations: 55.41 kB / 1.163 GB, free: 3.035 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002736/0.9858, allocations: 238.1 kB / 1.164 GB, free: 2.801 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.9858, allocations: 25.7 kB / 1.164 GB, free: 2.77 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.986, allocations: 231.8 kB / 1.164 GB, free: 2.535 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.346e-05/0.9861, allocations: 82.78 kB / 1.164 GB, free: 2.453 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.444e-05/0.9861, allocations: 0 / 1.164 GB, free: 2.453 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.9863, allocations: 338.8 kB / 1.164 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.9864, allocations: 84.64 kB / 1.164 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/0.9866, allocations: 179.5 kB / 1.164 GB, free: 1.816 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.9868, allocations: 126.7 kB / 1.165 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.9868, allocations: 0 / 1.165 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000685/0.9875, allocations: 397.8 kB / 1.165 GB, free: 1.293 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.9876, allocations: 5.406 kB / 1.165 GB, free: 1.289 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.9876, allocations: 4 kB / 1.165 GB, free: 1.285 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000359/0.9879, allocations: 94.72 kB / 1.165 GB, free: 1.184 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002739/0.9882, allocations: 59.91 kB / 1.165 GB, free: 1.125 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003254/0.9915, allocations: 3.905 MB / 1.169 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002172/0.9917, allocations: 7.938 kB / 1.169 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.704e-05/0.9918, allocations: 12 kB / 1.169 GB, free: 12.86 MB / 0.7761 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.0001236/0.9919, allocations: 131.2 kB / 1.169 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005556/0.9924, allocations: 300.5 kB / 1.169 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.262e-05/0.9925, allocations: 27.72 kB / 1.169 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.856e-05/0.9926, allocations: 33.95 kB / 1.169 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.9926, allocations: 8 kB / 1.169 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.9926, allocations: 0 / 1.169 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.9926, allocations: 3.984 kB / 1.169 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004412/0.9931, allocations: 340.1 kB / 1.17 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.9931, allocations: 3.953 kB / 1.17 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000212/0.9933, allocations: 35.91 kB / 1.17 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002809/0.9936, allocations: 86.52 kB / 1.17 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.9937, allocations: 1.688 kB / 1.17 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002951/0.9966, allocations: 3.893 MB / 1.174 GB, free: 7.613 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/0.9966, allocations: 4.031 kB / 1.174 GB, free: 7.609 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007684/0.9974, allocations: 0.5163 MB / 1.174 GB, free: 7.07 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.9976, allocations: 124.8 kB / 1.174 GB, free: 6.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.822e-05/0.9976, allocations: 0 / 1.174 GB, free: 6.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.9978, allocations: 20 kB / 1.174 GB, free: 6.91 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/0.9979, allocations: 11.98 kB / 1.174 GB, free: 6.898 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.9979, allocations: 8 kB / 1.174 GB, free: 6.891 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001696/0.9981, allocations: 178 kB / 1.174 GB, free: 6.715 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3.41e-07/0.9981, allocations: 0 / 1.174 GB, free: 6.715 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004767/0.9985, allocations: 84 kB / 1.175 GB, free: 6.633 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.001098/0.9997, allocations: 1.063 MB / 1.176 GB, free: 5.531 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0007901/1, allocations: 0.5624 MB / 1.176 GB, free: 4.941 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1, allocations: 0 / 1.176 GB, free: 4.941 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005207/1.001, allocations: 445.4 kB / 1.177 GB, free: 4.477 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005725/1.002, allocations: 56.94 kB / 1.177 GB, free: 4.426 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/1.003, allocations: 0.5739 MB / 1.177 GB, free: 3.816 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004786/1.003, allocations: 0.8344 MB / 1.178 GB, free: 2.953 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002281/1.004, allocations: 59.23 kB / 1.178 GB, free: 2.898 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001491/1.004, allocations: 107.4 kB / 1.178 GB, free: 2.793 MB / 0.7761 GB Notification: Performance of SimCode: time 5.11e-07/1.004, allocations: 4 kB / 1.178 GB, free: 2.789 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02883/1.033, allocations: 6.214 MB / 1.184 GB, free: 12.72 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002045/1.033, allocations: 132.9 kB / 1.184 GB, free: 12.53 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.226/3.259, allocations: 0 / 1.184 GB, free: 12.53 MB / 0.7917 GB (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_DC_Lines_Examples_RCModel_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_DC_Lines_Examples_RCModel.fmu > Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)