Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.738/1.738, allocations: 285.6 MB / 293.1 MB, free: 10.3 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.001153/0.001153, allocations: 184.9 kB / 361.4 MB, free: 6.859 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.705/1.705, allocations: 205.3 MB / 0.62 GB, free: 11.62 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.0009438/0.0009437, allocations: 95.95 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.056e-05/2.058e-05, allocations: 4 kB / 0.8518 GB, free: 2.621 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8279/0.8279, allocations: 115.3 MB / 0.9644 GB, free: 78.75 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.251/1.079, allocations: 164.5 MB / 1.125 GB, free: 7.211 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/1.079, allocations: 86.91 kB / 1.125 GB, free: 7.129 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1-maint.8.0.x/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13: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.1-maint.8.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.02883/1.108, allocations: 11.64 MB / 1.137 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.753e-06/1.108, allocations: 0 / 1.137 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.744e-05/1.108, allocations: 4 kB / 1.137 GB, free: 11.44 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.000705/1.109, allocations: 0.4943 MB / 1.137 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/1.109, allocations: 8.031 kB / 1.137 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006225/1.11, allocations: 86.73 kB / 1.137 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003545/1.11, allocations: 249 kB / 1.137 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/1.11, allocations: 8 kB / 1.137 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.209e-05/1.11, allocations: 12 kB / 1.137 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003117/1.11, allocations: 176.8 kB / 1.138 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004239/1.111, allocations: 271.5 kB / 1.138 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/1.111, allocations: 0 / 1.138 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.769e-05/1.111, allocations: 4 kB / 1.138 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.32e-05/1.111, allocations: 12.42 kB / 1.138 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001573/1.112, allocations: 1.435 MB / 1.139 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003996/1.113, allocations: 191.6 kB / 1.139 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.959e-05/1.113, allocations: 40.84 kB / 1.139 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/1.113, allocations: 0 / 1.139 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/1.113, allocations: 38.5 kB / 1.139 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/1.113, allocations: 0 / 1.139 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0003083/1.113, allocations: 114.3 kB / 1.14 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/1.113, allocations: 55.41 kB / 1.14 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/1.114, allocations: 167.1 kB / 1.14 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/1.114, allocations: 29.69 kB / 1.14 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/1.114, allocations: 171.6 kB / 1.14 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/1.114, allocations: 31.55 kB / 1.14 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.224e-06/1.114, allocations: 0 / 1.14 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001379/1.114, allocations: 330.8 kB / 1.14 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.743e-05/1.114, allocations: 31.98 kB / 1.14 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/1.114, allocations: 96.58 kB / 1.14 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.714e-05/1.114, allocations: 60.81 kB / 1.14 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.114, allocations: 0 / 1.14 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00029/1.114, allocations: 174.3 kB / 1.141 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/1.115, allocations: 5.719 kB / 1.141 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/1.115, allocations: 4 kB / 1.141 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001605/1.115, allocations: 24.84 kB / 1.141 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/1.115, allocations: 31.92 kB / 1.141 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001114/1.116, allocations: 1.273 MB / 1.142 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/1.116, allocations: 19.78 kB / 1.142 GB, free: 5.344 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/1.116, allocations: 8.156 kB / 1.142 GB, free: 5.336 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001113/1.116, allocations: 111.2 kB / 1.142 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002083/1.116, allocations: 118.4 kB / 1.142 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.614e-05/1.117, allocations: 15.77 kB / 1.142 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.568e-05/1.117, allocations: 17.83 kB / 1.142 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/1.117, allocations: 7.984 kB / 1.142 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/1.117, allocations: 0 / 1.142 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/1.117, allocations: 0 / 1.142 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005635/1.117, allocations: 431.7 kB / 1.143 GB, free: 4.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/1.117, allocations: 0 / 1.143 GB, free: 4.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.661e-05/1.117, allocations: 10.06 kB / 1.143 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.899e-05/1.117, allocations: 20.84 kB / 1.143 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/1.117, allocations: 0 / 1.143 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001003/1.118, allocations: 1.26 MB / 1.144 GB, free: 3.184 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.118, allocations: 0 / 1.144 GB, free: 3.184 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/1.119, allocations: 216.4 kB / 1.144 GB, free: 2.953 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.958e-05/1.119, allocations: 102.9 kB / 1.144 GB, free: 2.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/1.119, allocations: 1.375 kB / 1.144 GB, free: 2.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/1.119, allocations: 7.984 kB / 1.144 GB, free: 2.828 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.844e-05/1.119, allocations: 7.938 kB / 1.144 GB, free: 2.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/1.119, allocations: 0 / 1.144 GB, free: 2.82 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001093/1.119, allocations: 144.2 kB / 1.144 GB, free: 2.68 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.7e-07/1.119, allocations: 0 / 1.144 GB, free: 2.68 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003489/1.119, allocations: 55.75 kB / 1.144 GB, free: 2.625 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005816/1.12, allocations: 0.7448 MB / 1.145 GB, free: 1.852 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003711/1.12, allocations: 211 kB / 1.145 GB, free: 1.637 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/1.12, allocations: 0 / 1.145 GB, free: 1.637 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001682/1.121, allocations: 145.7 kB / 1.145 GB, free: 1.484 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/1.121, allocations: 28.48 kB / 1.146 GB, free: 1.453 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006787/1.122, allocations: 296.1 kB / 1.146 GB, free: 1.133 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/1.122, allocations: 0.7582 MB / 1.147 GB, free: 360 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001153/1.122, allocations: 27.3 kB / 1.147 GB, free: 332 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.885e-05/1.122, allocations: 59.42 kB / 1.147 GB, free: 272 kB / 0.7448 GB Notification: Performance of SimCode: time 2.5e-07/1.122, allocations: 0 / 1.147 GB, free: 272 kB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02175/1.144, allocations: 2.996 MB / 1.15 GB, free: 13.35 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002481/1.144, allocations: 157.7 kB / 1.15 GB, free: 13.15 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.641/2.785, allocations: 3.938 kB / 1.15 GB, free: 13.15 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)