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.629/1.629, allocations: 285.6 MB / 293.1 MB, free: 10.18 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.001555/0.001555, allocations: 184.9 kB / 361.4 MB, free: 6.859 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.838/1.838, allocations: 205.3 MB / 0.62 GB, free: 11.64 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.0009494/0.0009493, allocations: 103.3 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.19e-05/2.193e-05, allocations: 4 kB / 0.8518 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7287/0.7288, allocations: 115.3 MB / 0.9644 GB, free: 78.76 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2464/0.9753, allocations: 165.1 MB / 1.126 GB, free: 6.57 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.9756, allocations: 90.31 kB / 1.126 GB, free: 6.484 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.04802/1.024, allocations: 19.28 MB / 1.145 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.753e-06/1.024, allocations: 0 / 1.145 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.204e-05/1.024, allocations: 12 kB / 1.145 GB, free: 3.105 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.001258/1.025, allocations: 0.592 MB / 1.145 GB, free: 2.469 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/1.025, allocations: 12.03 kB / 1.145 GB, free: 2.457 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000933/1.026, allocations: 100.5 kB / 1.145 GB, free: 2.359 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004785/1.026, allocations: 291.4 kB / 1.146 GB, free: 2.035 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/1.026, allocations: 12 kB / 1.146 GB, free: 2.023 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.374e-05/1.027, allocations: 16 kB / 1.146 GB, free: 2.008 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005146/1.027, allocations: 281.5 kB / 1.146 GB, free: 1.734 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006425/1.028, allocations: 402 kB / 1.146 GB, free: 1.316 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/1.028, allocations: 5.875 kB / 1.146 GB, free: 1.312 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.509e-05/1.028, allocations: 0 / 1.146 GB, free: 1.312 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.718e-05/1.028, allocations: 40.69 kB / 1.146 GB, free: 1.27 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002396/1.03, allocations: 1.986 MB / 1.148 GB, free: 15.1 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004592/1.031, allocations: 170.8 kB / 1.148 GB, free: 14.92 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002764/1.031, allocations: 137.5 kB / 1.149 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.919e-05/1.031, allocations: 7.984 kB / 1.149 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/1.031, allocations: 34.56 kB / 1.149 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=18): time 2.174e-06/1.031, allocations: 4 kB / 1.149 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of matching and sorting (n=18): time 0.0004559/1.032, allocations: 179.5 kB / 1.149 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/1.032, allocations: 55.41 kB / 1.149 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/1.032, allocations: 196.5 kB / 1.149 GB, free: 14.28 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/1.032, allocations: 25.7 kB / 1.149 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/1.032, allocations: 219.9 kB / 1.149 GB, free: 14.03 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.976e-05/1.032, allocations: 63.05 kB / 1.149 GB, free: 13.97 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.16e-05/1.032, allocations: 0 / 1.149 GB, free: 13.97 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001241/1.032, allocations: 334.8 kB / 1.15 GB, free: 13.63 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/1.032, allocations: 60.55 kB / 1.15 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/1.032, allocations: 175.4 kB / 1.15 GB, free: 13.35 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/1.033, allocations: 85.64 kB / 1.15 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/1.033, allocations: 5.781 kB / 1.15 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004644/1.033, allocations: 265.9 kB / 1.15 GB, free: 13 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005658/1.034, allocations: 1.397 MB / 1.152 GB, free: 11.49 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/1.034, allocations: 4 kB / 1.152 GB, free: 11.49 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001786/1.034, allocations: 36.78 kB / 1.152 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002893/1.034, allocations: 67.89 kB / 1.152 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003868/1.035, allocations: 0.5504 MB / 1.152 GB, free: 10.81 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002834/1.035, allocations: 43.81 kB / 1.152 GB, free: 10.77 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.832e-05/1.035, allocations: 16 kB / 1.152 GB, free: 10.75 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/1.035, allocations: 4 kB / 1.152 GB, free: 10.75 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003205/1.035, allocations: 187.8 kB / 1.152 GB, free: 10.56 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/1.035, allocations: 5.438 kB / 1.152 GB, free: 10.56 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.883e-06/1.035, allocations: 4 kB / 1.152 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002831/1.036, allocations: 75.89 kB / 1.153 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/1.036, allocations: 11.94 kB / 1.153 GB, free: 10.47 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/1.036, allocations: 40 kB / 1.153 GB, free: 10.43 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/1.036, allocations: 16 kB / 1.153 GB, free: 10.41 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.0001181/1.036, allocations: 112.9 kB / 1.153 GB, free: 10.3 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000321/1.036, allocations: 176.5 kB / 1.153 GB, free: 10.12 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.257e-05/1.036, allocations: 33.25 kB / 1.153 GB, free: 10.09 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.394e-05/1.037, allocations: 33.89 kB / 1.153 GB, free: 10.05 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/1.037, allocations: 4 kB / 1.153 GB, free: 10.05 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/1.037, allocations: 0 / 1.153 GB, free: 10.05 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/1.037, allocations: 0 / 1.153 GB, free: 10.05 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009256/1.037, allocations: 0.6343 MB / 1.154 GB, free: 9.348 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/1.037, allocations: 0 / 1.154 GB, free: 9.348 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002145/1.038, allocations: 48.03 kB / 1.154 GB, free: 9.301 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001042/1.038, allocations: 32.77 kB / 1.154 GB, free: 9.266 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/1.038, allocations: 0 / 1.154 GB, free: 9.266 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009645/1.039, allocations: 1.262 MB / 1.155 GB, free: 7.895 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/1.039, allocations: 0 / 1.155 GB, free: 7.895 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003827/1.039, allocations: 331 kB / 1.155 GB, free: 7.535 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/1.039, allocations: 120.7 kB / 1.155 GB, free: 7.398 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.876e-05/1.039, allocations: 0 / 1.155 GB, free: 7.398 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/1.04, allocations: 19.98 kB / 1.155 GB, free: 7.379 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.756e-05/1.04, allocations: 15.98 kB / 1.155 GB, free: 7.363 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/1.04, allocations: 9.578 kB / 1.155 GB, free: 7.355 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001306/1.04, allocations: 152.5 kB / 1.155 GB, free: 7.211 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.4e-07/1.04, allocations: 0 / 1.155 GB, free: 7.211 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000619/1.04, allocations: 127.5 kB / 1.156 GB, free: 7.086 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.0007658/1.041, allocations: 1.005 MB / 1.157 GB, free: 6.035 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0005832/1.042, allocations: 282.2 kB / 1.157 GB, free: 5.758 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.042, allocations: 0 / 1.157 GB, free: 5.758 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002577/1.042, allocations: 183.5 kB / 1.157 GB, free: 5.57 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/1.043, allocations: 67.23 kB / 1.157 GB, free: 5.504 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009703/1.044, allocations: 437.4 kB / 1.157 GB, free: 5.031 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/1.044, allocations: 0.8081 MB / 1.158 GB, free: 4.195 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002881/1.044, allocations: 75.3 kB / 1.158 GB, free: 4.129 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/1.044, allocations: 87.41 kB / 1.158 GB, free: 4.043 MB / 0.7605 GB Notification: Performance of SimCode: time 3.61e-07/1.044, allocations: 0 / 1.158 GB, free: 4.043 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02654/1.071, allocations: 5.051 MB / 1.163 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002026/1.071, allocations: 158.7 kB / 1.164 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.786/2.857, allocations: 0 / 1.164 GB, free: 14.92 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)