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.734/1.734, allocations: 289.7 MB / 302.3 MB, free: 2.156 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.001238/0.001238, allocations: 181.9 kB / 371.6 MB, free: 3.344 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.68/1.68, allocations: 205.2 MB / 0.6309 GB, free: 11.75 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.0009218/0.0009219, allocations: 92.2 kB / 0.745 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.947e-05/3.948e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2706, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9358/1.206, allocations: 171.8 MB / 1.148 GB, free: 21.07 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003805/1.207, allocations: 83.44 kB / 1.148 GB, free: 21.04 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.04419/1.251, allocations: 17.8 MB / 1.165 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.663e-06/1.251, allocations: 0 / 1.165 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.061e-05/1.251, allocations: 8 kB / 1.165 GB, free: 11.79 MB / 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.0009062/1.252, allocations: 0.6298 MB / 1.166 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/1.252, allocations: 8.031 kB / 1.166 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.491e-05/1.252, allocations: 72.39 kB / 1.166 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/1.253, allocations: 160.6 kB / 1.166 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005537/1.254, allocations: 341.4 kB / 1.166 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/1.254, allocations: 23.47 kB / 1.166 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.067e-05/1.254, allocations: 38.05 kB / 1.166 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007231/1.255, allocations: 0.5072 MB / 1.167 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/1.255, allocations: 3.984 kB / 1.167 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.233e-05/1.255, allocations: 18.17 kB / 1.167 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-05/1.255, allocations: 29.25 kB / 1.167 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005122/1.255, allocations: 377.1 kB / 1.167 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002098/1.257, allocations: 2.418 MB / 1.17 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004529/1.258, allocations: 264.1 kB / 1.17 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/1.258, allocations: 105.2 kB / 1.17 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/1.258, allocations: 3.953 kB / 1.17 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/1.258, allocations: 43.73 kB / 1.17 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 1.223e-06/1.258, allocations: 0 / 1.17 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.001516/1.26, allocations: 0.8518 MB / 1.171 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/1.26, allocations: 51.41 kB / 1.171 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/1.26, allocations: 267.5 kB / 1.171 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/1.26, allocations: 28.58 kB / 1.171 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/1.26, allocations: 225.8 kB / 1.171 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.998e-05/1.26, allocations: 85.27 kB / 1.171 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.358e-05/1.26, allocations: 11.62 kB / 1.172 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.7e-05/1.26, allocations: 337.9 kB / 1.172 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/1.26, allocations: 97.75 kB / 1.172 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001877/1.261, allocations: 186 kB / 1.172 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/1.261, allocations: 131 kB / 1.172 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/1.261, allocations: 0 / 1.172 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005895/1.261, allocations: 433.9 kB / 1.173 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/1.261, allocations: 16 kB / 1.173 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/1.261, allocations: 4 kB / 1.173 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003146/1.262, allocations: 92.81 kB / 1.173 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/1.262, allocations: 67.09 kB / 1.173 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002147/1.264, allocations: 4.072 MB / 1.177 GB, free: 0.875 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/1.264, allocations: 7.875 kB / 1.177 GB, free: 0.8711 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/1.264, allocations: 11.69 kB / 1.177 GB, free: 0.8633 MB / 0.7448 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.0001204/1.264, allocations: 123.5 kB / 1.177 GB, free: 0.7422 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.698e-05/1.265, allocations: 31.62 kB / 1.177 GB, free: 0.7109 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.227e-05/1.265, allocations: 40.34 kB / 1.177 GB, free: 0.6836 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/1.265, allocations: 4 kB / 1.177 GB, free: 0.6797 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/1.265, allocations: 7.891 kB / 1.177 GB, free: 0.6719 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/1.265, allocations: 0 / 1.177 GB, free: 0.6719 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003729/1.265, allocations: 397.5 kB / 1.177 GB, free: 320 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/1.265, allocations: 0 / 1.177 GB, free: 320 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001745/1.265, allocations: 35.97 kB / 1.177 GB, free: 284 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002504/1.265, allocations: 88.7 kB / 1.178 GB, free: 200 kB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/1.266, allocations: 2.938 kB / 1.178 GB, free: 200 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003083/1.269, allocations: 4.069 MB / 1.181 GB, free: 11.95 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/1.269, allocations: 0 / 1.181 GB, free: 11.95 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007802/1.269, allocations: 0.5406 MB / 1.182 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/1.27, allocations: 124.5 kB / 1.182 GB, free: 11.37 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.395e-05/1.27, allocations: 7.188 kB / 1.182 GB, free: 11.37 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/1.27, allocations: 15.69 kB / 1.182 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/1.27, allocations: 19.42 kB / 1.182 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/1.27, allocations: 7.953 kB / 1.182 GB, free: 11.33 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002086/1.27, allocations: 209.3 kB / 1.182 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.4e-07/1.27, allocations: 0 / 1.182 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004409/1.271, allocations: 97.75 kB / 1.182 GB, free: 11.08 MB / 0.7605 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.001061/1.272, allocations: 1.106 MB / 1.184 GB, free: 10.06 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0008286/1.272, allocations: 0.5965 MB / 1.184 GB, free: 9.516 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.272, allocations: 0 / 1.184 GB, free: 9.516 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004863/1.273, allocations: 473.3 kB / 1.185 GB, free: 9.059 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004341/1.273, allocations: 78.98 kB / 1.185 GB, free: 9.004 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/1.275, allocations: 0.5873 MB / 1.185 GB, free: 8.445 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004205/1.275, allocations: 0.8368 MB / 1.186 GB, free: 7.598 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002003/1.275, allocations: 58.94 kB / 1.186 GB, free: 7.543 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/1.275, allocations: 115.3 kB / 1.186 GB, free: 7.508 MB / 0.7605 GB Notification: Performance of SimCode: time 6.41e-07/1.275, allocations: 0 / 1.186 GB, free: 7.508 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02203/1.297, allocations: 7.124 MB / 1.193 GB, free: 0.5664 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001842/1.298, allocations: 164.5 kB / 1.193 GB, free: 352 kB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.169/3.467, allocations: 0 / 1.193 GB, free: 352 kB / 0.7605 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)