Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.756/1.756, allocations: 289.7 MB / 302.2 MB, free: 2.074 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.001677/0.001678, allocations: 181.3 kB / 371.6 MB, free: 3.41 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.739/1.739, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.001034/0.001034, allocations: 91.55 kB / 0.745 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.391e-05/4.394e-05, allocations: 7.984 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2975, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.962/1.26, allocations: 166.1 MB / 1.142 GB, free: 25.32 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/1.26, allocations: 88.12 kB / 1.142 GB, free: 25.29 MB / 0.7448 GB [/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/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.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.0293/1.289, allocations: 11.69 MB / 1.154 GB, free: 19.22 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.384e-06/1.289, allocations: 0 / 1.154 GB, free: 19.22 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.757e-05/1.289, allocations: 4 kB / 1.154 GB, free: 19.22 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.0007012/1.29, allocations: 0.4903 MB / 1.154 GB, free: 18.73 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/1.29, allocations: 8.031 kB / 1.154 GB, free: 18.72 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.475e-05/1.29, allocations: 56.41 kB / 1.154 GB, free: 18.68 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006705/1.291, allocations: 80.19 kB / 1.154 GB, free: 18.62 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003462/1.291, allocations: 259.9 kB / 1.154 GB, free: 18.36 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/1.291, allocations: 18.52 kB / 1.154 GB, free: 18.35 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.312e-05/1.291, allocations: 15.44 kB / 1.154 GB, free: 18.34 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004638/1.292, allocations: 303 kB / 1.155 GB, free: 18.14 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/1.292, allocations: 0 / 1.155 GB, free: 18.14 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.852e-05/1.292, allocations: 8.547 kB / 1.155 GB, free: 18.13 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.423e-05/1.292, allocations: 18.08 kB / 1.155 GB, free: 18.12 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003073/1.292, allocations: 197.2 kB / 1.155 GB, free: 18 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001432/1.294, allocations: 1.489 MB / 1.156 GB, free: 16.59 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003708/1.294, allocations: 194.6 kB / 1.157 GB, free: 16.41 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.974e-05/1.294, allocations: 41.09 kB / 1.157 GB, free: 16.38 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/1.294, allocations: 7.938 kB / 1.157 GB, free: 16.38 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/1.294, allocations: 35.42 kB / 1.157 GB, free: 16.34 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/1.294, allocations: 0 / 1.157 GB, free: 16.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0003526/1.294, allocations: 123.5 kB / 1.157 GB, free: 16.24 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/1.294, allocations: 51.97 kB / 1.157 GB, free: 16.18 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/1.295, allocations: 182.5 kB / 1.157 GB, free: 16.02 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/1.295, allocations: 33.7 kB / 1.157 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/1.295, allocations: 169.9 kB / 1.157 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/1.295, allocations: 30.94 kB / 1.157 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.685e-06/1.295, allocations: 3.312 kB / 1.157 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.764e-05/1.295, allocations: 330.8 kB / 1.158 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.427e-05/1.295, allocations: 35.34 kB / 1.158 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.769e-05/1.295, allocations: 104.7 kB / 1.158 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.776e-05/1.295, allocations: 56.61 kB / 1.158 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/1.295, allocations: 0 / 1.158 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002999/1.296, allocations: 190.2 kB / 1.158 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/1.296, allocations: 8.734 kB / 1.158 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/1.296, allocations: 4.609 kB / 1.158 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001737/1.296, allocations: 27.84 kB / 1.158 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/1.296, allocations: 36.34 kB / 1.158 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009547/1.297, allocations: 1.318 MB / 1.159 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001282/1.297, allocations: 17.34 kB / 1.159 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/1.297, allocations: 11.81 kB / 1.159 GB, free: 13.74 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 7.719e-05/1.297, allocations: 112.5 kB / 1.159 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.676e-05/1.297, allocations: 21.36 kB / 1.159 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.484e-05/1.297, allocations: 26.2 kB / 1.16 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/1.297, allocations: 0 / 1.16 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/1.297, allocations: 0 / 1.16 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/1.297, allocations: 0.7969 kB / 1.16 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005479/1.298, allocations: 468.7 kB / 1.16 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/1.298, allocations: 0 / 1.16 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.56e-05/1.298, allocations: 10.34 kB / 1.16 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.478e-05/1.298, allocations: 28.23 kB / 1.16 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/1.298, allocations: 0.625 kB / 1.16 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007383/1.299, allocations: 1.313 MB / 1.161 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/1.299, allocations: 0 / 1.161 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/1.299, allocations: 232.4 kB / 1.162 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.638e-05/1.299, allocations: 96.11 kB / 1.162 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/1.299, allocations: 4.703 kB / 1.162 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/1.299, allocations: 12.64 kB / 1.162 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/1.299, allocations: 7.328 kB / 1.162 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/1.299, allocations: 3.094 kB / 1.162 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001137/1.299, allocations: 147.5 kB / 1.162 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.299, allocations: 0 / 1.162 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002967/1.3, allocations: 55.78 kB / 1.162 GB, free: 11.29 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.000424/1.3, allocations: 0.758 MB / 1.163 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003504/1.301, allocations: 217 kB / 1.163 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.301, allocations: 0 / 1.163 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001648/1.301, allocations: 164.9 kB / 1.163 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/1.301, allocations: 26.94 kB / 1.163 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006201/1.302, allocations: 300.2 kB / 1.163 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/1.302, allocations: 0.7655 MB / 1.164 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001105/1.302, allocations: 24.28 kB / 1.164 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/1.302, allocations: 57.47 kB / 1.164 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of SimCode: time 1.523e-06/1.302, allocations: 0 / 1.164 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01616/1.318, allocations: 3.582 MB / 1.168 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001561/1.319, allocations: 169.1 kB / 1.168 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.897/3.216, allocations: 0 / 1.168 GB, free: 6.887 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)