Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.323/1.323, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 182.6 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.859/1.859, allocations: 205.4 MB / 0.5775 GB, free: 20.54 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008818/0.0008816, allocations: 91.36 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004071/0.0004072, allocations: 8.844 kB / 0.7963 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2905, allocations: 106.3 MB / 0.9002 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2206/0.5112, allocations: 158.9 MB / 1.055 GB, free: 1.211 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004101/0.5117, allocations: 91.94 kB / 1.055 GB, free: 1.121 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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.6482/1.16, allocations: 11.78 MB / 1.067 GB, free: 154.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.396e-06/1.16, allocations: 0 / 1.067 GB, free: 154.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.184e-05/1.16, allocations: 9.672 kB / 1.067 GB, free: 154.7 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.001206/1.161, allocations: 0.5077 MB / 1.067 GB, free: 154.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.229e-05/1.161, allocations: 8.875 kB / 1.067 GB, free: 154.3 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001576/1.161, allocations: 61.62 kB / 1.068 GB, free: 154.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000806/1.162, allocations: 85.83 kB / 1.068 GB, free: 154.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005034/1.163, allocations: 251 kB / 1.068 GB, free: 154 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.284e-05/1.163, allocations: 16.42 kB / 1.068 GB, free: 154 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.776e-05/1.163, allocations: 20.59 kB / 1.068 GB, free: 154 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008012/1.164, allocations: 308.1 kB / 1.068 GB, free: 153.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/1.164, allocations: 4.656 kB / 1.068 GB, free: 153.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.746e-05/1.164, allocations: 11.28 kB / 1.068 GB, free: 153.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.485e-05/1.164, allocations: 12.16 kB / 1.068 GB, free: 153.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005261/1.164, allocations: 214.4 kB / 1.068 GB, free: 153.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001907/1.166, allocations: 1.489 MB / 1.07 GB, free: 152.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005136/1.167, allocations: 208.9 kB / 1.07 GB, free: 152.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/1.167, allocations: 0.75 kB / 1.07 GB, free: 152.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/1.167, allocations: 32.28 kB / 1.07 GB, free: 152.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 2.114e-06/1.167, allocations: 0 / 1.07 GB, free: 152.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0007261/1.168, allocations: 266.1 kB / 1.07 GB, free: 152.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/1.168, allocations: 56.44 kB / 1.07 GB, free: 152.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002393/1.168, allocations: 182.6 kB / 1.071 GB, free: 152.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/1.168, allocations: 27.45 kB / 1.071 GB, free: 152.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/1.168, allocations: 183.2 kB / 1.071 GB, free: 152 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/1.168, allocations: 32.55 kB / 1.071 GB, free: 152 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.536e-06/1.168, allocations: 4.781 kB / 1.071 GB, free: 152 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.524e-05/1.168, allocations: 326.3 kB / 1.071 GB, free: 151.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/1.168, allocations: 41.52 kB / 1.071 GB, free: 151.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/1.168, allocations: 111.3 kB / 1.071 GB, free: 151.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/1.169, allocations: 61.81 kB / 1.071 GB, free: 151.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/1.169, allocations: 1.281 kB / 1.071 GB, free: 151.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004648/1.169, allocations: 210 kB / 1.072 GB, free: 151.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/1.169, allocations: 13.52 kB / 1.072 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/1.169, allocations: 6.5 kB / 1.072 GB, free: 151.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001973/1.169, allocations: 20.64 kB / 1.072 GB, free: 151.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/1.17, allocations: 39.05 kB / 1.072 GB, free: 151.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00101/1.171, allocations: 1.32 MB / 1.073 GB, free: 150.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/1.171, allocations: 23.12 kB / 1.073 GB, free: 150.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/1.171, allocations: 10.53 kB / 1.073 GB, free: 150.3 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.0001651/1.171, allocations: 148.6 kB / 1.073 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-05/1.171, allocations: 20.45 kB / 1.073 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.42e-05/1.171, allocations: 20.73 kB / 1.073 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/1.171, allocations: 1.562 kB / 1.073 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.171, allocations: 0.9062 kB / 1.073 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/1.171, allocations: 0 / 1.073 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007342/1.172, allocations: 485.9 kB / 1.074 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/1.172, allocations: 0 / 1.074 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.483e-05/1.172, allocations: 18.25 kB / 1.074 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.955e-05/1.172, allocations: 22.36 kB / 1.074 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/1.172, allocations: 0.75 kB / 1.074 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008997/1.173, allocations: 1.316 MB / 1.075 GB, free: 148.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.173, allocations: 0.7812 kB / 1.075 GB, free: 148.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003671/1.173, allocations: 238.5 kB / 1.075 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/1.174, allocations: 95.2 kB / 1.075 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.104e-05/1.174, allocations: 8.656 kB / 1.075 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/1.174, allocations: 6.375 kB / 1.075 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/1.174, allocations: 10.5 kB / 1.075 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/1.174, allocations: 2.25 kB / 1.075 GB, free: 148.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001712/1.174, allocations: 150.7 kB / 1.075 GB, free: 148.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.613e-06/1.174, allocations: 0.7812 kB / 1.075 GB, free: 148.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004897/1.174, allocations: 63.11 kB / 1.075 GB, free: 148.2 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.0006327/1.175, allocations: 0.7662 MB / 1.076 GB, free: 147.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006196/1.176, allocations: 222.1 kB / 1.076 GB, free: 147.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/1.176, allocations: 1.062 kB / 1.076 GB, free: 147.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002453/1.176, allocations: 166.2 kB / 1.077 GB, free: 147.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/1.176, allocations: 41.91 kB / 1.077 GB, free: 147.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002382/1.179, allocations: 2.485 MB / 1.079 GB, free: 145.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/1.179, allocations: 0.7595 MB / 1.08 GB, free: 144.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001479/1.179, allocations: 25.8 kB / 1.08 GB, free: 144.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/1.179, allocations: 56.38 kB / 1.08 GB, free: 144.6 MB / 0.698 GB Notification: Performance of SimCode: time 3.3e-07/1.179, allocations: 0 / 1.08 GB, free: 144.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02157/1.201, allocations: 3.58 MB / 1.083 GB, free: 143.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002736/1.201, allocations: 219.5 kB / 1.084 GB, free: 143.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.93/3.131, allocations: 5 kB / 1.084 GB, free: 143.2 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)