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.95/2.95, allocations: 287.3 MB / 302.3 MB, free: 8.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.00224/0.002239, allocations: 185 kB / 370.8 MB, free: 10.85 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.114/2.114, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001167/0.001167, allocations: 99.64 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000657/0.0006569, allocations: 11.75 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2323, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9918/1.224, allocations: 165 MB / 1.139 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000338/1.224, allocations: 99.72 kB / 1.14 GB, free: 13.41 MB / 0.6823 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.04269/1.267, allocations: 11.77 MB / 1.151 GB, free: 24.37 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.747e-06/1.267, allocations: 0 / 1.151 GB, free: 24.37 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.215e-05/1.267, allocations: 11.5 kB / 1.151 GB, free: 24.36 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.0009664/1.268, allocations: 0.5068 MB / 1.152 GB, free: 23.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/1.268, allocations: 11.67 kB / 1.152 GB, free: 23.89 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.775e-05/1.268, allocations: 64.14 kB / 1.152 GB, free: 23.84 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009113/1.269, allocations: 85.94 kB / 1.152 GB, free: 23.81 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000459/1.27, allocations: 244.8 kB / 1.152 GB, free: 23.55 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/1.27, allocations: 18.73 kB / 1.152 GB, free: 23.54 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.517e-05/1.27, allocations: 23.48 kB / 1.152 GB, free: 23.52 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000684/1.271, allocations: 312.3 kB / 1.152 GB, free: 23.27 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/1.271, allocations: 0 / 1.152 GB, free: 23.27 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.913e-05/1.271, allocations: 7.75 kB / 1.152 GB, free: 23.27 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.281e-05/1.271, allocations: 12.44 kB / 1.152 GB, free: 23.25 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005529/1.271, allocations: 218.6 kB / 1.153 GB, free: 23.1 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002144/1.273, allocations: 1.492 MB / 1.154 GB, free: 21.57 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006175/1.274, allocations: 200.9 kB / 1.154 GB, free: 21.37 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/1.274, allocations: 0 / 1.154 GB, free: 21.37 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/1.274, allocations: 34.5 kB / 1.154 GB, free: 21.33 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.684e-06/1.274, allocations: 0 / 1.154 GB, free: 21.33 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0008125/1.275, allocations: 265.2 kB / 1.154 GB, free: 21.07 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/1.275, allocations: 51.41 kB / 1.154 GB, free: 21.01 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002479/1.275, allocations: 196 kB / 1.155 GB, free: 20.84 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/1.275, allocations: 29.2 kB / 1.155 GB, free: 20.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/1.275, allocations: 177.2 kB / 1.155 GB, free: 20.65 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/1.276, allocations: 31.17 kB / 1.155 GB, free: 20.62 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.337e-05/1.276, allocations: 3.25 kB / 1.155 GB, free: 20.62 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001314/1.276, allocations: 328.8 kB / 1.155 GB, free: 20.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/1.276, allocations: 43.16 kB / 1.155 GB, free: 20.27 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/1.276, allocations: 114.5 kB / 1.155 GB, free: 20.14 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/1.276, allocations: 59.61 kB / 1.155 GB, free: 20.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/1.276, allocations: 0 / 1.155 GB, free: 20.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005585/1.277, allocations: 210.2 kB / 1.156 GB, free: 19.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/1.277, allocations: 16.16 kB / 1.156 GB, free: 19.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/1.277, allocations: 8 kB / 1.156 GB, free: 19.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002043/1.277, allocations: 20.84 kB / 1.156 GB, free: 19.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/1.277, allocations: 31.92 kB / 1.156 GB, free: 19.85 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001299/1.279, allocations: 1.322 MB / 1.157 GB, free: 18.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002529/1.279, allocations: 19.91 kB / 1.157 GB, free: 18.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/1.279, allocations: 7.75 kB / 1.157 GB, free: 18.42 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.0002196/1.279, allocations: 152 kB / 1.157 GB, free: 18.28 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.036e-05/1.279, allocations: 19.77 kB / 1.157 GB, free: 18.26 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.228e-05/1.279, allocations: 24.08 kB / 1.157 GB, free: 18.24 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/1.279, allocations: 0 / 1.157 GB, free: 18.24 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/1.279, allocations: 0 / 1.157 GB, free: 18.24 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/1.279, allocations: 0 / 1.157 GB, free: 18.24 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008556/1.28, allocations: 482.4 kB / 1.158 GB, free: 17.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/1.28, allocations: 4 kB / 1.158 GB, free: 17.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/1.28, allocations: 19.61 kB / 1.158 GB, free: 17.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001275/1.281, allocations: 20.78 kB / 1.158 GB, free: 17.73 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/1.281, allocations: 7.75 kB / 1.158 GB, free: 17.72 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001232/1.282, allocations: 1.309 MB / 1.159 GB, free: 16.33 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.282, allocations: 0 / 1.159 GB, free: 16.33 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000452/1.282, allocations: 236.4 kB / 1.159 GB, free: 16.11 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/1.282, allocations: 100.4 kB / 1.159 GB, free: 15.99 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/1.282, allocations: 3.375 kB / 1.159 GB, free: 15.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/1.283, allocations: 8.078 kB / 1.159 GB, free: 15.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/1.283, allocations: 7.938 kB / 1.159 GB, free: 15.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/1.283, allocations: 15.47 kB / 1.159 GB, free: 15.96 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001757/1.283, allocations: 141.5 kB / 1.159 GB, free: 15.84 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.41e-07/1.283, allocations: 0 / 1.159 GB, free: 15.84 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000459/1.283, allocations: 66.67 kB / 1.16 GB, free: 15.79 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.0007521/1.284, allocations: 0.766 MB / 1.16 GB, free: 15.02 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000614/1.285, allocations: 227 kB / 1.161 GB, free: 14.81 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/1.285, allocations: 0 / 1.161 GB, free: 14.81 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002924/1.285, allocations: 172.9 kB / 1.161 GB, free: 14.64 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004458/1.286, allocations: 34.48 kB / 1.161 GB, free: 14.61 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002677/1.288, allocations: 2.474 MB / 1.163 GB, free: 12.18 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004067/1.289, allocations: 0.7657 MB / 1.164 GB, free: 11.39 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001968/1.289, allocations: 22.02 kB / 1.164 GB, free: 11.38 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/1.289, allocations: 62.03 kB / 1.164 GB, free: 11.35 MB / 0.698 GB Notification: Performance of SimCode: time 1.343e-06/1.289, allocations: 0 / 1.164 GB, free: 11.35 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0238/1.313, allocations: 3.584 MB / 1.167 GB, free: 7.945 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002412/1.313, allocations: 215.9 kB / 1.168 GB, free: 7.695 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.593/3.906, allocations: 2.109 kB / 1.168 GB, free: 7.695 MB / 0.698 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)