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.43/1.43, allocations: 249.5 MB / 257 MB, free: 6.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001384/0.001384, allocations: 172.8 kB / 316.3 MB, free: 3.316 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.641/1.641, allocations: 205.3 MB / 0.5671 GB, free: 15.94 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.0008834/0.0008829, allocations: 90.45 kB / 0.6714 GB, free: 5.066 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.949e-05/1.942e-05, allocations: 0 / 0.7815 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2001, allocations: 106.4 MB / 0.8853 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6873/0.8874, allocations: 160 MB / 1.042 GB, free: 11.87 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/0.8877, allocations: 91.38 kB / 1.042 GB, free: 11.82 MB / 0.6667 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.04264/0.9304, allocations: 17.66 MB / 1.059 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9304, allocations: 0 / 1.059 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.499e-05/0.9304, allocations: 12 kB / 1.059 GB, free: 13.28 MB / 0.6823 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.001027/0.9314, allocations: 0.6093 MB / 1.06 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.349e-05/0.9315, allocations: 12.03 kB / 1.06 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008464/0.9324, allocations: 119.4 kB / 1.06 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005824/0.933, allocations: 317.2 kB / 1.06 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.584e-05/0.9331, allocations: 46.48 kB / 1.06 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.945e-05/0.9331, allocations: 24 kB / 1.06 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004907/0.9336, allocations: 318.4 kB / 1.06 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000617/0.9342, allocations: 431.3 kB / 1.061 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.9343, allocations: 3.938 kB / 1.061 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.517e-05/0.9343, allocations: 4 kB / 1.061 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.131e-05/0.9343, allocations: 24.77 kB / 1.061 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002269/0.9366, allocations: 2.133 MB / 1.063 GB, free: 9.418 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006035/0.9372, allocations: 249.8 kB / 1.063 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002611/0.9375, allocations: 141.4 kB / 1.063 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.9376, allocations: 0 / 1.063 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.9376, allocations: 41.94 kB / 1.063 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=19): time 1.182e-06/0.9376, allocations: 0 / 1.063 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19): time 0.0006081/0.9382, allocations: 241.4 kB / 1.064 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.9383, allocations: 55.41 kB / 1.064 GB, free: 8.809 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.9384, allocations: 180.8 kB / 1.064 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.9385, allocations: 25.7 kB / 1.064 GB, free: 8.621 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.9386, allocations: 216.7 kB / 1.064 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.787e-05/0.9386, allocations: 66.14 kB / 1.064 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.247e-05/0.9387, allocations: 0 / 1.064 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.9388, allocations: 333.7 kB / 1.064 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.9389, allocations: 68.23 kB / 1.064 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.939, allocations: 160.4 kB / 1.065 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.9392, allocations: 94.03 kB / 1.065 GB, free: 7.773 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.9392, allocations: 0 / 1.065 GB, free: 7.773 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000583/0.9398, allocations: 315.1 kB / 1.065 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003499/0.9401, allocations: 0.9616 MB / 1.066 GB, free: 6.492 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.9402, allocations: 4 kB / 1.066 GB, free: 6.488 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004056/0.9406, allocations: 101.9 kB / 1.066 GB, free: 6.395 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.9408, allocations: 51.91 kB / 1.066 GB, free: 6.344 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001884/0.9427, allocations: 1.963 MB / 1.068 GB, free: 4.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002365/0.9429, allocations: 27.77 kB / 1.068 GB, free: 4.312 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.943, allocations: 11.12 kB / 1.068 GB, free: 4.305 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.454e-06/0.943, allocations: 4 kB / 1.068 GB, free: 4.301 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000465/0.9435, allocations: 250.4 kB / 1.068 GB, free: 4.105 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.9435, allocations: 4 kB / 1.068 GB, free: 4.102 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002413/0.9437, allocations: 78.25 kB / 1.068 GB, free: 4.031 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.9439, allocations: 55.22 kB / 1.068 GB, free: 3.98 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001463/0.9454, allocations: 1.429 MB / 1.07 GB, free: 2.523 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/0.9456, allocations: 23.83 kB / 1.07 GB, free: 2.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.9457, allocations: 11.94 kB / 1.07 GB, free: 2.488 MB / 0.6823 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 0.0001029/0.9458, allocations: 108.5 kB / 1.07 GB, free: 2.379 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004754/0.9463, allocations: 247.9 kB / 1.07 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.25e-05/0.9463, allocations: 23.72 kB / 1.07 GB, free: 2.145 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.876e-05/0.9464, allocations: 27.14 kB / 1.07 GB, free: 2.137 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.9464, allocations: 4 kB / 1.07 GB, free: 2.133 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.9464, allocations: 0 / 1.07 GB, free: 2.133 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.9464, allocations: 0 / 1.07 GB, free: 2.133 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.9475, allocations: 0.7199 MB / 1.071 GB, free: 1.457 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.9475, allocations: 7.938 kB / 1.071 GB, free: 1.449 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001463/0.9476, allocations: 35.81 kB / 1.071 GB, free: 1.418 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003372/0.948, allocations: 100.2 kB / 1.071 GB, free: 1.324 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.948, allocations: 4 kB / 1.071 GB, free: 1.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00245/0.9505, allocations: 2.686 MB / 1.074 GB, free: 14.54 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.9505, allocations: 0 / 1.074 GB, free: 14.54 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006022/0.9511, allocations: 394.9 kB / 1.074 GB, free: 14.16 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.9512, allocations: 104 kB / 1.074 GB, free: 14.05 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.9513, allocations: 4 kB / 1.074 GB, free: 14.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.9514, allocations: 11.98 kB / 1.074 GB, free: 14.03 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.9516, allocations: 31.61 kB / 1.074 GB, free: 14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.9516, allocations: 6.938 kB / 1.074 GB, free: 14 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001337/0.9517, allocations: 140.4 kB / 1.074 GB, free: 13.88 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9517, allocations: 0 / 1.074 GB, free: 13.88 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007006/0.9524, allocations: 167.2 kB / 1.074 GB, free: 13.72 MB / 0.698 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.0009725/0.9534, allocations: 1.053 MB / 1.076 GB, free: 12.68 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001571/0.955, allocations: 0.5698 MB / 1.076 GB, free: 12.18 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.955, allocations: 0 / 1.076 GB, free: 12.18 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006539/0.9557, allocations: 331.8 kB / 1.076 GB, free: 11.86 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.9561, allocations: 52.3 kB / 1.076 GB, free: 11.82 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.9572, allocations: 480.2 kB / 1.077 GB, free: 11.35 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000525/0.9578, allocations: 0.8168 MB / 1.078 GB, free: 10.52 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002663/0.9581, allocations: 66 kB / 1.078 GB, free: 10.46 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.9582, allocations: 82.53 kB / 1.078 GB, free: 10.43 MB / 0.698 GB Notification: Performance of SimCode: time 7.82e-07/0.9582, allocations: 0 / 1.078 GB, free: 10.43 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02472/0.9829, allocations: 5.929 MB / 1.084 GB, free: 4.551 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001703/0.9832, allocations: 160.3 kB / 1.084 GB, free: 4.355 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.693/2.677, allocations: 4 kB / 1.084 GB, free: 4.352 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)