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.738/1.738, allocations: 292.6 MB / 307.5 MB, free: 5.168 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.001054/0.001054, allocations: 189 kB / 377.1 MB, free: 1.516 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.512/1.512, allocations: 205.4 MB / 0.6366 GB, free: 8.555 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.0009074/0.0009073, allocations: 91.28 kB / 0.7509 GB, free: 63.09 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.0003548, allocations: 8 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.292, allocations: 116.3 MB / 0.9884 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9103/1.202, allocations: 166.2 MB / 1.151 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003371/1.203, allocations: 96.12 kB / 1.151 GB, free: 13.88 MB / 0.7292 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.02796/1.231, allocations: 11.79 MB / 1.162 GB, free: 4.402 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.334e-06/1.231, allocations: 0 / 1.162 GB, free: 4.402 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.89e-05/1.231, allocations: 11.98 kB / 1.162 GB, free: 4.391 MB / 0.7292 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.0008002/1.232, allocations: 0.5043 MB / 1.163 GB, free: 3.84 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/1.232, allocations: 12.02 kB / 1.163 GB, free: 3.828 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.227e-05/1.232, allocations: 63.42 kB / 1.163 GB, free: 3.758 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006056/1.232, allocations: 81.7 kB / 1.163 GB, free: 3.68 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/1.233, allocations: 250.6 kB / 1.163 GB, free: 3.395 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/1.233, allocations: 16.44 kB / 1.163 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.238e-05/1.233, allocations: 23.44 kB / 1.163 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004276/1.233, allocations: 308.3 kB / 1.164 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/1.233, allocations: 0 / 1.164 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.889e-05/1.233, allocations: 12 kB / 1.164 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.106e-05/1.233, allocations: 16.42 kB / 1.164 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003152/1.234, allocations: 217.6 kB / 1.164 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001285/1.235, allocations: 1.497 MB / 1.165 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004182/1.235, allocations: 203.6 kB / 1.165 GB, free: 0.9141 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/1.235, allocations: 4 kB / 1.165 GB, free: 0.9102 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/1.235, allocations: 30.56 kB / 1.165 GB, free: 0.8711 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/1.235, allocations: 0 / 1.165 GB, free: 0.8711 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0005214/1.236, allocations: 263.3 kB / 1.166 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/1.236, allocations: 51.41 kB / 1.166 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/1.236, allocations: 195.5 kB / 1.166 GB, free: 328 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/1.236, allocations: 25.7 kB / 1.166 GB, free: 296 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.836e-05/1.236, allocations: 167.7 kB / 1.166 GB, free: 124 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/1.236, allocations: 31.7 kB / 1.166 GB, free: 92 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.885e-06/1.236, allocations: 4 kB / 1.166 GB, free: 88 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001457/1.236, allocations: 330.8 kB / 1.166 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.58e-05/1.237, allocations: 43.98 kB / 1.167 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/1.237, allocations: 114.3 kB / 1.167 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/1.237, allocations: 59.92 kB / 1.167 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.237, allocations: 0 / 1.167 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003807/1.237, allocations: 214 kB / 1.167 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/1.237, allocations: 4 kB / 1.167 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/1.237, allocations: 8.906 kB / 1.167 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002005/1.238, allocations: 28.78 kB / 1.167 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/1.238, allocations: 37.52 kB / 1.167 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001237/1.239, allocations: 1.315 MB / 1.168 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/1.239, allocations: 25.14 kB / 1.168 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/1.239, allocations: 8 kB / 1.168 GB, free: 13.73 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 () * Number of clocked 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.0002359/1.239, allocations: 150.9 kB / 1.168 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.82e-05/1.239, allocations: 15.81 kB / 1.168 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.817e-05/1.239, allocations: 29.34 kB / 1.168 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/1.239, allocations: 0 / 1.168 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/1.239, allocations: 0 / 1.168 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/1.239, allocations: 4 kB / 1.168 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006209/1.24, allocations: 480.1 kB / 1.169 GB, free: 13 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/1.24, allocations: 0 / 1.169 GB, free: 13 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.912e-05/1.24, allocations: 15.98 kB / 1.169 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.946e-05/1.24, allocations: 28.78 kB / 1.169 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/1.24, allocations: 4.812 kB / 1.169 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/1.241, allocations: 1.316 MB / 1.17 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.241, allocations: 0 / 1.17 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000321/1.242, allocations: 236.1 kB / 1.17 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.676e-05/1.242, allocations: 98.09 kB / 1.171 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/1.242, allocations: 4 kB / 1.171 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/1.242, allocations: 8.188 kB / 1.171 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.952e-05/1.242, allocations: 11.98 kB / 1.171 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/1.242, allocations: 4 kB / 1.171 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00015/1.242, allocations: 141.5 kB / 1.171 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.242, allocations: 0 / 1.171 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003454/1.243, allocations: 59.78 kB / 1.171 GB, free: 10.92 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 () * Number of clocked 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.0007536/1.243, allocations: 0.7687 MB / 1.172 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004925/1.244, allocations: 238.5 kB / 1.172 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.244, allocations: 0 / 1.172 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002253/1.244, allocations: 164.1 kB / 1.172 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/1.244, allocations: 29.03 kB / 1.172 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002505/1.247, allocations: 2.488 MB / 1.174 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005062/1.247, allocations: 0.7595 MB / 1.175 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001389/1.248, allocations: 26.31 kB / 1.175 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/1.248, allocations: 59.42 kB / 1.175 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of SimCode: time 4.01e-07/1.248, allocations: 0 / 1.175 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0208/1.268, allocations: 3.572 MB / 1.179 GB, free: 2.852 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002423/1.269, allocations: 210.3 kB / 1.179 GB, free: 2.602 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.959/3.228, allocations: 0 / 1.179 GB, free: 2.602 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)