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.592/2.592, allocations: 284.8 MB / 297.3 MB, free: 6.32 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.001362/0.001362, allocations: 168.9 kB / 365.7 MB, free: 2.57 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 1.848/1.848, allocations: 205.1 MB / 0.6241 GB, free: 8.191 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 97.53 kB / 0.7372 GB, free: 40.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.529e-05/3.546e-05, allocations: 4 kB / 0.8574 GB, free: 13.72 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7977/0.7978, allocations: 115.2 MB / 0.97 GB, free: 78.03 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2792/1.077, allocations: 165 MB / 1.131 GB, free: 3.453 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003484/1.077, allocations: 88.73 kB / 1.131 GB, free: 3.367 MB / 0.7292 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.04606/1.124, allocations: 11.69 MB / 1.143 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.703e-06/1.124, allocations: 0 / 1.143 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.157e-05/1.124, allocations: 8 kB / 1.143 GB, free: 7.625 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.0008938/1.125, allocations: 494.9 kB / 1.143 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/1.125, allocations: 12.03 kB / 1.143 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009278/1.126, allocations: 86.03 kB / 1.143 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004798/1.126, allocations: 260.9 kB / 1.143 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.191e-05/1.126, allocations: 20.42 kB / 1.143 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.712e-05/1.126, allocations: 16 kB / 1.143 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006979/1.127, allocations: 292.3 kB / 1.144 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/1.127, allocations: 4 kB / 1.144 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.761e-05/1.127, allocations: 12 kB / 1.144 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.144e-05/1.127, allocations: 16.42 kB / 1.144 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005279/1.128, allocations: 193.6 kB / 1.144 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002231/1.13, allocations: 1.492 MB / 1.145 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006415/1.13, allocations: 199.6 kB / 1.146 GB, free: 4.27 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/1.131, allocations: 32.86 kB / 1.146 GB, free: 4.234 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/1.131, allocations: 0 / 1.146 GB, free: 4.234 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/1.131, allocations: 42.31 kB / 1.146 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.623e-06/1.131, allocations: 3.938 kB / 1.146 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0004249/1.131, allocations: 126.4 kB / 1.146 GB, free: 4.051 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/1.131, allocations: 51.41 kB / 1.146 GB, free: 3.988 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002645/1.131, allocations: 187.6 kB / 1.146 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/1.131, allocations: 33.7 kB / 1.146 GB, free: 3.758 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/1.132, allocations: 167.7 kB / 1.146 GB, free: 3.59 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/1.132, allocations: 31.55 kB / 1.146 GB, free: 3.559 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.265e-05/1.132, allocations: 4 kB / 1.146 GB, free: 3.555 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001145/1.132, allocations: 322.8 kB / 1.147 GB, free: 3.23 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/1.132, allocations: 39.98 kB / 1.147 GB, free: 3.191 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/1.132, allocations: 103.3 kB / 1.147 GB, free: 3.062 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/1.132, allocations: 58.25 kB / 1.147 GB, free: 3.008 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/1.132, allocations: 4 kB / 1.147 GB, free: 3.004 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004956/1.133, allocations: 194.1 kB / 1.147 GB, free: 2.805 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/1.133, allocations: 8.234 kB / 1.147 GB, free: 2.797 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/1.133, allocations: 9.328 kB / 1.147 GB, free: 2.789 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002177/1.133, allocations: 20.84 kB / 1.147 GB, free: 2.766 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002627/1.133, allocations: 35.92 kB / 1.147 GB, free: 2.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001374/1.135, allocations: 1.311 MB / 1.148 GB, free: 1.281 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002778/1.135, allocations: 23.83 kB / 1.148 GB, free: 1.258 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/1.135, allocations: 8 kB / 1.148 GB, free: 1.25 MB / 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 0.0001202/1.135, allocations: 108.9 kB / 1.148 GB, free: 1.137 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.044e-05/1.135, allocations: 26.48 kB / 1.148 GB, free: 1.113 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.981e-05/1.135, allocations: 21.53 kB / 1.148 GB, free: 1.09 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/1.135, allocations: 0 / 1.148 GB, free: 1.09 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/1.135, allocations: 3.984 kB / 1.148 GB, free: 1.086 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/1.135, allocations: 0 / 1.148 GB, free: 1.086 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008808/1.136, allocations: 471.1 kB / 1.149 GB, free: 0.5664 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/1.136, allocations: 4 kB / 1.149 GB, free: 0.5625 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/1.136, allocations: 8 kB / 1.149 GB, free: 0.5547 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001431/1.137, allocations: 28.84 kB / 1.149 GB, free: 0.5234 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/1.137, allocations: 0 / 1.149 GB, free: 0.5234 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001293/1.138, allocations: 1.314 MB / 1.15 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.138, allocations: 0 / 1.15 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004358/1.138, allocations: 214.8 kB / 1.15 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/1.139, allocations: 96.91 kB / 1.151 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.234e-05/1.139, allocations: 7.938 kB / 1.151 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002163/1.139, allocations: 16.08 kB / 1.151 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.578e-05/1.139, allocations: 11.92 kB / 1.151 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/1.139, allocations: 0 / 1.151 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001966/1.139, allocations: 141.6 kB / 1.151 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.11e-07/1.139, allocations: 0 / 1.151 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000464/1.14, allocations: 59.8 kB / 1.151 GB, free: 14.51 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.00015/1.14, allocations: 103.2 kB / 1.151 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0005381/1.14, allocations: 222.4 kB / 1.151 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/1.14, allocations: 0 / 1.151 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002627/1.141, allocations: 150.6 kB / 1.151 GB, free: 14.01 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/1.141, allocations: 40 kB / 1.151 GB, free: 13.97 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006497/1.142, allocations: 227.3 kB / 1.151 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000441/1.142, allocations: 0.7597 MB / 1.152 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001833/1.142, allocations: 29.3 kB / 1.152 GB, free: 12.92 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.271e-05/1.142, allocations: 19.38 kB / 1.152 GB, free: 12.9 MB / 0.7605 GB Notification: Performance of SimCode: time 1.283e-06/1.142, allocations: 0 / 1.152 GB, free: 12.9 MB / 0.7605 GB Notification: Performance of Templates: time 0.007041/1.15, allocations: 1.743 MB / 1.154 GB, free: 11.23 MB / 0.7605 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)