Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.694/1.694, allocations: 289.7 MB / 302.2 MB, free: 2.176 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.001142/0.001142, allocations: 183.6 kB / 371.6 MB, free: 3.406 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.85/1.85, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0008974/0.0008974, allocations: 90.22 kB / 0.745 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.797e-05/3.812e-05, allocations: 0 / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2878, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8881/1.176, allocations: 167 MB / 1.143 GB, free: 24.67 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/1.176, allocations: 87.12 kB / 1.143 GB, free: 24.64 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.04395/1.22, allocations: 17.75 MB / 1.16 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.693e-06/1.22, allocations: 0 / 1.16 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.568e-05/1.22, allocations: 8 kB / 1.16 GB, free: 15.4 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001256/1.222, allocations: 0.613 MB / 1.161 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/1.222, allocations: 8.031 kB / 1.161 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001597/1.222, allocations: 84.31 kB / 1.161 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009316/1.223, allocations: 115.7 kB / 1.161 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006227/1.223, allocations: 322.9 kB / 1.162 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.768e-05/1.223, allocations: 57.16 kB / 1.162 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.622e-05/1.224, allocations: 26.88 kB / 1.162 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007481/1.224, allocations: 486.8 kB / 1.162 GB, free: 14 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/1.224, allocations: 0 / 1.162 GB, free: 14 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.177e-05/1.224, allocations: 17.69 kB / 1.162 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.506e-05/1.224, allocations: 26.2 kB / 1.162 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005441/1.225, allocations: 348.2 kB / 1.162 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002262/1.227, allocations: 2.216 MB / 1.165 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000629/1.228, allocations: 257.5 kB / 1.165 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002604/1.228, allocations: 134.7 kB / 1.165 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/1.228, allocations: 4 kB / 1.165 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/1.228, allocations: 34 kB / 1.165 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=19): time 1.924e-06/1.228, allocations: 11.94 kB / 1.165 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19): time 0.0006378/1.229, allocations: 256.1 kB / 1.165 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/1.229, allocations: 62.41 kB / 1.165 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/1.229, allocations: 201.5 kB / 1.166 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/1.229, allocations: 28.83 kB / 1.166 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/1.229, allocations: 217.9 kB / 1.166 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.644e-05/1.229, allocations: 59.73 kB / 1.166 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.191e-05/1.229, allocations: 3.375 kB / 1.166 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.269e-05/1.229, allocations: 334.5 kB / 1.166 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/1.23, allocations: 69.59 kB / 1.166 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/1.23, allocations: 165.2 kB / 1.166 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/1.23, allocations: 97.23 kB / 1.166 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.23, allocations: 1.875 kB / 1.166 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006032/1.23, allocations: 344.5 kB / 1.167 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.000245/1.231, allocations: 0.9602 MB / 1.168 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/1.231, allocations: 0.75 kB / 1.168 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004478/1.231, allocations: 107.3 kB / 1.168 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/1.231, allocations: 59.52 kB / 1.168 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001879/1.233, allocations: 2.029 MB / 1.17 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002751/1.234, allocations: 38.75 kB / 1.17 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/1.234, allocations: 15.2 kB / 1.17 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.315e-06/1.234, allocations: 4 kB / 1.17 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005059/1.234, allocations: 274.5 kB / 1.17 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/1.234, allocations: 5.016 kB / 1.17 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002437/1.234, allocations: 80.66 kB / 1.17 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/1.235, allocations: 51.83 kB / 1.17 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001426/1.236, allocations: 1.481 MB / 1.172 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002329/1.236, allocations: 38.17 kB / 1.172 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/1.236, allocations: 11.31 kB / 1.172 GB, free: 5.074 MB / 0.7448 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 9.254e-05/1.236, allocations: 122.7 kB / 1.172 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.943e-05/1.237, allocations: 15.81 kB / 1.172 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.411e-05/1.237, allocations: 35.25 kB / 1.172 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/1.237, allocations: 0 / 1.172 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.237, allocations: 1.547 kB / 1.172 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/1.237, allocations: 0 / 1.172 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/1.238, allocations: 0.8009 MB / 1.173 GB, free: 4.277 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/1.238, allocations: 1.453 kB / 1.173 GB, free: 4.277 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/1.238, allocations: 32.56 kB / 1.173 GB, free: 4.25 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003183/1.238, allocations: 106.2 kB / 1.173 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/1.238, allocations: 3.438 kB / 1.173 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00207/1.24, allocations: 2.796 MB / 1.176 GB, free: 1.359 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.24, allocations: 1.172 kB / 1.176 GB, free: 1.359 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005248/1.241, allocations: 406 kB / 1.176 GB, free: 1.016 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/1.241, allocations: 113.9 kB / 1.176 GB, free: 0.8984 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/1.241, allocations: 9.422 kB / 1.176 GB, free: 0.8945 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/1.241, allocations: 21.27 kB / 1.176 GB, free: 0.8789 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.453e-05/1.241, allocations: 18.08 kB / 1.176 GB, free: 0.8711 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/1.241, allocations: 4 kB / 1.176 GB, free: 0.8672 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001411/1.242, allocations: 161.9 kB / 1.176 GB, free: 0.7422 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/1.242, allocations: 0 / 1.176 GB, free: 0.7422 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006245/1.242, allocations: 175.7 kB / 1.177 GB, free: 0.582 MB / 0.7448 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.001012/1.243, allocations: 1.084 MB / 1.178 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001602/1.245, allocations: 0.6058 MB / 1.178 GB, free: 15.06 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/1.245, allocations: 0 / 1.178 GB, free: 15.06 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0007281/1.246, allocations: 366.1 kB / 1.179 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/1.246, allocations: 44.19 kB / 1.179 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/1.247, allocations: 493.2 kB / 1.179 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004886/1.248, allocations: 0.8293 MB / 1.18 GB, free: 13.52 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002775/1.248, allocations: 67.3 kB / 1.18 GB, free: 13.47 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/1.248, allocations: 84.64 kB / 1.18 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of SimCode: time 1.192e-06/1.248, allocations: 4 kB / 1.18 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02111/1.269, allocations: 6.657 MB / 1.186 GB, free: 7.199 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001812/1.269, allocations: 193.4 kB / 1.187 GB, free: 6.965 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.998/3.268, allocations: 3.938 kB / 1.187 GB, free: 6.961 MB / 0.7605 GB (rm -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)