Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.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.RCModel,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.489/1.489, allocations: 249.3 MB / 261.8 MB, free: 5.965 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.001135/0.001135, allocations: 184.4 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.611/1.611, allocations: 205.2 MB / 0.572 GB, free: 10.63 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.0009868/0.0009866, allocations: 92.36 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.232e-05/3.242e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2384, allocations: 106.3 MB / 0.8919 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8256/1.064, allocations: 164.6 MB / 1.053 GB, free: 4.555 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/1.064, allocations: 84.2 kB / 1.053 GB, free: 4.512 MB / 0.6667 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/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 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/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.04396/1.108, allocations: 17.81 MB / 1.07 GB, free: 5.664 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.733e-06/1.108, allocations: 0 / 1.07 GB, free: 5.664 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.81e-05/1.108, allocations: 15.94 kB / 1.07 GB, free: 5.648 MB / 0.6823 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.001094/1.109, allocations: 0.6155 MB / 1.071 GB, free: 5.012 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.86e-05/1.11, allocations: 16.03 kB / 1.071 GB, free: 4.996 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.749e-05/1.11, allocations: 73.91 kB / 1.071 GB, free: 4.938 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/1.111, allocations: 159.2 kB / 1.071 GB, free: 4.781 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005824/1.111, allocations: 340.8 kB / 1.071 GB, free: 4.438 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/1.111, allocations: 30.78 kB / 1.071 GB, free: 4.414 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.114e-05/1.111, allocations: 38.78 kB / 1.071 GB, free: 4.387 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007832/1.112, allocations: 0.5021 MB / 1.072 GB, free: 3.988 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/1.112, allocations: 4 kB / 1.072 GB, free: 3.984 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.252e-05/1.112, allocations: 20.17 kB / 1.072 GB, free: 3.977 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.024e-05/1.112, allocations: 24.77 kB / 1.072 GB, free: 3.949 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005538/1.113, allocations: 382.5 kB / 1.072 GB, free: 3.699 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002665/1.116, allocations: 2.405 MB / 1.075 GB, free: 1.316 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005249/1.116, allocations: 261.9 kB / 1.075 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/1.116, allocations: 111.7 kB / 1.075 GB, free: 1.062 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/1.116, allocations: 4 kB / 1.075 GB, free: 1.059 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/1.116, allocations: 30.56 kB / 1.075 GB, free: 1.02 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=20): time 2.405e-06/1.116, allocations: 0 / 1.075 GB, free: 1.02 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23): time 0.001766/1.118, allocations: 0.8567 MB / 1.076 GB, free: 260 kB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/1.118, allocations: 55.41 kB / 1.076 GB, free: 192 kB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003044/1.119, allocations: 264.6 kB / 1.076 GB, free: 15.97 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/1.119, allocations: 32.95 kB / 1.076 GB, free: 15.93 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/1.119, allocations: 229.5 kB / 1.076 GB, free: 15.74 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.044e-05/1.119, allocations: 88.14 kB / 1.076 GB, free: 15.67 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.345e-05/1.119, allocations: 6.312 kB / 1.076 GB, free: 15.66 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001478/1.119, allocations: 340.2 kB / 1.077 GB, free: 15.34 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/1.119, allocations: 97.69 kB / 1.077 GB, free: 15.27 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000208/1.119, allocations: 191.8 kB / 1.077 GB, free: 15.09 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002148/1.12, allocations: 127.1 kB / 1.077 GB, free: 15 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/1.12, allocations: 0 / 1.077 GB, free: 15 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007126/1.12, allocations: 436.6 kB / 1.078 GB, free: 14.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/1.12, allocations: 8 kB / 1.078 GB, free: 14.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/1.12, allocations: 0 / 1.078 GB, free: 14.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003579/1.121, allocations: 101 kB / 1.078 GB, free: 14.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002642/1.121, allocations: 63.03 kB / 1.078 GB, free: 14.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003302/1.124, allocations: 4.068 MB / 1.082 GB, free: 10.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/1.125, allocations: 15.03 kB / 1.082 GB, free: 10.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/1.125, allocations: 12 kB / 1.082 GB, free: 10.21 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 () * 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.0001114/1.125, allocations: 123.3 kB / 1.082 GB, free: 10.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.706e-05/1.125, allocations: 27.72 kB / 1.082 GB, free: 10.07 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.436e-05/1.125, allocations: 38.47 kB / 1.082 GB, free: 10.05 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/1.125, allocations: 7.953 kB / 1.082 GB, free: 10.04 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/1.125, allocations: 0 / 1.082 GB, free: 10.04 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/1.125, allocations: 4 kB / 1.082 GB, free: 10.04 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005036/1.125, allocations: 398.9 kB / 1.082 GB, free: 9.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/1.125, allocations: 3.938 kB / 1.082 GB, free: 9.676 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/1.126, allocations: 39.97 kB / 1.082 GB, free: 9.637 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002877/1.126, allocations: 91.58 kB / 1.082 GB, free: 9.551 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/1.126, allocations: 3.25 kB / 1.082 GB, free: 9.551 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003221/1.129, allocations: 4.058 MB / 1.086 GB, free: 5.309 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.129, allocations: 3.984 kB / 1.086 GB, free: 5.305 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000792/1.13, allocations: 0.5412 MB / 1.087 GB, free: 4.859 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/1.13, allocations: 127.2 kB / 1.087 GB, free: 4.727 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.525e-05/1.13, allocations: 7.812 kB / 1.087 GB, free: 4.723 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/1.13, allocations: 11.92 kB / 1.087 GB, free: 4.711 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/1.13, allocations: 31.62 kB / 1.087 GB, free: 4.684 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/1.13, allocations: 11.12 kB / 1.087 GB, free: 4.676 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002098/1.131, allocations: 205.3 kB / 1.087 GB, free: 4.516 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/1.131, allocations: 0 / 1.087 GB, free: 4.516 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004704/1.131, allocations: 98.75 kB / 1.087 GB, free: 4.43 MB / 0.698 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.001191/1.132, allocations: 1.095 MB / 1.088 GB, free: 3.422 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008295/1.133, allocations: 0.5979 MB / 1.089 GB, free: 2.871 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.133, allocations: 0 / 1.089 GB, free: 2.871 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004946/1.134, allocations: 461.7 kB / 1.089 GB, free: 2.426 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003959/1.134, allocations: 70.92 kB / 1.09 GB, free: 2.371 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/1.135, allocations: 0.5945 MB / 1.09 GB, free: 1.805 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000475/1.136, allocations: 0.8414 MB / 1.091 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002033/1.136, allocations: 54.94 kB / 1.091 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/1.136, allocations: 113.4 kB / 1.091 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of SimCode: time 4.61e-07/1.136, allocations: 4 kB / 1.091 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02204/1.158, allocations: 7.13 MB / 1.098 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00019/1.158, allocations: 181.2 kB / 1.098 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.183/3.342, allocations: 0 / 1.098 GB, free: 9.668 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_RCModel_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_RCModel.fmu > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)