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.77/1.77, allocations: 285.4 MB / 298 MB, free: 5.941 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.001044/0.001044, allocations: 176.8 kB / 366.4 MB, free: 2.086 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.857/1.857, allocations: 205.1 MB / 0.6248 GB, free: 7.734 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.0009526/0.0009526, allocations: 95.62 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.953e-05/3.957e-05, allocations: 4 kB / 0.8584 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7878/0.7879, allocations: 115.3 MB / 0.971 GB, free: 77.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2413/1.029, allocations: 165.1 MB / 1.132 GB, free: 2.621 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003013/1.03, allocations: 87.94 kB / 1.132 GB, free: 2.535 MB / 0.7292 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.02826/1.058, allocations: 11.68 MB / 1.144 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.346e-06/1.058, allocations: 0 / 1.144 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.707e-05/1.058, allocations: 7.938 kB / 1.144 GB, free: 6.801 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.0006988/1.059, allocations: 498.2 kB / 1.144 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/1.059, allocations: 8.031 kB / 1.144 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.753e-05/1.059, allocations: 58.53 kB / 1.144 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006694/1.059, allocations: 85.89 kB / 1.144 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003485/1.06, allocations: 258.5 kB / 1.145 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/1.06, allocations: 16.44 kB / 1.145 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.537e-05/1.06, allocations: 19.98 kB / 1.145 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004695/1.06, allocations: 292.4 kB / 1.145 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/1.06, allocations: 3.938 kB / 1.145 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/1.06, allocations: 8 kB / 1.145 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.094e-05/1.06, allocations: 20.42 kB / 1.145 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003183/1.061, allocations: 197.6 kB / 1.145 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/1.062, allocations: 1.49 MB / 1.147 GB, free: 3.598 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003923/1.063, allocations: 191.7 kB / 1.147 GB, free: 3.383 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.726e-05/1.063, allocations: 40.8 kB / 1.147 GB, free: 3.34 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/1.063, allocations: 7.922 kB / 1.147 GB, free: 3.332 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/1.063, allocations: 38.56 kB / 1.147 GB, free: 3.285 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.353e-06/1.063, allocations: 1.219 kB / 1.147 GB, free: 3.285 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0003125/1.063, allocations: 110.3 kB / 1.147 GB, free: 3.168 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/1.063, allocations: 55.41 kB / 1.147 GB, free: 3.102 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/1.063, allocations: 183.7 kB / 1.147 GB, free: 2.914 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/1.063, allocations: 37.64 kB / 1.147 GB, free: 2.871 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.904e-05/1.064, allocations: 171.9 kB / 1.147 GB, free: 2.699 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/1.064, allocations: 31.55 kB / 1.147 GB, free: 2.668 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.254e-06/1.064, allocations: 4 kB / 1.147 GB, free: 2.664 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001186/1.064, allocations: 326.8 kB / 1.148 GB, free: 2.336 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.387e-05/1.064, allocations: 35.98 kB / 1.148 GB, free: 2.301 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/1.064, allocations: 101.1 kB / 1.148 GB, free: 2.172 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.261e-05/1.064, allocations: 61.88 kB / 1.148 GB, free: 2.113 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.064, allocations: 0 / 1.148 GB, free: 2.113 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002957/1.064, allocations: 194.1 kB / 1.148 GB, free: 1.914 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/1.064, allocations: 14.3 kB / 1.148 GB, free: 1.902 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/1.064, allocations: 0 / 1.148 GB, free: 1.902 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001626/1.065, allocations: 29.12 kB / 1.148 GB, free: 1.871 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/1.065, allocations: 35.92 kB / 1.148 GB, free: 1.836 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009773/1.066, allocations: 1.312 MB / 1.149 GB, free: 400 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/1.066, allocations: 27.39 kB / 1.15 GB, free: 376 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/1.066, allocations: 4 kB / 1.15 GB, free: 372 kB / 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 9.402e-05/1.066, allocations: 109 kB / 1.15 GB, free: 256 kB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.861e-05/1.066, allocations: 19.77 kB / 1.15 GB, free: 236 kB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.753e-05/1.066, allocations: 25.61 kB / 1.15 GB, free: 208 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/1.066, allocations: 4 kB / 1.15 GB, free: 204 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/1.066, allocations: 0 / 1.15 GB, free: 204 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/1.066, allocations: 3.984 kB / 1.15 GB, free: 200 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005491/1.067, allocations: 471.1 kB / 1.15 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/1.067, allocations: 1.5 kB / 1.15 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.443e-05/1.067, allocations: 12 kB / 1.15 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-05/1.067, allocations: 28.78 kB / 1.15 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/1.067, allocations: 4 kB / 1.15 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009606/1.068, allocations: 1.306 MB / 1.151 GB, free: 14.19 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.068, allocations: 4.031 kB / 1.151 GB, free: 14.19 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/1.068, allocations: 224 kB / 1.152 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 7.403e-05/1.068, allocations: 100.9 kB / 1.152 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/1.068, allocations: 0 / 1.152 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/1.068, allocations: 12.09 kB / 1.152 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.051e-05/1.068, allocations: 3.984 kB / 1.152 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.946e-06/1.068, allocations: 4 kB / 1.152 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001238/1.068, allocations: 141.6 kB / 1.152 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.41e-07/1.068, allocations: 0 / 1.152 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003031/1.069, allocations: 55.84 kB / 1.152 GB, free: 13.62 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.0005195/1.069, allocations: 0.7638 MB / 1.153 GB, free: 12.83 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0003832/1.07, allocations: 214.4 kB / 1.153 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.07, allocations: 0 / 1.153 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001711/1.07, allocations: 159.1 kB / 1.153 GB, free: 12.44 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/1.07, allocations: 39.48 kB / 1.153 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006218/1.071, allocations: 298.6 kB / 1.153 GB, free: 12.08 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/1.071, allocations: 0.7636 MB / 1.154 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001026/1.071, allocations: 21.33 kB / 1.154 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.047e-05/1.071, allocations: 59.41 kB / 1.154 GB, free: 11.22 MB / 0.7605 GB Notification: Performance of SimCode: time 1.913e-06/1.071, allocations: 0 / 1.154 GB, free: 11.22 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01579/1.087, allocations: 3.586 MB / 1.158 GB, free: 7.895 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000172/1.087, allocations: 187.6 kB / 1.158 GB, free: 7.668 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.812/2.899, allocations: 0 / 1.158 GB, free: 7.668 MB / 0.7605 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)