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.691/1.691, allocations: 289.9 MB / 297.4 MB, free: 6.367 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.001667/0.001668, allocations: 180.9 kB / 366.7 MB, free: 1.648 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.019/2.019, allocations: 205.2 MB / 0.626 GB, free: 7.164 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.001008/0.001008, allocations: 83.86 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.882e-05/1.884e-05, allocations: 0 / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7938/0.7939, allocations: 116.3 MB / 0.9733 GB, free: 76.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2547/1.049, allocations: 165.4 MB / 1.135 GB, free: 0.6133 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003241/1.049, allocations: 88.48 kB / 1.135 GB, free: 0.5273 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.03061/1.08, allocations: 11.65 MB / 1.146 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.985e-06/1.08, allocations: 4 kB / 1.146 GB, free: 4.82 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.778e-05/1.08, allocations: 4 kB / 1.146 GB, free: 4.816 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.0008502/1.081, allocations: 498.2 kB / 1.147 GB, free: 4.285 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.907e-05/1.081, allocations: 8.031 kB / 1.147 GB, free: 4.277 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007251/1.081, allocations: 83.64 kB / 1.147 GB, free: 4.195 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004496/1.082, allocations: 252.2 kB / 1.147 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/1.082, allocations: 12 kB / 1.147 GB, free: 3.898 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.999e-05/1.082, allocations: 8 kB / 1.147 GB, free: 3.891 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003353/1.082, allocations: 176.8 kB / 1.147 GB, free: 3.715 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004535/1.083, allocations: 263.5 kB / 1.148 GB, free: 3.438 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/1.083, allocations: 3.938 kB / 1.148 GB, free: 3.434 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.847e-05/1.083, allocations: 0 / 1.148 GB, free: 3.434 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.126e-05/1.083, allocations: 20.42 kB / 1.148 GB, free: 3.414 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001697/1.085, allocations: 1.435 MB / 1.149 GB, free: 1.824 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004244/1.085, allocations: 188.8 kB / 1.149 GB, free: 1.613 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.747e-05/1.085, allocations: 32.84 kB / 1.149 GB, free: 1.578 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/1.085, allocations: 11.94 kB / 1.149 GB, free: 1.566 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/1.085, allocations: 30.56 kB / 1.149 GB, free: 1.527 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 5.691e-06/1.085, allocations: 0 / 1.149 GB, free: 1.527 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0003145/1.085, allocations: 114.3 kB / 1.149 GB, free: 1.406 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/1.086, allocations: 51.41 kB / 1.149 GB, free: 1.344 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/1.086, allocations: 171.1 kB / 1.15 GB, free: 1.168 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/1.086, allocations: 25.7 kB / 1.15 GB, free: 1.137 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/1.086, allocations: 179.6 kB / 1.15 GB, free: 0.957 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/1.086, allocations: 31.55 kB / 1.15 GB, free: 0.9258 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.845e-06/1.086, allocations: 0.8438 kB / 1.15 GB, free: 0.9258 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001815/1.086, allocations: 330.8 kB / 1.15 GB, free: 0.5938 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.088e-05/1.086, allocations: 31.98 kB / 1.15 GB, free: 0.5625 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/1.086, allocations: 100.5 kB / 1.15 GB, free: 444 kB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.644e-05/1.086, allocations: 50.25 kB / 1.15 GB, free: 396 kB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/1.086, allocations: 0 / 1.15 GB, free: 396 kB / 0.7448 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002908/1.087, allocations: 177 kB / 1.15 GB, free: 212 kB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/1.087, allocations: 8 kB / 1.151 GB, free: 204 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/1.087, allocations: 4 kB / 1.151 GB, free: 200 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001604/1.087, allocations: 24.84 kB / 1.151 GB, free: 172 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/1.087, allocations: 32.27 kB / 1.151 GB, free: 140 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001167/1.088, allocations: 1.27 MB / 1.152 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/1.088, allocations: 23.91 kB / 1.152 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/1.088, allocations: 4 kB / 1.152 GB, free: 14.73 MB / 0.7605 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 9.726e-05/1.088, allocations: 108.9 kB / 1.152 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002146/1.089, allocations: 112.9 kB / 1.152 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.252e-05/1.089, allocations: 27.69 kB / 1.152 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/1.089, allocations: 21.83 kB / 1.152 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/1.089, allocations: 4 kB / 1.152 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/1.089, allocations: 4 kB / 1.152 GB, free: 14.44 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/1.089, allocations: 0 / 1.152 GB, free: 14.44 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000538/1.089, allocations: 419.8 kB / 1.152 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/1.089, allocations: 1.625 kB / 1.152 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.668e-05/1.089, allocations: 11.94 kB / 1.153 GB, free: 13.97 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.106e-05/1.09, allocations: 24.84 kB / 1.153 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/1.09, allocations: 4 kB / 1.153 GB, free: 13.94 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001017/1.091, allocations: 1.255 MB / 1.154 GB, free: 12.58 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.091, allocations: 8 kB / 1.154 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/1.091, allocations: 212.2 kB / 1.154 GB, free: 12.34 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 7.612e-05/1.091, allocations: 96.91 kB / 1.154 GB, free: 12.23 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/1.091, allocations: 4 kB / 1.154 GB, free: 12.23 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/1.091, allocations: 7.984 kB / 1.154 GB, free: 12.22 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.621e-05/1.091, allocations: 14.91 kB / 1.154 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/1.091, allocations: 0 / 1.154 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001271/1.091, allocations: 140 kB / 1.154 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.3e-07/1.091, allocations: 0 / 1.154 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003388/1.092, allocations: 55.75 kB / 1.154 GB, free: 12.02 MB / 0.7605 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.0006378/1.092, allocations: 0.7483 MB / 1.155 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004113/1.093, allocations: 201.6 kB / 1.155 GB, free: 11.03 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/1.093, allocations: 0 / 1.155 GB, free: 11.03 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.000213/1.093, allocations: 148.8 kB / 1.155 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/1.093, allocations: 30.8 kB / 1.155 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007015/1.094, allocations: 293.5 kB / 1.156 GB, free: 10.52 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004184/1.094, allocations: 0.7592 MB / 1.156 GB, free: 9.738 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.000105/1.095, allocations: 25.19 kB / 1.156 GB, free: 9.715 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.516e-05/1.095, allocations: 55.42 kB / 1.156 GB, free: 9.66 MB / 0.7605 GB Notification: Performance of SimCode: time 2.7e-07/1.095, allocations: 0 / 1.156 GB, free: 9.66 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02594/1.121, allocations: 3.001 MB / 1.159 GB, free: 6.742 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000324/1.121, allocations: 143.1 kB / 1.16 GB, free: 6.547 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.981/3.102, allocations: 0 / 1.16 GB, free: 6.547 MB / 0.7605 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)