Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.402/1.402, allocations: 251.9 MB / 266.9 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001242/0.001242, allocations: 166.6 kB / 326.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.132/2.132, allocations: 205.4 MB / 0.5775 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009707/0.0009704, allocations: 86.06 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003444/0.0003444, allocations: 9 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.2272, allocations: 106.3 MB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5635/0.7907, allocations: 159.8 MB / 1.056 GB, free: 153.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/0.7911, allocations: 94.17 kB / 1.056 GB, free: 153.2 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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.04313/0.8342, allocations: 17.87 MB / 1.074 GB, free: 150.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8342, allocations: 0 / 1.074 GB, free: 150.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.903e-05/0.8343, allocations: 11.69 kB / 1.074 GB, free: 150.9 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.001046/0.8353, allocations: 0.6389 MB / 1.074 GB, free: 150.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.8354, allocations: 9.031 kB / 1.074 GB, free: 150.4 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.387e-05/0.8355, allocations: 72.84 kB / 1.074 GB, free: 150.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008022/0.8363, allocations: 119.9 kB / 1.075 GB, free: 150.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005455/0.8368, allocations: 325.7 kB / 1.075 GB, free: 150 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.168e-05/0.8369, allocations: 57.66 kB / 1.075 GB, free: 150 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.521e-05/0.837, allocations: 34.28 kB / 1.075 GB, free: 150 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007614/0.8377, allocations: 0.4945 MB / 1.075 GB, free: 149.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.8378, allocations: 3.938 kB / 1.075 GB, free: 149.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.809e-05/0.8378, allocations: 11.69 kB / 1.076 GB, free: 149.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-05/0.8379, allocations: 29.55 kB / 1.076 GB, free: 149.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006714/0.8385, allocations: 390.9 kB / 1.076 GB, free: 149.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002272/0.8408, allocations: 2.222 MB / 1.078 GB, free: 147.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008053/0.8416, allocations: 274 kB / 1.078 GB, free: 147.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.8417, allocations: 7.5 kB / 1.078 GB, free: 147.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.8417, allocations: 33.84 kB / 1.078 GB, free: 147.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 1.333e-06/0.8417, allocations: 0 / 1.078 GB, free: 147.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.001404/0.8431, allocations: 0.5915 MB / 1.079 GB, free: 147.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.145e-05/0.8432, allocations: 57.45 kB / 1.079 GB, free: 147.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.8434, allocations: 203.9 kB / 1.079 GB, free: 147.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.8434, allocations: 31.92 kB / 1.079 GB, free: 147.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.8435, allocations: 209.1 kB / 1.079 GB, free: 147.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.649e-05/0.8436, allocations: 68.02 kB / 1.08 GB, free: 147 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.329e-05/0.8436, allocations: 13.16 kB / 1.08 GB, free: 147 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.14e-05/0.8437, allocations: 335.7 kB / 1.08 GB, free: 146.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/0.8439, allocations: 92.47 kB / 1.08 GB, free: 146.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002408/0.8441, allocations: 181.4 kB / 1.08 GB, free: 146.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002384/0.8444, allocations: 127.2 kB / 1.08 GB, free: 146.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.8444, allocations: 1.062 kB / 1.08 GB, free: 146.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008158/0.8452, allocations: 391.6 kB / 1.081 GB, free: 146.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001674/0.8454, allocations: 0.8797 MB / 1.081 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.8454, allocations: 2.406 kB / 1.081 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000471/0.8459, allocations: 103.8 kB / 1.082 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002638/0.8462, allocations: 55.03 kB / 1.082 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001961/0.8481, allocations: 2.065 MB / 1.084 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002749/0.8484, allocations: 36.02 kB / 1.084 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/0.8484, allocations: 8.969 kB / 1.084 GB, free: 143.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.657e-06/0.8485, allocations: 8.062 kB / 1.084 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000708/0.8492, allocations: 325.1 kB / 1.084 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.8492, allocations: 1.656 kB / 1.084 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002731/0.8495, allocations: 81.56 kB / 1.084 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/0.8497, allocations: 60.25 kB / 1.084 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001545/0.8513, allocations: 1.515 MB / 1.086 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00024/0.8515, allocations: 36.98 kB / 1.086 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/0.8515, allocations: 8.5 kB / 1.086 GB, free: 142 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.0002423/0.8518, allocations: 252.5 kB / 1.086 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.945e-05/0.8519, allocations: 22.06 kB / 1.086 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.56e-05/0.8519, allocations: 33.67 kB / 1.086 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.8519, allocations: 3.938 kB / 1.086 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.8519, allocations: 0 / 1.086 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.8519, allocations: 0 / 1.086 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003561/0.8523, allocations: 377.8 kB / 1.086 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.8523, allocations: 3.984 kB / 1.086 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.8525, allocations: 35.42 kB / 1.086 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003331/0.8528, allocations: 97.94 kB / 1.086 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.8529, allocations: 10.81 kB / 1.086 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002078/0.8549, allocations: 2.832 MB / 1.089 GB, free: 138.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.855, allocations: 3.984 kB / 1.089 GB, free: 138.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007122/0.8557, allocations: 412.4 kB / 1.09 GB, free: 138.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.8558, allocations: 116.5 kB / 1.09 GB, free: 138.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.8558, allocations: 4.844 kB / 1.09 GB, free: 138.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.856, allocations: 24.16 kB / 1.09 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.065e-05/0.8561, allocations: 14.81 kB / 1.09 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.8561, allocations: 8.156 kB / 1.09 GB, free: 138.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001266/0.8562, allocations: 158.6 kB / 1.09 GB, free: 138.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8562, allocations: 0 / 1.09 GB, free: 138.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006313/0.8569, allocations: 175.3 kB / 1.09 GB, free: 138.3 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.0009746/0.8579, allocations: 0.9487 MB / 1.091 GB, free: 137.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001825/0.8597, allocations: 0.6634 MB / 1.092 GB, free: 137.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.8597, allocations: 4.125 kB / 1.092 GB, free: 137.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007692/0.8605, allocations: 374.1 kB / 1.092 GB, free: 137 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.8609, allocations: 45.34 kB / 1.092 GB, free: 137 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003741/0.8646, allocations: 3.035 MB / 1.095 GB, free: 134.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004488/0.8651, allocations: 0.8181 MB / 1.096 GB, free: 133.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002872/0.8654, allocations: 56.94 kB / 1.096 GB, free: 133.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.8655, allocations: 83.28 kB / 1.096 GB, free: 133.6 MB / 0.698 GB Notification: Performance of SimCode: time 1.353e-06/0.8656, allocations: 4 kB / 1.096 GB, free: 133.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01806/0.8836, allocations: 6.371 MB / 1.102 GB, free: 129.4 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002418/0.8839, allocations: 224.9 kB / 1.102 GB, free: 129.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.824/2.708, allocations: 0 / 1.102 GB, free: 129.1 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)