Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.826/2.826, allocations: 287.5 MB / 302.4 MB, free: 8.254 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001511/0.001511, allocations: 168.4 kB / 371 MB, free: 10.79 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.065/2.065, allocations: 205.4 MB / 0.6297 GB, free: 10.5 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00115/0.001149, allocations: 101 kB / 0.743 GB, free: 6.504 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004712/0.0004712, allocations: 11.19 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.215, allocations: 115.3 MB / 0.9784 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9928/1.208, allocations: 165 MB / 1.14 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003379/1.208, allocations: 98.47 kB / 1.14 GB, free: 13.69 MB / 0.6823 GB [/var/lib/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);. [/var/lib/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);. [/var/lib/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.04023/1.249, allocations: 11.78 MB / 1.151 GB, free: 24.63 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.264e-06/1.249, allocations: 0 / 1.151 GB, free: 24.63 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.97e-05/1.249, allocations: 3.969 kB / 1.151 GB, free: 24.63 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.000967/1.25, allocations: 0.5131 MB / 1.152 GB, free: 24.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/1.25, allocations: 15.58 kB / 1.152 GB, free: 24.16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009126/1.251, allocations: 79.98 kB / 1.152 GB, free: 24.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004021/1.251, allocations: 248.7 kB / 1.152 GB, free: 23.83 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/1.251, allocations: 11.94 kB / 1.152 GB, free: 23.82 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.072e-05/1.251, allocations: 26.86 kB / 1.152 GB, free: 23.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006659/1.252, allocations: 304 kB / 1.152 GB, free: 23.56 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/1.252, allocations: 0 / 1.152 GB, free: 23.56 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.987e-05/1.252, allocations: 10.31 kB / 1.152 GB, free: 23.55 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.096e-05/1.252, allocations: 16.42 kB / 1.152 GB, free: 23.54 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005415/1.252, allocations: 218.1 kB / 1.153 GB, free: 23.39 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002039/1.254, allocations: 1.494 MB / 1.154 GB, free: 21.85 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005972/1.255, allocations: 199.6 kB / 1.154 GB, free: 21.66 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/1.255, allocations: 7.984 kB / 1.154 GB, free: 21.65 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/1.255, allocations: 30.56 kB / 1.154 GB, free: 21.61 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 2.826e-06/1.255, allocations: 0 / 1.154 GB, free: 21.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0007891/1.256, allocations: 261.6 kB / 1.154 GB, free: 21.36 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/1.256, allocations: 55.41 kB / 1.155 GB, free: 21.29 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/1.256, allocations: 190.7 kB / 1.155 GB, free: 21.12 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/1.256, allocations: 29.58 kB / 1.155 GB, free: 21.09 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/1.256, allocations: 171.5 kB / 1.155 GB, free: 20.94 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/1.257, allocations: 26.31 kB / 1.155 GB, free: 20.91 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.324e-05/1.257, allocations: 2.25 kB / 1.155 GB, free: 20.91 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000132/1.257, allocations: 333.4 kB / 1.155 GB, free: 20.59 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/1.257, allocations: 45.86 kB / 1.155 GB, free: 20.55 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/1.257, allocations: 114.7 kB / 1.155 GB, free: 20.43 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/1.257, allocations: 61.92 kB / 1.155 GB, free: 20.39 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/1.257, allocations: 0 / 1.155 GB, free: 20.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005601/1.258, allocations: 213 kB / 1.156 GB, free: 20.21 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/1.258, allocations: 7.953 kB / 1.156 GB, free: 20.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/1.258, allocations: 4 kB / 1.156 GB, free: 20.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002013/1.258, allocations: 20.84 kB / 1.156 GB, free: 20.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/1.258, allocations: 35.42 kB / 1.156 GB, free: 20.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/1.26, allocations: 1.324 MB / 1.157 GB, free: 18.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000241/1.26, allocations: 23.03 kB / 1.157 GB, free: 18.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/1.26, allocations: 4 kB / 1.157 GB, free: 18.71 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.0002153/1.26, allocations: 154.4 kB / 1.157 GB, free: 18.57 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.98e-05/1.26, allocations: 19.77 kB / 1.157 GB, free: 18.55 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.923e-05/1.26, allocations: 19.97 kB / 1.157 GB, free: 18.53 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/1.26, allocations: 3.984 kB / 1.157 GB, free: 18.53 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/1.26, allocations: 0 / 1.157 GB, free: 18.53 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/1.26, allocations: 0 / 1.157 GB, free: 18.53 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008086/1.261, allocations: 483.8 kB / 1.158 GB, free: 18.06 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/1.261, allocations: 3.984 kB / 1.158 GB, free: 18.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/1.261, allocations: 12 kB / 1.158 GB, free: 18.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001568/1.261, allocations: 24.66 kB / 1.158 GB, free: 18.02 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/1.261, allocations: 11.44 kB / 1.158 GB, free: 18.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001138/1.263, allocations: 1.313 MB / 1.159 GB, free: 16.62 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/1.263, allocations: 0 / 1.159 GB, free: 16.62 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004254/1.263, allocations: 240.3 kB / 1.159 GB, free: 16.39 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/1.263, allocations: 100.4 kB / 1.159 GB, free: 16.27 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.08e-05/1.263, allocations: 0 / 1.159 GB, free: 16.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/1.263, allocations: 11.75 kB / 1.159 GB, free: 16.27 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.322e-05/1.263, allocations: 7.984 kB / 1.159 GB, free: 16.26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/1.263, allocations: 4 kB / 1.159 GB, free: 16.25 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00017/1.264, allocations: 142.4 kB / 1.16 GB, free: 16.14 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.8e-07/1.264, allocations: 0 / 1.16 GB, free: 16.14 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004609/1.264, allocations: 59.34 kB / 1.16 GB, free: 16.08 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.0001351/1.264, allocations: 99.2 kB / 1.16 GB, free: 15.98 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005743/1.265, allocations: 247.1 kB / 1.16 GB, free: 15.75 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/1.265, allocations: 0 / 1.16 GB, free: 15.75 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002871/1.265, allocations: 163.7 kB / 1.16 GB, free: 15.59 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000395/1.266, allocations: 34.67 kB / 1.16 GB, free: 15.57 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008197/1.266, allocations: 469.2 kB / 1.161 GB, free: 15.11 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004101/1.267, allocations: 0.7626 MB / 1.161 GB, free: 14.32 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001689/1.267, allocations: 25.53 kB / 1.161 GB, free: 14.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.76e-05/1.267, allocations: 15.44 kB / 1.161 GB, free: 14.29 MB / 0.698 GB Notification: Performance of SimCode: time 1.022e-06/1.267, allocations: 0 / 1.161 GB, free: 14.29 MB / 0.698 GB Notification: Performance of Templates: time 0.006336/1.273, allocations: 1.744 MB / 1.163 GB, free: 12.57 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile (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 & ./Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)