Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.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.Resistor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_Resistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.Resistor,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.732/1.732, allocations: 285.6 MB / 293.1 MB, free: 10.25 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.001146/0.001146, allocations: 176.9 kB / 361.4 MB, free: 6.828 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.754/1.754, allocations: 205.2 MB / 0.62 GB, free: 11.67 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.0009346/0.0009344, allocations: 93.44 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.182e-05/2.185e-05, allocations: 4 kB / 0.8518 GB, free: 2.668 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7234/0.7235, allocations: 115.3 MB / 0.9644 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2457/0.9693, allocations: 163.5 MB / 1.124 GB, free: 8.254 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/0.9696, allocations: 83.95 kB / 1.124 GB, free: 8.172 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.0406/1.01, allocations: 16.01 MB / 1.14 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.553e-06/1.01, allocations: 0 / 1.14 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.558e-05/1.01, allocations: 8 kB / 1.14 GB, free: 8.102 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001055/1.011, allocations: 0.5588 MB / 1.14 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/1.011, allocations: 12.03 kB / 1.14 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/1.013, allocations: 136.4 kB / 1.14 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005289/1.013, allocations: 290.9 kB / 1.141 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/1.013, allocations: 12 kB / 1.141 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.373e-05/1.013, allocations: 19.94 kB / 1.141 GB, free: 7 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004731/1.014, allocations: 269.5 kB / 1.141 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000576/1.014, allocations: 409.7 kB / 1.141 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/1.014, allocations: 0 / 1.141 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.345e-05/1.014, allocations: 4 kB / 1.141 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.874e-05/1.014, allocations: 20.55 kB / 1.141 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002144/1.017, allocations: 2.118 MB / 1.144 GB, free: 3.965 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003903/1.017, allocations: 239.8 kB / 1.144 GB, free: 3.703 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002326/1.017, allocations: 108.8 kB / 1.144 GB, free: 3.594 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/1.017, allocations: 3.938 kB / 1.144 GB, free: 3.59 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/1.017, allocations: 39.75 kB / 1.144 GB, free: 3.547 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 1.793e-06/1.017, allocations: 0 / 1.144 GB, free: 3.547 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0003645/1.018, allocations: 154.5 kB / 1.144 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/1.018, allocations: 55.41 kB / 1.144 GB, free: 3.32 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/1.018, allocations: 183.2 kB / 1.144 GB, free: 3.133 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/1.018, allocations: 25.7 kB / 1.144 GB, free: 3.102 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000108/1.018, allocations: 215.3 kB / 1.145 GB, free: 2.887 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.522e-05/1.018, allocations: 47.28 kB / 1.145 GB, free: 2.84 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.375e-06/1.018, allocations: 0 / 1.145 GB, free: 2.84 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001023/1.018, allocations: 326.8 kB / 1.145 GB, free: 2.512 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.924e-05/1.018, allocations: 52.45 kB / 1.145 GB, free: 2.461 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/1.018, allocations: 135.8 kB / 1.145 GB, free: 2.289 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/1.018, allocations: 69.66 kB / 1.145 GB, free: 2.223 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/1.018, allocations: 4 kB / 1.145 GB, free: 2.219 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003658/1.019, allocations: 237.9 kB / 1.145 GB, free: 1.977 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/1.019, allocations: 8 kB / 1.145 GB, free: 1.969 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/1.019, allocations: 0 / 1.145 GB, free: 1.969 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001665/1.019, allocations: 28.84 kB / 1.145 GB, free: 1.938 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/1.019, allocations: 44.3 kB / 1.145 GB, free: 1.895 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009162/1.02, allocations: 1.264 MB / 1.147 GB, free: 0.5156 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/1.02, allocations: 24.33 kB / 1.147 GB, free: 0.4922 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/1.02, allocations: 12 kB / 1.147 GB, free: 492 kB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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): 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 9.242e-05/1.021, allocations: 116.9 kB / 1.147 GB, free: 368 kB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002927/1.021, allocations: 143.3 kB / 1.147 GB, free: 216 kB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.947e-05/1.021, allocations: 15.81 kB / 1.147 GB, free: 200 kB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.763e-05/1.021, allocations: 25.95 kB / 1.147 GB, free: 176 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/1.021, allocations: 5 kB / 1.147 GB, free: 172 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/1.021, allocations: 3.938 kB / 1.147 GB, free: 168 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/1.021, allocations: 7.953 kB / 1.147 GB, free: 160 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008499/1.022, allocations: 0.6367 MB / 1.148 GB, free: 15.44 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/1.022, allocations: 11.73 kB / 1.148 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.075e-05/1.022, allocations: 23.98 kB / 1.148 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.418e-05/1.022, allocations: 20.84 kB / 1.148 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/1.022, allocations: 6.25 kB / 1.148 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008555/1.023, allocations: 1.256 MB / 1.149 GB, free: 14.01 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/1.023, allocations: 3.938 kB / 1.149 GB, free: 14.01 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000367/1.023, allocations: 376.2 kB / 1.149 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/1.023, allocations: 116.8 kB / 1.149 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.959e-05/1.023, allocations: 0 / 1.149 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/1.024, allocations: 11.98 kB / 1.149 GB, free: 13.42 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.965e-05/1.024, allocations: 15.92 kB / 1.149 GB, free: 13.41 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/1.024, allocations: 8 kB / 1.149 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001346/1.024, allocations: 153.6 kB / 1.15 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.7e-07/1.024, allocations: 0 / 1.15 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004564/1.024, allocations: 71.69 kB / 1.15 GB, free: 13.18 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * 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.0008397/1.025, allocations: 1.32 MB / 1.151 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004434/1.026, allocations: 249.5 kB / 1.151 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/1.026, allocations: 0 / 1.151 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001982/1.026, allocations: 170.8 kB / 1.151 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/1.026, allocations: 48.52 kB / 1.151 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009954/1.027, allocations: 444.8 kB / 1.152 GB, free: 10.83 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/1.028, allocations: 0.7986 MB / 1.153 GB, free: 9.996 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001654/1.028, allocations: 34.06 kB / 1.153 GB, free: 9.961 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/1.028, allocations: 87.34 kB / 1.153 GB, free: 9.875 MB / 0.7605 GB Notification: Performance of SimCode: time 3.61e-07/1.028, allocations: 0 / 1.153 GB, free: 9.875 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02484/1.053, allocations: 4.022 MB / 1.157 GB, free: 5.961 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002172/1.053, allocations: 149.6 kB / 1.157 GB, free: 5.766 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.779/2.832, allocations: 0 / 1.157 GB, free: 5.766 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_Resistor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_Resistor.fmu > Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)