Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.587/2.587, allocations: 284.9 MB / 292.4 MB, free: 10.52 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.001494/0.001494, allocations: 176.8 kB / 360.6 MB, free: 7.266 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.163/2.163, allocations: 205.2 MB / 0.6191 GB, free: 12.18 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.001115/0.001114, allocations: 102.9 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.116e-05/2.114e-05, allocations: 0 / 0.8509 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8177/0.8178, allocations: 115.3 MB / 0.9634 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2861/1.104, allocations: 164.3 MB / 1.124 GB, free: 8.094 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003442/1.104, allocations: 94.11 kB / 1.124 GB, free: 8.004 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0/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.0/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.04609/1.15, allocations: 11.64 MB / 1.135 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.753e-06/1.15, allocations: 0 / 1.135 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.684e-05/1.151, allocations: 8 kB / 1.135 GB, free: 12.32 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.0009376/1.151, allocations: 0.4943 MB / 1.136 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/1.152, allocations: 8.031 kB / 1.136 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009219/1.152, allocations: 84.84 kB / 1.136 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005069/1.153, allocations: 249 kB / 1.136 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/1.153, allocations: 12 kB / 1.136 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.702e-05/1.153, allocations: 8 kB / 1.136 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004939/1.154, allocations: 172.8 kB / 1.136 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006352/1.154, allocations: 271.5 kB / 1.137 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/1.154, allocations: 0 / 1.137 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.496e-05/1.154, allocations: 0 / 1.137 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.43e-05/1.154, allocations: 18.41 kB / 1.137 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00212/1.157, allocations: 1.441 MB / 1.138 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005786/1.157, allocations: 194 kB / 1.138 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/1.157, allocations: 28.86 kB / 1.138 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/1.157, allocations: 8 kB / 1.138 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/1.157, allocations: 38.55 kB / 1.138 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 2.334e-06/1.157, allocations: 3.938 kB / 1.138 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.000418/1.158, allocations: 110.3 kB / 1.138 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/1.158, allocations: 51.41 kB / 1.138 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002642/1.158, allocations: 167.3 kB / 1.139 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/1.158, allocations: 25.7 kB / 1.139 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/1.158, allocations: 175.6 kB / 1.139 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.103e-05/1.158, allocations: 31.55 kB / 1.139 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.849e-06/1.158, allocations: 4 kB / 1.139 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001376/1.158, allocations: 326.8 kB / 1.139 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/1.159, allocations: 35.98 kB / 1.139 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000151/1.159, allocations: 99.16 kB / 1.139 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/1.159, allocations: 47.14 kB / 1.139 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.757e-06/1.159, allocations: 7.984 kB / 1.139 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004569/1.159, allocations: 166.2 kB / 1.139 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/1.159, allocations: 11.98 kB / 1.139 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/1.159, allocations: 0 / 1.139 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002029/1.16, allocations: 32.8 kB / 1.139 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/1.16, allocations: 36.2 kB / 1.14 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/1.161, allocations: 1.263 MB / 1.141 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002853/1.162, allocations: 23.91 kB / 1.141 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/1.162, allocations: 4 kB / 1.141 GB, free: 6.227 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.0001317/1.162, allocations: 112.8 kB / 1.141 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003639/1.162, allocations: 118.4 kB / 1.141 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.528e-05/1.162, allocations: 19.77 kB / 1.141 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.219e-05/1.162, allocations: 21.83 kB / 1.141 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/1.162, allocations: 0 / 1.141 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.162, allocations: 8 kB / 1.141 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/1.162, allocations: 3.984 kB / 1.141 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000803/1.163, allocations: 419.7 kB / 1.141 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/1.163, allocations: 0 / 1.141 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/1.163, allocations: 11.98 kB / 1.141 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001431/1.164, allocations: 24.84 kB / 1.141 GB, free: 5.441 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/1.164, allocations: 4 kB / 1.141 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001229/1.165, allocations: 1.255 MB / 1.143 GB, free: 4.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.165, allocations: 4.062 kB / 1.143 GB, free: 4.066 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003584/1.165, allocations: 212.3 kB / 1.143 GB, free: 3.84 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/1.165, allocations: 96.84 kB / 1.143 GB, free: 3.727 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/1.165, allocations: 0 / 1.143 GB, free: 3.727 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/1.166, allocations: 8 kB / 1.143 GB, free: 3.719 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.174e-05/1.166, allocations: 19.92 kB / 1.143 GB, free: 3.699 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/1.166, allocations: 0 / 1.143 GB, free: 3.699 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001606/1.166, allocations: 140 kB / 1.143 GB, free: 3.562 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.21e-07/1.166, allocations: 0 / 1.143 GB, free: 3.562 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005131/1.166, allocations: 51.75 kB / 1.143 GB, free: 3.512 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.0006597/1.167, allocations: 0.7444 MB / 1.144 GB, free: 2.738 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004923/1.168, allocations: 201.5 kB / 1.144 GB, free: 2.531 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/1.168, allocations: 0 / 1.144 GB, free: 2.531 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002522/1.168, allocations: 152 kB / 1.144 GB, free: 2.375 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003867/1.168, allocations: 30.09 kB / 1.144 GB, free: 2.344 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009118/1.169, allocations: 294.9 kB / 1.145 GB, free: 2.023 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004111/1.17, allocations: 0.7592 MB / 1.145 GB, free: 1.238 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001718/1.17, allocations: 22.14 kB / 1.145 GB, free: 1.215 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/1.17, allocations: 59.41 kB / 1.145 GB, free: 1.156 MB / 0.7448 GB Notification: Performance of SimCode: time 1.073e-06/1.17, allocations: 0 / 1.145 GB, free: 1.156 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04015/1.21, allocations: 3 MB / 1.148 GB, free: 14.24 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003099/1.211, allocations: 149.8 kB / 1.148 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.284/3.494, allocations: 0 / 1.148 GB, free: 14.05 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)