Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.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.Resistor,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Loads_Examples_Resistor",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.676/2.676, allocations: 287.3 MB / 302.3 MB, free: 8.355 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.001568/0.001568, allocations: 178.9 kB / 370.8 MB, free: 10.86 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.123/2.123, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001156/0.001156, allocations: 103.7 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004808/0.0004808, allocations: 16.09 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2363, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.01/1.247, allocations: 164 MB / 1.138 GB, free: 14.29 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003233/1.247, allocations: 96.47 kB / 1.139 GB, free: 14.27 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);. Notification: Performance of FrontEnd - DAE generated: time 0.05844/1.306, allocations: 16.19 MB / 1.154 GB, free: 22.18 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.645e-06/1.306, allocations: 0 / 1.154 GB, free: 22.18 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.941e-05/1.306, allocations: 12 kB / 1.154 GB, free: 22.17 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001232/1.307, allocations: 0.5739 MB / 1.155 GB, free: 21.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/1.307, allocations: 20.02 kB / 1.155 GB, free: 21.55 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001397/1.307, allocations: 71.22 kB / 1.155 GB, free: 21.49 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001573/1.309, allocations: 135.5 kB / 1.155 GB, free: 21.36 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006663/1.31, allocations: 291 kB / 1.155 GB, free: 21.05 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/1.31, allocations: 19.59 kB / 1.155 GB, free: 21.04 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.972e-05/1.31, allocations: 34 kB / 1.155 GB, free: 21.02 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009398/1.311, allocations: 451.2 kB / 1.156 GB, free: 20.65 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/1.311, allocations: 0 / 1.156 GB, free: 20.65 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.635e-05/1.311, allocations: 14.94 kB / 1.156 GB, free: 20.64 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.373e-05/1.311, allocations: 28.3 kB / 1.156 GB, free: 20.62 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007448/1.312, allocations: 317.5 kB / 1.156 GB, free: 20.41 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003405/1.315, allocations: 2.188 MB / 1.158 GB, free: 18.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005807/1.316, allocations: 255.1 kB / 1.159 GB, free: 17.97 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/1.316, allocations: 4 kB / 1.159 GB, free: 17.96 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/1.316, allocations: 34.56 kB / 1.159 GB, free: 17.92 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 3.988e-06/1.316, allocations: 0 / 1.159 GB, free: 17.92 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0008685/1.317, allocations: 315.8 kB / 1.159 GB, free: 17.64 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/1.317, allocations: 51.41 kB / 1.159 GB, free: 17.57 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003463/1.317, allocations: 236.7 kB / 1.159 GB, free: 17.38 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.278e-05/1.317, allocations: 29.7 kB / 1.159 GB, free: 17.35 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/1.317, allocations: 209.5 kB / 1.159 GB, free: 17.17 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.108e-05/1.317, allocations: 49.59 kB / 1.16 GB, free: 17.13 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.722e-05/1.317, allocations: 3.375 kB / 1.16 GB, free: 17.13 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001472/1.317, allocations: 329.8 kB / 1.16 GB, free: 16.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/1.318, allocations: 65.11 kB / 1.16 GB, free: 16.76 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000189/1.318, allocations: 144 kB / 1.16 GB, free: 16.61 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001991/1.318, allocations: 78.05 kB / 1.16 GB, free: 16.56 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-06/1.318, allocations: 4.094 kB / 1.16 GB, free: 16.56 MB / 0.698 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006642/1.319, allocations: 273.3 kB / 1.16 GB, free: 16.34 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/1.319, allocations: 8 kB / 1.16 GB, free: 16.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/1.319, allocations: 4.344 kB / 1.16 GB, free: 16.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002266/1.319, allocations: 28.72 kB / 1.16 GB, free: 16.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000379/1.319, allocations: 51.91 kB / 1.16 GB, free: 16.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001411/1.321, allocations: 1.323 MB / 1.162 GB, free: 14.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003548/1.321, allocations: 27.33 kB / 1.162 GB, free: 14.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/1.321, allocations: 11.88 kB / 1.162 GB, free: 14.82 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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): 26 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002757/1.322, allocations: 169.5 kB / 1.162 GB, free: 14.66 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.421e-05/1.322, allocations: 23.72 kB / 1.162 GB, free: 14.64 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.264e-05/1.322, allocations: 32.52 kB / 1.162 GB, free: 14.61 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/1.322, allocations: 0 / 1.162 GB, free: 14.61 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/1.322, allocations: 4 kB / 1.162 GB, free: 14.61 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/1.322, allocations: 0 / 1.162 GB, free: 14.61 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/1.323, allocations: 0.6284 MB / 1.163 GB, free: 14.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/1.323, allocations: 11.98 kB / 1.163 GB, free: 14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/1.323, allocations: 19.98 kB / 1.163 GB, free: 13.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000148/1.323, allocations: 24.34 kB / 1.163 GB, free: 13.96 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/1.323, allocations: 3.984 kB / 1.163 GB, free: 13.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001377/1.325, allocations: 1.334 MB / 1.164 GB, free: 12.54 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.325, allocations: 0 / 1.164 GB, free: 12.54 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00059/1.325, allocations: 350.3 kB / 1.164 GB, free: 12.19 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001757/1.326, allocations: 111 kB / 1.164 GB, free: 12.07 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.703e-05/1.326, allocations: 11.45 kB / 1.164 GB, free: 12.06 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002688/1.326, allocations: 11.98 kB / 1.164 GB, free: 12.05 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-05/1.326, allocations: 19.55 kB / 1.164 GB, free: 12.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/1.326, allocations: 4 kB / 1.164 GB, free: 12.03 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002712/1.326, allocations: 186.5 kB / 1.165 GB, free: 11.89 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.11e-07/1.326, allocations: 0 / 1.165 GB, free: 11.89 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005632/1.327, allocations: 79.06 kB / 1.165 GB, free: 11.82 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (13): * Single equations (assignments): 12 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009819/1.328, allocations: 1.165 MB / 1.166 GB, free: 10.64 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006684/1.329, allocations: 281.7 kB / 1.166 GB, free: 10.39 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/1.329, allocations: 4.188 kB / 1.166 GB, free: 10.39 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002997/1.329, allocations: 180.8 kB / 1.166 GB, free: 10.22 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005795/1.33, allocations: 49.77 kB / 1.166 GB, free: 10.18 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003805/1.333, allocations: 3.172 MB / 1.169 GB, free: 7.113 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005214/1.334, allocations: 0.7974 MB / 1.17 GB, free: 6.301 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003144/1.334, allocations: 46.27 kB / 1.17 GB, free: 6.258 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/1.334, allocations: 84.16 kB / 1.17 GB, free: 6.23 MB / 0.698 GB Notification: Performance of SimCode: time 1.352e-06/1.334, allocations: 0 / 1.17 GB, free: 6.23 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03281/1.367, allocations: 4.851 MB / 1.175 GB, free: 1.551 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002992/1.368, allocations: 196.4 kB / 1.175 GB, free: 1.312 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.523/3.891, allocations: 0 / 1.175 GB, free: 1.312 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_DC_Loads_Examples_Resistor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_DC_Loads_Examples_Resistor.fmu > Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)