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.634/1.634, allocations: 288.2 MB / 303.2 MB, free: 8.172 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.001041/0.001041, allocations: 181 kB / 371.8 MB, free: 10.3 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.798/1.798, allocations: 205.4 MB / 0.6305 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000954/0.0009538, allocations: 97.59 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004635/0.0004636, allocations: 15.34 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3024, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9788/1.281, allocations: 165.2 MB / 1.141 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/1.282, allocations: 97.8 kB / 1.141 GB, free: 13.52 MB / 0.6823 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.02797/1.31, allocations: 11.78 MB / 1.152 GB, free: 23.53 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.41e-06/1.31, allocations: 0 / 1.152 GB, free: 23.53 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.954e-05/1.31, allocations: 4 kB / 1.152 GB, free: 23.53 MB / 0.698 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.001438/1.311, allocations: 0.515 MB / 1.153 GB, free: 22.98 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 8.887e-05/1.311, allocations: 12.02 kB / 1.153 GB, free: 22.96 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000188/1.311, allocations: 60.34 kB / 1.153 GB, free: 22.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007891/1.312, allocations: 83.64 kB / 1.153 GB, free: 22.83 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005378/1.313, allocations: 249.5 kB / 1.153 GB, free: 22.56 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/1.313, allocations: 16.12 kB / 1.153 GB, free: 22.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.857e-05/1.313, allocations: 23.3 kB / 1.153 GB, free: 22.54 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005739/1.313, allocations: 306.7 kB / 1.154 GB, free: 22.29 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/1.314, allocations: 0 / 1.154 GB, free: 22.29 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.136e-05/1.314, allocations: 11.06 kB / 1.154 GB, free: 22.28 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.87e-05/1.314, allocations: 19.67 kB / 1.154 GB, free: 22.26 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000379/1.314, allocations: 214.6 kB / 1.154 GB, free: 22.11 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001855/1.316, allocations: 1.49 MB / 1.155 GB, free: 20.59 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004213/1.316, allocations: 203 kB / 1.156 GB, free: 20.39 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/1.316, allocations: 0 / 1.156 GB, free: 20.39 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/1.316, allocations: 34.56 kB / 1.156 GB, free: 20.34 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/1.316, allocations: 0 / 1.156 GB, free: 20.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0006654/1.317, allocations: 264 kB / 1.156 GB, free: 20.09 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/1.317, allocations: 51.41 kB / 1.156 GB, free: 20.03 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/1.317, allocations: 191.1 kB / 1.156 GB, free: 19.86 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/1.317, allocations: 29.64 kB / 1.156 GB, free: 19.82 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/1.317, allocations: 176.6 kB / 1.156 GB, free: 19.67 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/1.318, allocations: 30.92 kB / 1.156 GB, free: 19.64 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.997e-06/1.318, allocations: 3.812 kB / 1.156 GB, free: 19.64 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001607/1.318, allocations: 330.7 kB / 1.157 GB, free: 19.31 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.657e-05/1.318, allocations: 44.28 kB / 1.157 GB, free: 19.28 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/1.318, allocations: 112.8 kB / 1.157 GB, free: 19.16 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/1.318, allocations: 56.36 kB / 1.157 GB, free: 19.12 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/1.318, allocations: 4 kB / 1.157 GB, free: 19.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003751/1.318, allocations: 212.1 kB / 1.157 GB, free: 18.94 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/1.318, allocations: 9.719 kB / 1.157 GB, free: 18.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/1.318, allocations: 3.953 kB / 1.157 GB, free: 18.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002068/1.319, allocations: 36.44 kB / 1.157 GB, free: 18.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/1.319, allocations: 27.98 kB / 1.157 GB, free: 18.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001166/1.32, allocations: 1.32 MB / 1.158 GB, free: 17.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/1.32, allocations: 19.83 kB / 1.158 GB, free: 17.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/1.32, allocations: 11.88 kB / 1.158 GB, free: 17.44 MB / 0.698 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.0001693/1.32, allocations: 147.5 kB / 1.159 GB, free: 17.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.224e-05/1.32, allocations: 15.81 kB / 1.159 GB, free: 17.28 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.531e-05/1.32, allocations: 28.16 kB / 1.159 GB, free: 17.26 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/1.32, allocations: 0 / 1.159 GB, free: 17.26 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/1.321, allocations: 4 kB / 1.159 GB, free: 17.25 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/1.321, allocations: 0 / 1.159 GB, free: 17.25 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005849/1.321, allocations: 489 kB / 1.159 GB, free: 16.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/1.321, allocations: 0 / 1.159 GB, free: 16.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.064e-05/1.321, allocations: 8 kB / 1.159 GB, free: 16.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.768e-05/1.321, allocations: 27.84 kB / 1.159 GB, free: 16.75 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/1.321, allocations: 0 / 1.159 GB, free: 16.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008948/1.322, allocations: 1.314 MB / 1.16 GB, free: 15.35 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/1.322, allocations: 96 / 1.16 GB, free: 15.35 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/1.323, allocations: 245.9 kB / 1.161 GB, free: 15.12 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.901e-05/1.323, allocations: 104.6 kB / 1.161 GB, free: 15 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/1.323, allocations: 0 / 1.161 GB, free: 15 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/1.323, allocations: 11.38 kB / 1.161 GB, free: 14.99 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.029e-05/1.323, allocations: 7.984 kB / 1.161 GB, free: 14.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.283e-06/1.323, allocations: 0 / 1.161 GB, free: 14.98 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001303/1.323, allocations: 145.3 kB / 1.161 GB, free: 14.86 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/1.323, allocations: 0 / 1.161 GB, free: 14.86 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003699/1.323, allocations: 59.16 kB / 1.161 GB, free: 14.81 MB / 0.698 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.0005998/1.324, allocations: 0.7723 MB / 1.162 GB, free: 14.04 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004869/1.324, allocations: 235.5 kB / 1.162 GB, free: 13.82 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.324, allocations: 0 / 1.162 GB, free: 13.82 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002164/1.325, allocations: 161.6 kB / 1.162 GB, free: 13.66 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/1.325, allocations: 35.23 kB / 1.162 GB, free: 13.64 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002547/1.328, allocations: 2.489 MB / 1.165 GB, free: 11.19 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003928/1.328, allocations: 0.7586 MB / 1.165 GB, free: 10.41 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001386/1.328, allocations: 25.53 kB / 1.165 GB, free: 10.39 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.589e-05/1.328, allocations: 61.67 kB / 1.165 GB, free: 10.36 MB / 0.698 GB Notification: Performance of SimCode: time 2.11e-07/1.328, allocations: 4 kB / 1.165 GB, free: 10.36 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01944/1.348, allocations: 3.569 MB / 1.169 GB, free: 6.98 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002518/1.348, allocations: 215.8 kB / 1.169 GB, free: 6.738 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.873/3.221, allocations: 7.938 kB / 1.169 GB, free: 6.73 MB / 0.698 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)