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.396/1.396, allocations: 249.5 MB / 257 MB, free: 6.98 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.001047/0.001047, allocations: 176.9 kB / 316.3 MB, free: 3.293 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0007996/0.0007996, allocations: 85.67 kB / 0.6714 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.688e-05/1.692e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1754, allocations: 106.3 MB / 0.8853 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7209/0.8964, allocations: 164.9 MB / 1.046 GB, free: 6.98 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.8967, allocations: 85.45 kB / 1.046 GB, free: 6.938 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.04205/0.9388, allocations: 17.72 MB / 1.064 GB, free: 8.289 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9388, allocations: 0 / 1.064 GB, free: 8.289 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.436e-05/0.9388, allocations: 8 kB / 1.064 GB, free: 8.281 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.0009371/0.9398, allocations: 0.6317 MB / 1.064 GB, free: 7.633 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.9398, allocations: 8.031 kB / 1.064 GB, free: 7.625 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/0.9409, allocations: 156 kB / 1.064 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000538/0.9414, allocations: 341.1 kB / 1.065 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.9415, allocations: 12 kB / 1.065 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.105e-05/0.9415, allocations: 20 kB / 1.065 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005072/0.942, allocations: 337.9 kB / 1.065 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006374/0.9427, allocations: 471.2 kB / 1.066 GB, free: 6.496 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.9427, allocations: 0 / 1.066 GB, free: 6.496 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.708e-05/0.9428, allocations: 0 / 1.066 GB, free: 6.496 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.617e-05/0.9428, allocations: 27.45 kB / 1.066 GB, free: 6.473 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002307/0.9451, allocations: 2.339 MB / 1.068 GB, free: 4.145 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004436/0.9456, allocations: 245.4 kB / 1.068 GB, free: 3.98 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.9457, allocations: 103.2 kB / 1.068 GB, free: 3.91 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.9458, allocations: 4.344 kB / 1.068 GB, free: 3.906 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.9458, allocations: 46.14 kB / 1.068 GB, free: 3.855 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=20): time 1.443e-06/0.9458, allocations: 0 / 1.068 GB, free: 3.855 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23): time 0.001427/0.9472, allocations: 0.789 MB / 1.069 GB, free: 3.137 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.9473, allocations: 59.41 kB / 1.069 GB, free: 3.066 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/0.9475, allocations: 226.9 kB / 1.069 GB, free: 2.879 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.9475, allocations: 25.7 kB / 1.069 GB, free: 2.848 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.9477, allocations: 231.5 kB / 1.07 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.399e-05/0.9477, allocations: 81.41 kB / 1.07 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.27e-05/0.9477, allocations: 0 / 1.07 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.9479, allocations: 337.3 kB / 1.07 GB, free: 2.254 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.948, allocations: 85.7 kB / 1.07 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/0.9482, allocations: 177 kB / 1.07 GB, free: 2.031 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.9483, allocations: 129.8 kB / 1.07 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.9484, allocations: 0 / 1.07 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006167/0.949, allocations: 399.2 kB / 1.071 GB, free: 1.621 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.949, allocations: 7.984 kB / 1.071 GB, free: 1.613 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.949, allocations: 4 kB / 1.071 GB, free: 1.609 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003206/0.9493, allocations: 93.3 kB / 1.071 GB, free: 1.523 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002581/0.9496, allocations: 59.91 kB / 1.071 GB, free: 1.465 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00263/0.9523, allocations: 3.891 MB / 1.075 GB, free: 13.42 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.9525, allocations: 12.2 kB / 1.075 GB, free: 13.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.9525, allocations: 13.5 kB / 1.075 GB, free: 13.4 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.0001108/0.9526, allocations: 124.8 kB / 1.075 GB, free: 13.27 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005169/0.9531, allocations: 310 kB / 1.075 GB, free: 13.02 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.178e-05/0.9532, allocations: 31.72 kB / 1.075 GB, free: 12.98 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.442e-05/0.9533, allocations: 35.39 kB / 1.075 GB, free: 12.97 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.9533, allocations: 3.938 kB / 1.075 GB, free: 12.96 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.9533, allocations: 4 kB / 1.075 GB, free: 12.96 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.9533, allocations: 0 / 1.075 GB, free: 12.96 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003822/0.9537, allocations: 342.5 kB / 1.076 GB, free: 12.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.9537, allocations: 3.938 kB / 1.076 GB, free: 12.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.9539, allocations: 31.98 kB / 1.076 GB, free: 12.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002722/0.9542, allocations: 85.08 kB / 1.076 GB, free: 12.54 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.9542, allocations: 0 / 1.076 GB, free: 12.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002536/0.9567, allocations: 3.912 MB / 1.079 GB, free: 8.48 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.9568, allocations: 0 / 1.079 GB, free: 8.48 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006872/0.9575, allocations: 0.5125 MB / 1.08 GB, free: 8.059 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.9576, allocations: 123.1 kB / 1.08 GB, free: 7.926 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.524e-05/0.9576, allocations: 3.953 kB / 1.08 GB, free: 7.922 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.9578, allocations: 16.14 kB / 1.08 GB, free: 7.906 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.9579, allocations: 14.11 kB / 1.08 GB, free: 7.895 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.9579, allocations: 11.55 kB / 1.08 GB, free: 7.887 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000152/0.958, allocations: 173.2 kB / 1.08 GB, free: 7.746 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.904e-06/0.9581, allocations: 0 / 1.08 GB, free: 7.746 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004766/0.9585, allocations: 91.94 kB / 1.08 GB, free: 7.656 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.0009385/0.9595, allocations: 1.053 MB / 1.081 GB, free: 6.688 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007066/0.9602, allocations: 0.5694 MB / 1.082 GB, free: 6.168 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.9602, allocations: 0 / 1.082 GB, free: 6.168 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004117/0.9606, allocations: 449.6 kB / 1.082 GB, free: 5.742 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.961, allocations: 46.64 kB / 1.082 GB, free: 5.711 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.9621, allocations: 0.5905 MB / 1.083 GB, free: 5.137 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/0.9625, allocations: 0.8344 MB / 1.084 GB, free: 4.285 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000208/0.9627, allocations: 55.25 kB / 1.084 GB, free: 4.234 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.9629, allocations: 108.8 kB / 1.084 GB, free: 4.203 MB / 0.698 GB Notification: Performance of SimCode: time 2.5e-07/0.9629, allocations: 0 / 1.084 GB, free: 4.203 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02393/0.9868, allocations: 6.212 MB / 1.09 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/0.9871, allocations: 145.7 kB / 1.09 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.877/2.864, allocations: 0 / 1.09 GB, free: 13.85 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)