Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.348/1.348, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.0009864/0.0009865, allocations: 177.3 kB / 361.1 MB, free: 7.055 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.032/1.032, allocations: 205.1 MB / 0.6195 GB, free: 11.89 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008089/0.0008089, allocations: 82.23 kB / 0.7325 GB, free: 44.46 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.961e-06/6.051e-06, allocations: 0 / 0.8511 GB, free: 3.203 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4033/0.4033, allocations: 115.3 MB / 0.9637 GB, free: 77.61 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1506/0.5539, allocations: 165 MB / 1.125 GB, free: 6.965 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/0.5541, allocations: 88.84 kB / 1.125 GB, free: 6.879 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1-maint.8.0.x/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.1-maint.8.0.x/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: time 0.04306/0.5972, allocations: 18.92 MB / 1.143 GB, free: 3.863 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.78e-05/0.5972, allocations: 12 kB / 1.143 GB, free: 3.852 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.0008579/0.5981, allocations: 0.5956 MB / 1.144 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/0.5981, allocations: 11.97 kB / 1.144 GB, free: 3.199 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007417/0.5989, allocations: 103.4 kB / 1.144 GB, free: 3.098 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003542/0.5993, allocations: 291.4 kB / 1.144 GB, free: 2.773 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.5993, allocations: 15.91 kB / 1.144 GB, free: 2.758 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.383e-05/0.5993, allocations: 20 kB / 1.144 GB, free: 2.738 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004769/0.5998, allocations: 291.5 kB / 1.145 GB, free: 2.457 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005321/0.6004, allocations: 408.8 kB / 1.145 GB, free: 2.027 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.6004, allocations: 0 / 1.145 GB, free: 2.027 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.046e-05/0.6004, allocations: 4 kB / 1.145 GB, free: 2.023 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.929e-05/0.6005, allocations: 40.62 kB / 1.145 GB, free: 1.984 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001986/0.6024, allocations: 1.992 MB / 1.147 GB, free: 15.81 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004311/0.6029, allocations: 182.8 kB / 1.147 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00026/0.6032, allocations: 141.5 kB / 1.147 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.6032, allocations: 4 kB / 1.147 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.6032, allocations: 34.56 kB / 1.147 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=18): time 1.373e-06/0.6032, allocations: 0 / 1.147 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of matching and sorting (n=18): time 0.0003991/0.6036, allocations: 183.8 kB / 1.148 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.6037, allocations: 55.41 kB / 1.148 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.6039, allocations: 208.1 kB / 1.148 GB, free: 14.97 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.6039, allocations: 25.7 kB / 1.148 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 9.71e-05/0.604, allocations: 195.6 kB / 1.148 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.191e-05/0.604, allocations: 63.05 kB / 1.148 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.052e-05/0.604, allocations: 0 / 1.148 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.6042, allocations: 338.7 kB / 1.148 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.6043, allocations: 56.55 kB / 1.148 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.6045, allocations: 175.4 kB / 1.149 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.6046, allocations: 87.92 kB / 1.149 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.6046, allocations: 8 kB / 1.149 GB, free: 13.97 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004419/0.6051, allocations: 264.3 kB / 1.149 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004356/0.6055, allocations: 1.403 MB / 1.15 GB, free: 12.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.6055, allocations: 4 kB / 1.15 GB, free: 12.19 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001539/0.6057, allocations: 28.84 kB / 1.15 GB, free: 12.16 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002982/0.606, allocations: 75.89 kB / 1.15 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003718/0.6064, allocations: 0.5562 MB / 1.151 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002774/0.6067, allocations: 39.83 kB / 1.151 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.6067, allocations: 16 kB / 1.151 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 7.023e-06/0.6067, allocations: 4 kB / 1.151 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003014/0.607, allocations: 194.3 kB / 1.151 GB, free: 11.26 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-06/0.607, allocations: 1.312 kB / 1.151 GB, free: 11.26 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.783e-06/0.607, allocations: 11.98 kB / 1.151 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002931/0.6073, allocations: 84.09 kB / 1.151 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.6073, allocations: 10.02 kB / 1.151 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.6076, allocations: 35.73 kB / 1.151 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.6076, allocations: 12 kB / 1.151 GB, free: 11.11 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 8.974e-05/0.6077, allocations: 116.9 kB / 1.152 GB, free: 10.99 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.011e-05/0.6077, allocations: 25.59 kB / 1.152 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.484e-05/0.6078, allocations: 29.83 kB / 1.152 GB, free: 10.94 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.6078, allocations: 4 kB / 1.152 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.6078, allocations: 0 / 1.152 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.6078, allocations: 0 / 1.152 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007712/0.6086, allocations: 0.645 MB / 1.152 GB, free: 10.22 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.6086, allocations: 0 / 1.152 GB, free: 10.22 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/0.6088, allocations: 45.44 kB / 1.152 GB, free: 10.18 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.29e-05/0.6089, allocations: 32.83 kB / 1.152 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.609, allocations: 4 kB / 1.152 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008478/0.6098, allocations: 1.257 MB / 1.154 GB, free: 8.77 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.6098, allocations: 0 / 1.154 GB, free: 8.77 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003539/0.6102, allocations: 337.4 kB / 1.154 GB, free: 8.406 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 8.987e-05/0.6103, allocations: 108.8 kB / 1.154 GB, free: 8.281 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.024e-05/0.6103, allocations: 0 / 1.154 GB, free: 8.281 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/0.6105, allocations: 27.97 kB / 1.154 GB, free: 8.254 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.6106, allocations: 11.98 kB / 1.154 GB, free: 8.242 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.6106, allocations: 5.938 kB / 1.154 GB, free: 8.238 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0001131/0.6107, allocations: 152.5 kB / 1.154 GB, free: 8.094 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005199/0.6113, allocations: 143.4 kB / 1.154 GB, free: 7.953 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.0001209/0.6114, allocations: 107 kB / 1.154 GB, free: 7.836 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004862/0.6119, allocations: 290.1 kB / 1.155 GB, free: 7.555 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6119, allocations: 1.594 kB / 1.155 GB, free: 7.555 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002196/0.6121, allocations: 181.8 kB / 1.155 GB, free: 7.371 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.6125, allocations: 52.94 kB / 1.155 GB, free: 7.316 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006652/0.6131, allocations: 387 kB / 1.155 GB, free: 6.906 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003911/0.6135, allocations: 0.8349 MB / 1.156 GB, free: 6.047 MB / 0.7605 GB Notification: Performance of SimCode: time 2.41e-07/0.6136, allocations: 1.031 kB / 1.156 GB, free: 6.047 MB / 0.7605 GB Notification: Performance of Templates: time 0.006824/0.6204, allocations: 3.756 MB / 1.16 GB, free: 2.371 MB / 0.7605 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)