Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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.LinearizedLoad,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",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.666/1.666, allocations: 285.4 MB / 298 MB, free: 6.035 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.001493/0.001493, allocations: 176.8 kB / 366.4 MB, free: 2.129 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.707/1.707, allocations: 205.1 MB / 0.6248 GB, free: 7.762 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.001026/0.001026, allocations: 93.38 kB / 0.738 GB, free: 40.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.693e-05/5.744e-05, allocations: 4 kB / 0.8584 GB, free: 13.03 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7727/0.7728, allocations: 115.3 MB / 0.971 GB, free: 77.96 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2352/1.008, allocations: 166.1 MB / 1.133 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/1.008, allocations: 97.19 kB / 1.133 GB, free: 1.621 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);. [/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);. Notification: Performance of FrontEnd - DAE generated: time 0.04854/1.057, allocations: 17.75 MB / 1.151 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.887e-06/1.057, allocations: 0 / 1.151 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.407e-05/1.057, allocations: 11.94 kB / 1.151 GB, free: 15.77 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001468/1.058, allocations: 0.6115 MB / 1.151 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/1.059, allocations: 12.02 kB / 1.151 GB, free: 15.1 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002042/1.059, allocations: 70.53 kB / 1.151 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/1.06, allocations: 116.1 kB / 1.151 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007316/1.061, allocations: 332.3 kB / 1.152 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.293e-05/1.061, allocations: 62.45 kB / 1.152 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.559e-05/1.061, allocations: 35.94 kB / 1.152 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009133/1.062, allocations: 479.8 kB / 1.152 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/1.062, allocations: 0 / 1.152 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.936e-05/1.062, allocations: 16 kB / 1.152 GB, free: 13.94 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-05/1.062, allocations: 28.77 kB / 1.152 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006665/1.062, allocations: 342.9 kB / 1.153 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002855/1.065, allocations: 2.216 MB / 1.155 GB, free: 11.13 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006959/1.066, allocations: 255.7 kB / 1.155 GB, free: 10.87 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003058/1.066, allocations: 136.8 kB / 1.155 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.551e-05/1.066, allocations: 8 kB / 1.155 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/1.066, allocations: 34.55 kB / 1.155 GB, free: 10.68 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=19): time 3.226e-06/1.067, allocations: 0 / 1.155 GB, free: 10.68 MB / 0.7605 GB Notification: Performance of matching and sorting (n=19): time 0.0007097/1.067, allocations: 260.8 kB / 1.155 GB, free: 10.42 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/1.067, allocations: 55.41 kB / 1.155 GB, free: 10.35 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/1.068, allocations: 204.8 kB / 1.156 GB, free: 10.15 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/1.068, allocations: 35.58 kB / 1.156 GB, free: 10.11 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/1.068, allocations: 211.6 kB / 1.156 GB, free: 9.898 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.911e-05/1.068, allocations: 63.11 kB / 1.156 GB, free: 9.836 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.405e-05/1.068, allocations: 4 kB / 1.156 GB, free: 9.832 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001319/1.068, allocations: 330.8 kB / 1.156 GB, free: 9.5 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/1.068, allocations: 71.98 kB / 1.156 GB, free: 9.43 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002037/1.068, allocations: 172.1 kB / 1.157 GB, free: 9.223 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/1.069, allocations: 101.5 kB / 1.157 GB, free: 9.125 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/1.069, allocations: 0 / 1.157 GB, free: 9.125 MB / 0.7605 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007083/1.069, allocations: 342.6 kB / 1.157 GB, free: 8.777 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004449/1.07, allocations: 0.9692 MB / 1.158 GB, free: 7.734 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/1.07, allocations: 8 kB / 1.158 GB, free: 7.727 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004981/1.07, allocations: 104.9 kB / 1.158 GB, free: 7.621 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002607/1.07, allocations: 51.91 kB / 1.158 GB, free: 7.57 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002469/1.073, allocations: 2.026 MB / 1.16 GB, free: 5.387 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003161/1.073, allocations: 35.73 kB / 1.16 GB, free: 5.352 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/1.073, allocations: 11.95 kB / 1.16 GB, free: 5.34 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/1.073, allocations: 4 kB / 1.16 GB, free: 5.336 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006018/1.074, allocations: 278.9 kB / 1.16 GB, free: 5.062 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/1.074, allocations: 0 / 1.16 GB, free: 5.062 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002811/1.074, allocations: 77.11 kB / 1.16 GB, free: 4.984 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/1.075, allocations: 55.91 kB / 1.16 GB, free: 4.93 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001862/1.076, allocations: 1.484 MB / 1.162 GB, free: 3.312 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002845/1.077, allocations: 35.73 kB / 1.162 GB, free: 3.277 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.019e-05/1.077, allocations: 17.5 kB / 1.162 GB, free: 3.266 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001569/1.077, allocations: 120.9 kB / 1.162 GB, free: 3.141 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.352e-05/1.077, allocations: 19.81 kB / 1.162 GB, free: 3.121 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.612e-05/1.077, allocations: 30.02 kB / 1.162 GB, free: 3.094 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/1.077, allocations: 4 kB / 1.162 GB, free: 3.09 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.077, allocations: 0 / 1.162 GB, free: 3.09 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/1.077, allocations: 0 / 1.162 GB, free: 3.09 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/1.079, allocations: 0.8022 MB / 1.163 GB, free: 2.207 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/1.079, allocations: 0 / 1.163 GB, free: 2.207 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/1.079, allocations: 31.98 kB / 1.163 GB, free: 2.176 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003784/1.079, allocations: 105.6 kB / 1.163 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/1.079, allocations: 8 kB / 1.163 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0028/1.082, allocations: 2.786 MB / 1.166 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/1.082, allocations: 7.812 kB / 1.166 GB, free: 15 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006715/1.083, allocations: 407.1 kB / 1.166 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/1.083, allocations: 116.8 kB / 1.166 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.411e-05/1.083, allocations: 0 / 1.166 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/1.083, allocations: 19.94 kB / 1.166 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.311e-05/1.083, allocations: 27.81 kB / 1.166 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/1.083, allocations: 4 kB / 1.166 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001647/1.083, allocations: 165.3 kB / 1.167 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.6e-07/1.083, allocations: 4 kB / 1.167 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000843/1.084, allocations: 167.4 kB / 1.167 GB, free: 14.05 MB / 0.7761 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 (17): * Single equations (assignments): 15 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001084/1.085, allocations: 1.069 MB / 1.168 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00182/1.087, allocations: 0.6081 MB / 1.168 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 7.605e-06/1.087, allocations: 8.062 kB / 1.168 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0007373/1.088, allocations: 349.1 kB / 1.169 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004181/1.088, allocations: 51 kB / 1.169 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/1.09, allocations: 498.8 kB / 1.169 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004719/1.09, allocations: 0.823 MB / 1.17 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003351/1.091, allocations: 66 kB / 1.17 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/1.091, allocations: 91.34 kB / 1.17 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of SimCode: time 1.232e-06/1.091, allocations: 0 / 1.17 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02395/1.115, allocations: 6.664 MB / 1.177 GB, free: 3.992 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002131/1.115, allocations: 194.1 kB / 1.177 GB, free: 3.766 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.952/3.067, allocations: 2.531 kB / 1.177 GB, free: 3.766 MB / 0.7761 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)