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.386/2.386, allocations: 285 MB / 292.5 MB, free: 10.55 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.001429/0.001429, allocations: 180.9 kB / 360.7 MB, free: 7.273 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.937/1.937, allocations: 205.3 MB / 0.6192 GB, free: 12.16 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.001037/0.001036, allocations: 90.09 kB / 0.7322 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.005e-05/2e-05, allocations: 4 kB / 0.8509 GB, free: 3.383 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7731/0.7731, allocations: 115.3 MB / 0.9634 GB, free: 78.61 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2742/1.047, allocations: 164.9 MB / 1.125 GB, free: 7.484 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003361/1.048, allocations: 91.98 kB / 1.125 GB, free: 7.398 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.07766/1.125, allocations: 19.28 MB / 1.143 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.014e-06/1.126, allocations: 0 / 1.143 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.865e-05/1.126, allocations: 8 kB / 1.143 GB, free: 4.012 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001426/1.127, allocations: 0.5882 MB / 1.144 GB, free: 3.379 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/1.127, allocations: 8.031 kB / 1.144 GB, free: 3.371 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/1.128, allocations: 103.4 kB / 1.144 GB, free: 3.27 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006304/1.129, allocations: 294.4 kB / 1.144 GB, free: 2.941 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/1.129, allocations: 8 kB / 1.144 GB, free: 2.934 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.738e-05/1.129, allocations: 16 kB / 1.144 GB, free: 2.918 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008012/1.13, allocations: 281.5 kB / 1.145 GB, free: 2.645 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009258/1.131, allocations: 406 kB / 1.145 GB, free: 2.219 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/1.131, allocations: 3.938 kB / 1.145 GB, free: 2.215 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.795e-05/1.131, allocations: 0 / 1.145 GB, free: 2.215 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.511e-05/1.131, allocations: 32.77 kB / 1.145 GB, free: 2.18 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00346/1.134, allocations: 1.986 MB / 1.147 GB, free: 8 kB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006899/1.135, allocations: 174.8 kB / 1.147 GB, free: 15.83 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004232/1.136, allocations: 132.8 kB / 1.147 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.46e-05/1.136, allocations: 3.984 kB / 1.147 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/1.136, allocations: 39.94 kB / 1.147 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=18): time 2.966e-06/1.136, allocations: 3.938 kB / 1.147 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of matching and sorting (n=18): time 0.0006514/1.136, allocations: 182.4 kB / 1.148 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/1.136, allocations: 51.41 kB / 1.148 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002845/1.137, allocations: 193.7 kB / 1.148 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/1.137, allocations: 25.7 kB / 1.148 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/1.137, allocations: 215.9 kB / 1.148 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.853e-05/1.137, allocations: 67.03 kB / 1.148 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.628e-05/1.137, allocations: 0 / 1.148 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001549/1.137, allocations: 330.8 kB / 1.148 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002063/1.137, allocations: 68.53 kB / 1.148 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002727/1.138, allocations: 171.4 kB / 1.149 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002412/1.138, allocations: 94.11 kB / 1.149 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/1.138, allocations: 0 / 1.149 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007817/1.139, allocations: 262.4 kB / 1.149 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006381/1.139, allocations: 1.398 MB / 1.15 GB, free: 12.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/1.139, allocations: 7.938 kB / 1.15 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002518/1.14, allocations: 33.67 kB / 1.15 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005556/1.14, allocations: 75.89 kB / 1.15 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005325/1.141, allocations: 0.5484 MB / 1.151 GB, free: 11.71 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004607/1.141, allocations: 35.67 kB / 1.151 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-05/1.141, allocations: 22.17 kB / 1.151 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/1.141, allocations: 6.281 kB / 1.151 GB, free: 11.65 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000511/1.142, allocations: 183.7 kB / 1.151 GB, free: 11.47 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/1.142, allocations: 4 kB / 1.151 GB, free: 11.47 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/1.142, allocations: 4 kB / 1.151 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005363/1.143, allocations: 87.17 kB / 1.151 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/1.143, allocations: 9.812 kB / 1.151 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003703/1.143, allocations: 31.73 kB / 1.151 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.272e-05/1.143, allocations: 16 kB / 1.151 GB, free: 11.33 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.0001574/1.143, allocations: 128.6 kB / 1.152 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.797e-05/1.143, allocations: 19.81 kB / 1.152 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.464e-05/1.143, allocations: 21.97 kB / 1.152 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/1.143, allocations: 7.938 kB / 1.152 GB, free: 11.14 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/1.143, allocations: 0 / 1.152 GB, free: 11.14 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/1.143, allocations: 3.984 kB / 1.152 GB, free: 11.14 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001353/1.145, allocations: 0.6333 MB / 1.152 GB, free: 10.44 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/1.145, allocations: 7.938 kB / 1.152 GB, free: 10.43 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003789/1.145, allocations: 43.97 kB / 1.152 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001894/1.145, allocations: 20.84 kB / 1.152 GB, free: 10.37 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/1.145, allocations: 8.062 kB / 1.152 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001309/1.147, allocations: 1.254 MB / 1.153 GB, free: 8.996 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.147, allocations: 4.156 kB / 1.153 GB, free: 8.992 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006078/1.147, allocations: 325.2 kB / 1.154 GB, free: 8.641 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001859/1.148, allocations: 120.7 kB / 1.154 GB, free: 8.504 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.838e-05/1.148, allocations: 7.938 kB / 1.154 GB, free: 8.496 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000338/1.148, allocations: 23.94 kB / 1.154 GB, free: 8.473 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.091e-05/1.148, allocations: 11.97 kB / 1.154 GB, free: 8.461 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.46e-05/1.148, allocations: 8 kB / 1.154 GB, free: 8.453 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001963/1.148, allocations: 148.5 kB / 1.154 GB, free: 8.312 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5.91e-07/1.148, allocations: 0 / 1.154 GB, free: 8.312 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0008484/1.149, allocations: 139.4 kB / 1.154 GB, free: 8.176 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.000196/1.149, allocations: 99.25 kB / 1.154 GB, free: 8.066 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.000863/1.15, allocations: 278.1 kB / 1.155 GB, free: 7.793 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/1.15, allocations: 0 / 1.155 GB, free: 7.793 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003732/1.151, allocations: 185.8 kB / 1.155 GB, free: 7.602 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006077/1.151, allocations: 59.55 kB / 1.155 GB, free: 7.543 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/1.152, allocations: 374.5 kB / 1.155 GB, free: 7.148 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005172/1.153, allocations: 0.8003 MB / 1.156 GB, free: 6.324 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0005215/1.153, allocations: 78.61 kB / 1.156 GB, free: 6.254 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.573e-05/1.154, allocations: 27.42 kB / 1.156 GB, free: 6.227 MB / 0.7605 GB Notification: Performance of SimCode: time 1.172e-06/1.154, allocations: 0 / 1.156 GB, free: 6.227 MB / 0.7605 GB Notification: Performance of Templates: time 0.01039/1.164, allocations: 2.985 MB / 1.159 GB, free: 3.32 MB / 0.7605 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)