Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.832/2.832, allocations: 287.5 MB / 302.4 MB, free: 8.316 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.001495/0.001495, allocations: 192.1 kB / 371 MB, free: 10.76 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.2/2.2, allocations: 205.4 MB / 0.6297 GB, free: 10.48 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.001149/0.001149, allocations: 84.89 kB / 0.743 GB, free: 6.492 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000671/0.000671, allocations: 14.89 kB / 0.8658 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2235, allocations: 115.3 MB / 0.9784 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9617/1.185, allocations: 165.7 MB / 1.14 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003726/1.186, allocations: 93 kB / 1.14 GB, free: 13.49 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.07022/1.256, allocations: 19.49 MB / 1.159 GB, free: 17.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.264e-06/1.256, allocations: 0 / 1.159 GB, free: 17.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.769e-05/1.256, allocations: 8 kB / 1.159 GB, free: 17.89 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001457/1.257, allocations: 0.6199 MB / 1.16 GB, free: 17.24 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/1.258, allocations: 12.02 kB / 1.16 GB, free: 17.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001163/1.259, allocations: 99.5 kB / 1.16 GB, free: 17.13 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005591/1.259, allocations: 298.3 kB / 1.16 GB, free: 16.82 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.285e-05/1.259, allocations: 28.83 kB / 1.16 GB, free: 16.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.066e-05/1.259, allocations: 26.44 kB / 1.16 GB, free: 16.79 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/1.261, allocations: 485.3 kB / 1.161 GB, free: 16.39 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/1.261, allocations: 0 / 1.161 GB, free: 16.39 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.721e-05/1.261, allocations: 22.91 kB / 1.161 GB, free: 16.38 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-05/1.261, allocations: 28.64 kB / 1.161 GB, free: 16.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/1.262, allocations: 384.6 kB / 1.161 GB, free: 16.08 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0034/1.265, allocations: 2.058 MB / 1.163 GB, free: 14.02 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009806/1.266, allocations: 228.5 kB / 1.163 GB, free: 13.84 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.007e-05/1.267, allocations: 4 kB / 1.163 GB, free: 13.83 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/1.267, allocations: 41.19 kB / 1.164 GB, free: 13.79 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 3.467e-06/1.267, allocations: 0 / 1.164 GB, free: 13.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.001917/1.269, allocations: 465.4 kB / 1.164 GB, free: 13.37 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/1.269, allocations: 54.47 kB / 1.164 GB, free: 13.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004021/1.269, allocations: 226.7 kB / 1.164 GB, free: 13.12 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.01e-05/1.269, allocations: 29.7 kB / 1.164 GB, free: 13.08 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000186/1.269, allocations: 211.6 kB / 1.164 GB, free: 12.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.013e-05/1.269, allocations: 65.42 kB / 1.165 GB, free: 12.85 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.604e-05/1.269, allocations: 3.5 kB / 1.165 GB, free: 12.85 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001784/1.27, allocations: 337.4 kB / 1.165 GB, free: 12.52 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004677/1.27, allocations: 110 kB / 1.165 GB, free: 12.43 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005639/1.271, allocations: 213 kB / 1.165 GB, free: 12.21 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006441/1.271, allocations: 135.8 kB / 1.165 GB, free: 12.11 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/1.271, allocations: 0 / 1.165 GB, free: 12.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001433/1.273, allocations: 378.4 kB / 1.166 GB, free: 11.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000704/1.274, allocations: 1.31 MB / 1.167 GB, free: 10.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/1.274, allocations: 4 kB / 1.167 GB, free: 10.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002855/1.274, allocations: 28.78 kB / 1.167 GB, free: 10.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005978/1.275, allocations: 78.7 kB / 1.167 GB, free: 10.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006034/1.275, allocations: 0.5586 MB / 1.168 GB, free: 9.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004866/1.276, allocations: 43.42 kB / 1.168 GB, free: 9.691 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.145e-05/1.276, allocations: 12.09 kB / 1.168 GB, free: 9.68 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/1.276, allocations: 5.719 kB / 1.168 GB, free: 9.676 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001127/1.277, allocations: 307.7 kB / 1.168 GB, free: 9.441 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/1.277, allocations: 4 kB / 1.168 GB, free: 9.438 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/1.277, allocations: 8.312 kB / 1.168 GB, free: 9.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006118/1.278, allocations: 82.89 kB / 1.168 GB, free: 9.352 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.497e-05/1.278, allocations: 7.938 kB / 1.168 GB, free: 9.344 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004272/1.278, allocations: 46.42 kB / 1.168 GB, free: 9.305 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/1.278, allocations: 11.94 kB / 1.168 GB, free: 9.293 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (32): * Single equations (assignments): 31 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003798/1.278, allocations: 249.1 kB / 1.168 GB, free: 9.062 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.415e-05/1.279, allocations: 27.67 kB / 1.168 GB, free: 9.035 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.663e-05/1.279, allocations: 35.11 kB / 1.168 GB, free: 9.016 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/1.279, allocations: 0 / 1.168 GB, free: 9.016 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/1.279, allocations: 4 kB / 1.168 GB, free: 9.012 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/1.279, allocations: 3.984 kB / 1.168 GB, free: 9.008 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006325/1.279, allocations: 349.9 kB / 1.169 GB, free: 8.676 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/1.279, allocations: 4 kB / 1.169 GB, free: 8.672 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004071/1.28, allocations: 47.95 kB / 1.169 GB, free: 8.625 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001942/1.28, allocations: 28.61 kB / 1.169 GB, free: 8.598 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/1.28, allocations: 6.75 kB / 1.169 GB, free: 8.594 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001603/1.282, allocations: 1.319 MB / 1.17 GB, free: 7.191 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.282, allocations: 4.031 kB / 1.17 GB, free: 7.188 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/1.283, allocations: 383.6 kB / 1.17 GB, free: 6.844 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001965/1.283, allocations: 115.9 kB / 1.171 GB, free: 6.719 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.139e-05/1.283, allocations: 7.125 kB / 1.171 GB, free: 6.715 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003253/1.283, allocations: 22.28 kB / 1.171 GB, free: 6.695 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.046e-05/1.284, allocations: 11.3 kB / 1.171 GB, free: 6.688 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-05/1.284, allocations: 4 kB / 1.171 GB, free: 6.684 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002967/1.284, allocations: 182.8 kB / 1.171 GB, free: 6.535 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.31e-07/1.284, allocations: 4 kB / 1.171 GB, free: 6.531 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008288/1.285, allocations: 141.3 kB / 1.171 GB, free: 6.402 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 (17): * Single equations (assignments): 16 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001844/1.285, allocations: 106.4 kB / 1.171 GB, free: 6.293 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00178/1.287, allocations: 423.7 kB / 1.171 GB, free: 5.957 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/1.287, allocations: 0 / 1.171 GB, free: 5.957 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006682/1.287, allocations: 232.6 kB / 1.172 GB, free: 5.742 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006636/1.288, allocations: 66.78 kB / 1.172 GB, free: 5.688 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/1.29, allocations: 0.6564 MB / 1.172 GB, free: 5.051 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005893/1.29, allocations: 0.8046 MB / 1.173 GB, free: 4.23 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004744/1.291, allocations: 70.22 kB / 1.173 GB, free: 4.164 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/1.291, allocations: 22.31 kB / 1.173 GB, free: 4.145 MB / 0.698 GB Notification: Performance of SimCode: time 1.583e-06/1.291, allocations: 0 / 1.173 GB, free: 4.145 MB / 0.698 GB Notification: Performance of Templates: time 0.01091/1.302, allocations: 2.959 MB / 1.176 GB, free: 1.227 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)