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: "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.VariableLoad,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_VariableLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.VariableLoad,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_VariableLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.649/1.649, allocations: 285.4 MB / 298 MB, free: 5.949 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.00114/0.00114, allocations: 180.8 kB / 366.4 MB, free: 2.086 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.66/1.66, allocations: 205.1 MB / 0.6248 GB, free: 7.727 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.0009724/0.0009725, allocations: 97.95 kB / 0.738 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.09e-05/4.139e-05, allocations: 4 kB / 0.8584 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7898/0.7899, allocations: 115.3 MB / 0.971 GB, free: 77.98 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.254/1.044, allocations: 165.8 MB / 1.133 GB, free: 1.961 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003796/1.044, allocations: 91.94 kB / 1.133 GB, free: 1.871 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 - DAE generated: time 0.05009/1.095, allocations: 19.35 MB / 1.152 GB, free: 14.44 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.533e-06/1.095, allocations: 0 / 1.152 GB, free: 14.44 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.969e-05/1.095, allocations: 12 kB / 1.152 GB, free: 14.43 MB / 0.7605 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.001368/1.096, allocations: 0.5999 MB / 1.152 GB, free: 13.78 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/1.096, allocations: 8.031 kB / 1.152 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001836/1.096, allocations: 67.56 kB / 1.153 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009229/1.097, allocations: 95.45 kB / 1.153 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005644/1.098, allocations: 302.5 kB / 1.153 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.421e-05/1.098, allocations: 28.7 kB / 1.153 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.276e-05/1.098, allocations: 24 kB / 1.153 GB, free: 13.22 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009055/1.099, allocations: 447.5 kB / 1.153 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/1.099, allocations: 4 kB / 1.153 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.632e-05/1.099, allocations: 15.98 kB / 1.153 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.586e-05/1.099, allocations: 28.77 kB / 1.153 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005855/1.1, allocations: 318.9 kB / 1.154 GB, free: 12.4 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002678/1.102, allocations: 2.053 MB / 1.156 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005008/1.103, allocations: 189.1 kB / 1.156 GB, free: 9.953 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002882/1.103, allocations: 144.7 kB / 1.156 GB, free: 9.809 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.44e-05/1.103, allocations: 7.984 kB / 1.156 GB, free: 9.801 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/1.103, allocations: 36.09 kB / 1.156 GB, free: 9.758 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=18): time 3.026e-06/1.103, allocations: 0 / 1.156 GB, free: 9.758 MB / 0.7605 GB Notification: Performance of matching and sorting (n=18): time 0.0004716/1.104, allocations: 194.4 kB / 1.156 GB, free: 9.559 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/1.104, allocations: 55.41 kB / 1.156 GB, free: 9.492 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002479/1.104, allocations: 231.1 kB / 1.157 GB, free: 9.258 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/1.104, allocations: 33.7 kB / 1.157 GB, free: 9.219 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/1.104, allocations: 207.7 kB / 1.157 GB, free: 9.012 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.884e-05/1.104, allocations: 59.11 kB / 1.157 GB, free: 8.953 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.297e-05/1.104, allocations: 8 kB / 1.157 GB, free: 8.945 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.00014/1.104, allocations: 334.8 kB / 1.157 GB, free: 8.609 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/1.104, allocations: 68.48 kB / 1.157 GB, free: 8.543 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/1.105, allocations: 179.6 kB / 1.157 GB, free: 8.316 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/1.105, allocations: 101.9 kB / 1.158 GB, free: 8.219 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/1.105, allocations: 0 / 1.158 GB, free: 8.219 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004969/1.105, allocations: 302.2 kB / 1.158 GB, free: 7.914 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006063/1.106, allocations: 1.401 MB / 1.159 GB, free: 6.406 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/1.106, allocations: 4 kB / 1.159 GB, free: 6.402 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000196/1.106, allocations: 30.81 kB / 1.159 GB, free: 6.371 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000281/1.106, allocations: 75.89 kB / 1.159 GB, free: 6.297 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004333/1.107, allocations: 0.5512 MB / 1.16 GB, free: 5.723 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002718/1.107, allocations: 43.67 kB / 1.16 GB, free: 5.68 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/1.107, allocations: 24.08 kB / 1.16 GB, free: 5.656 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 6.542e-06/1.107, allocations: 0 / 1.16 GB, free: 5.656 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003608/1.108, allocations: 223.5 kB / 1.16 GB, free: 5.438 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/1.108, allocations: 4.469 kB / 1.16 GB, free: 5.434 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.092e-06/1.108, allocations: 4 kB / 1.16 GB, free: 5.43 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002688/1.108, allocations: 83.89 kB / 1.16 GB, free: 5.348 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/1.108, allocations: 4 kB / 1.16 GB, free: 5.344 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002208/1.108, allocations: 47.66 kB / 1.16 GB, free: 5.297 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.112e-05/1.108, allocations: 16 kB / 1.16 GB, free: 5.281 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.0001136/1.108, allocations: 129.1 kB / 1.16 GB, free: 5.148 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.055e-05/1.108, allocations: 30.66 kB / 1.16 GB, free: 5.121 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.779e-05/1.108, allocations: 33.95 kB / 1.16 GB, free: 5.082 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/1.109, allocations: 0 / 1.16 GB, free: 5.082 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/1.109, allocations: 0 / 1.16 GB, free: 5.082 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/1.109, allocations: 0 / 1.16 GB, free: 5.082 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/1.11, allocations: 0.7048 MB / 1.161 GB, free: 4.301 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/1.11, allocations: 0 / 1.161 GB, free: 4.301 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/1.11, allocations: 45.12 kB / 1.161 GB, free: 4.258 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001002/1.11, allocations: 36.89 kB / 1.161 GB, free: 4.219 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/1.11, allocations: 4 kB / 1.161 GB, free: 4.215 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001092/1.111, allocations: 1.319 MB / 1.162 GB, free: 2.766 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/1.111, allocations: 0 / 1.162 GB, free: 2.766 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004133/1.111, allocations: 342.1 kB / 1.163 GB, free: 2.395 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/1.112, allocations: 124.7 kB / 1.163 GB, free: 2.254 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/1.112, allocations: 4 kB / 1.163 GB, free: 2.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/1.112, allocations: 19.98 kB / 1.163 GB, free: 2.23 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.852e-05/1.112, allocations: 19.16 kB / 1.163 GB, free: 2.215 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/1.112, allocations: 8 kB / 1.163 GB, free: 2.207 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001702/1.112, allocations: 179.1 kB / 1.163 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.5e-07/1.112, allocations: 0 / 1.163 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005636/1.113, allocations: 145 kB / 1.163 GB, free: 1.895 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.0007956/1.113, allocations: 1.017 MB / 1.164 GB, free: 0.8359 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0006041/1.114, allocations: 316 kB / 1.165 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.114, allocations: 0 / 1.165 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002823/1.114, allocations: 190.6 kB / 1.165 GB, free: 336 kB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004075/1.115, allocations: 63.53 kB / 1.165 GB, free: 272 kB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009707/1.116, allocations: 473.1 kB / 1.165 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004361/1.116, allocations: 0.812 MB / 1.166 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002799/1.116, allocations: 80.66 kB / 1.166 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/1.117, allocations: 87.39 kB / 1.166 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of SimCode: time 7.12e-07/1.117, allocations: 0 / 1.166 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01972/1.136, allocations: 5.85 MB / 1.172 GB, free: 9.203 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002602/1.137, allocations: 192.2 kB / 1.172 GB, free: 8.98 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.069/3.206, allocations: 4.062 kB / 1.172 GB, free: 8.977 MB / 0.7761 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_VariableLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_VariableLoad.fmu > Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)