Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.689/2.689, allocations: 287.3 MB / 302.3 MB, free: 8.27 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.001609/0.001609, allocations: 166.9 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.217/2.217, allocations: 205.4 MB / 0.6295 GB, free: 10.65 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001849/0.001849, allocations: 89.3 kB / 0.7428 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000478/0.0004777, allocations: 12.33 kB / 0.8657 GB, free: 140 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2237, allocations: 115.3 MB / 0.9783 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.029/1.252, allocations: 166 MB / 1.14 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000318/1.253, allocations: 96.03 kB / 1.14 GB, free: 13.58 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0/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.0/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.0/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.06812/1.321, allocations: 17.86 MB / 1.158 GB, free: 19 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.404e-06/1.321, allocations: 0 / 1.158 GB, free: 19 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.005e-05/1.321, allocations: 12 kB / 1.158 GB, free: 18.99 MB / 0.698 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.001653/1.323, allocations: 0.6408 MB / 1.159 GB, free: 18.32 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/1.323, allocations: 12.02 kB / 1.159 GB, free: 18.31 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001497/1.323, allocations: 76.78 kB / 1.159 GB, free: 18.25 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001266/1.324, allocations: 115.4 kB / 1.159 GB, free: 18.14 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008524/1.325, allocations: 331 kB / 1.159 GB, free: 17.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/1.325, allocations: 53.11 kB / 1.159 GB, free: 17.75 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.29e-05/1.325, allocations: 34.94 kB / 1.159 GB, free: 17.73 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/1.327, allocations: 0.4954 MB / 1.16 GB, free: 17.34 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/1.327, allocations: 4 kB / 1.16 GB, free: 17.33 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.04e-05/1.327, allocations: 15.38 kB / 1.16 GB, free: 17.33 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.644e-05/1.327, allocations: 24.98 kB / 1.16 GB, free: 17.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/1.328, allocations: 395.5 kB / 1.16 GB, free: 17.03 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004133/1.332, allocations: 2.21 MB / 1.162 GB, free: 14.84 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001706/1.334, allocations: 282.1 kB / 1.162 GB, free: 14.62 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.014e-05/1.334, allocations: 4 kB / 1.162 GB, free: 14.62 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.777e-05/1.334, allocations: 38.12 kB / 1.163 GB, free: 14.58 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 4.148e-06/1.334, allocations: 0 / 1.163 GB, free: 14.58 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.003184/1.337, allocations: 0.5868 MB / 1.163 GB, free: 14.03 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/1.337, allocations: 59.36 kB / 1.163 GB, free: 13.96 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004239/1.338, allocations: 206.8 kB / 1.163 GB, free: 13.78 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.556e-05/1.338, allocations: 33.27 kB / 1.163 GB, free: 13.75 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/1.338, allocations: 209.7 kB / 1.164 GB, free: 13.56 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.2e-05/1.338, allocations: 62.72 kB / 1.164 GB, free: 13.51 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/1.338, allocations: 3.812 kB / 1.164 GB, free: 13.51 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000187/1.338, allocations: 329.7 kB / 1.164 GB, free: 13.18 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004904/1.339, allocations: 106 kB / 1.164 GB, free: 13.11 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004973/1.339, allocations: 184.5 kB / 1.164 GB, free: 12.92 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000439/1.34, allocations: 118.7 kB / 1.164 GB, free: 12.84 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/1.34, allocations: 0 / 1.164 GB, free: 12.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001563/1.342, allocations: 395.7 kB / 1.165 GB, free: 12.52 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005274/1.342, allocations: 0.8833 MB / 1.166 GB, free: 11.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.033e-05/1.342, allocations: 4 kB / 1.166 GB, free: 11.58 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/1.343, allocations: 113 kB / 1.166 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007151/1.344, allocations: 51.91 kB / 1.166 GB, free: 11.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005097/1.349, allocations: 2.064 MB / 1.168 GB, free: 9.328 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007428/1.35, allocations: 35.58 kB / 1.168 GB, free: 9.297 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.708e-05/1.35, allocations: 8 kB / 1.168 GB, free: 9.289 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/1.35, allocations: 4 kB / 1.168 GB, free: 9.285 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001827/1.352, allocations: 325.2 kB / 1.168 GB, free: 9.043 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/1.352, allocations: 4.031 kB / 1.168 GB, free: 9.039 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006809/1.353, allocations: 75.78 kB / 1.168 GB, free: 8.969 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005139/1.353, allocations: 63.16 kB / 1.168 GB, free: 8.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004601/1.358, allocations: 1.513 MB / 1.17 GB, free: 7.363 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000645/1.359, allocations: 43.45 kB / 1.17 GB, free: 7.324 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.284e-05/1.359, allocations: 11.31 kB / 1.17 GB, free: 7.316 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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.0004017/1.359, allocations: 248.7 kB / 1.17 GB, free: 7.086 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/1.359, allocations: 19.72 kB / 1.17 GB, free: 7.066 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/1.359, allocations: 32.06 kB / 1.17 GB, free: 7.047 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/1.359, allocations: 3.938 kB / 1.17 GB, free: 7.043 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.359, allocations: 0 / 1.17 GB, free: 7.043 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/1.359, allocations: 7.984 kB / 1.17 GB, free: 7.035 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000997/1.36, allocations: 379.4 kB / 1.17 GB, free: 6.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/1.36, allocations: 0 / 1.17 GB, free: 6.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004578/1.361, allocations: 31.36 kB / 1.17 GB, free: 6.652 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001008/1.362, allocations: 101.9 kB / 1.171 GB, free: 6.559 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.824e-05/1.362, allocations: 7 kB / 1.171 GB, free: 6.555 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006234/1.368, allocations: 2.824 MB / 1.173 GB, free: 3.625 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.368, allocations: 4.031 kB / 1.173 GB, free: 3.621 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001941/1.37, allocations: 416.5 kB / 1.174 GB, free: 3.258 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002275/1.37, allocations: 115 kB / 1.174 GB, free: 3.133 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.724e-05/1.371, allocations: 2.938 kB / 1.174 GB, free: 3.133 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003668/1.371, allocations: 15.2 kB / 1.174 GB, free: 3.121 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/1.371, allocations: 17.97 kB / 1.174 GB, free: 3.105 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.092e-05/1.371, allocations: 11.94 kB / 1.174 GB, free: 3.094 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003434/1.371, allocations: 162.8 kB / 1.174 GB, free: 2.957 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.11e-07/1.372, allocations: 4 kB / 1.174 GB, free: 2.953 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001419/1.373, allocations: 168.9 kB / 1.174 GB, free: 2.797 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * 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.002491/1.375, allocations: 0.951 MB / 1.175 GB, free: 1.883 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004416/1.38, allocations: 0.6637 MB / 1.176 GB, free: 1.289 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.591e-05/1.38, allocations: 4 kB / 1.176 GB, free: 1.285 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002186/1.382, allocations: 366.8 kB / 1.176 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008204/1.383, allocations: 51.34 kB / 1.176 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008005/1.391, allocations: 3.035 MB / 1.179 GB, free: 14 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007985/1.392, allocations: 0.8171 MB / 1.18 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000656/1.393, allocations: 66.2 kB / 1.18 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002813/1.393, allocations: 86.59 kB / 1.18 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of SimCode: time 1.553e-06/1.393, allocations: 0 / 1.18 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03915/1.432, allocations: 6.362 MB / 1.186 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002481/1.433, allocations: 217.1 kB / 1.187 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.759/4.192, allocations: 0 / 1.187 GB, free: 6.664 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)