Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",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.439/1.439, allocations: 249.5 MB / 257 MB, free: 6.93 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.0009918/0.0009918, allocations: 180.9 kB / 316.3 MB, free: 3.25 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.434/1.434, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0008069/0.0008071, allocations: 92.5 kB / 0.6714 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.49e-05/2.504e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1952, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7474/0.9426, allocations: 183.7 MB / 1.065 GB, free: 4.645 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/0.943, allocations: 85.45 kB / 1.065 GB, free: 4.602 MB / 0.6823 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/PartialTwoPortRLC.mo:18:3-18: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.3675/1.311, allocations: 148.1 MB / 1.209 GB, free: 8.133 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.853e-06/1.311, allocations: 0 / 1.209 GB, free: 8.133 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.000276/1.311, allocations: 79.92 kB / 1.21 GB, free: 8.055 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.01018/1.321, allocations: 3.695 MB / 1.213 GB, free: 4.258 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/1.321, allocations: 8.031 kB / 1.213 GB, free: 4.25 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01722/1.338, allocations: 3.206 MB / 1.216 GB, free: 1.035 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007476/1.346, allocations: 2.557 MB / 1.219 GB, free: 14.41 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003952/1.346, allocations: 386.4 kB / 1.219 GB, free: 13.96 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009435/1.347, allocations: 144 kB / 1.219 GB, free: 13.82 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006829/1.354, allocations: 3.453 MB / 1.223 GB, free: 10.36 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006788/1.361, allocations: 3.595 MB / 1.226 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.538e-05/1.361, allocations: 0 / 1.226 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002978/1.361, allocations: 4 kB / 1.226 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001613/1.361, allocations: 144.8 kB / 1.226 GB, free: 6.484 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02361/1.385, allocations: 14.33 MB / 1.24 GB, free: 7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005558/1.391, allocations: 2.61 MB / 1.243 GB, free: 4.375 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001639/1.392, allocations: 1.065 MB / 1.244 GB, free: 3.309 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001387/1.393, allocations: 33.23 kB / 1.244 GB, free: 3.277 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002131/1.395, allocations: 1.382 MB / 1.245 GB, free: 1.828 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=163): time 4.318e-06/1.395, allocations: 0 / 1.245 GB, free: 1.828 MB / 0.8542 GB Notification: Performance of matching and sorting (n=250): time 0.02251/1.417, allocations: 8.482 MB / 1.254 GB, free: 9.305 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004175/1.418, allocations: 0.9022 MB / 1.254 GB, free: 8.195 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002824/1.421, allocations: 1.568 MB / 1.256 GB, free: 6.617 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005876/1.421, allocations: 29.7 kB / 1.256 GB, free: 6.582 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001585/1.423, allocations: 1.447 MB / 1.257 GB, free: 5.121 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001232/1.424, allocations: 0.7889 MB / 1.258 GB, free: 4.32 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002044/1.424, allocations: 0 / 1.258 GB, free: 4.32 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002147/1.424, allocations: 394.7 kB / 1.259 GB, free: 3.93 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002151/1.427, allocations: 1.364 MB / 1.26 GB, free: 2.562 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00247/1.429, allocations: 1.734 MB / 1.262 GB, free: 0.6953 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.539/1.968, allocations: 1.42 MB / 1.263 GB, free: 225.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.43e-05/1.968, allocations: 1.875 kB / 1.263 GB, free: 225.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.0138/1.982, allocations: 5.081 MB / 1.268 GB, free: 225.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/1.982, allocations: 147 kB / 1.268 GB, free: 225.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/1.982, allocations: 8.984 kB / 1.268 GB, free: 225.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01046/1.993, allocations: 2.789 MB / 1.271 GB, free: 225.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003346/1.996, allocations: 0.5752 MB / 1.271 GB, free: 225.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03555/2.032, allocations: 16.4 MB / 1.287 GB, free: 223 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004836/2.037, allocations: 380 kB / 1.288 GB, free: 223 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004924/2.037, allocations: 89.11 kB / 1.288 GB, free: 223 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.varLoad1.T_start,varLoad1.T_start,$PRE.varLoad1.count,varLoad1.count,$PRE.varLoad2.T_start,varLoad2.T_start,$PRE.varLoad2.count,varLoad2.count,$PRE.varLoad3.T_start,varLoad3.T_start,$PRE.varLoad3.count,varLoad3.count,$PRE.varLoad4.T_start,varLoad4.T_start,$PRE.varLoad4.count,varLoad4.count,$PRE.varLoad5.T_start,varLoad5.T_start,$PRE.varLoad5.count,varLoad5.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 5 * 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: 1 {(10,48.0%) 52} * Non-linear torn systems: 1 {9 63} Notification: Performance of prepare postOptimizeDAE: time 0.000657/2.038, allocations: 153.5 kB / 1.288 GB, free: 222.9 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01178/2.049, allocations: 4.768 MB / 1.293 GB, free: 222.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001138/2.051, allocations: 307.1 kB / 1.293 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009468/2.052, allocations: 331.7 kB / 1.293 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-05/2.052, allocations: 27.16 kB / 1.293 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-05/2.052, allocations: 10.62 kB / 1.293 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.778e-05/2.052, allocations: 12.83 kB / 1.293 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005206/2.057, allocations: 3.272 MB / 1.296 GB, free: 222.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/2.057, allocations: 0 / 1.296 GB, free: 222.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002936/2.06, allocations: 0.5033 MB / 1.297 GB, free: 222.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01071/2.071, allocations: 2.773 MB / 1.3 GB, free: 222 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006429/2.071, allocations: 16.64 kB / 1.3 GB, free: 222 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03104/2.102, allocations: 16.37 MB / 1.316 GB, free: 219.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-06/2.103, allocations: 3.75 kB / 1.316 GB, free: 219.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01067/2.113, allocations: 4.899 MB / 1.32 GB, free: 217.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002224/2.115, allocations: 0.675 MB / 1.321 GB, free: 217.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008392/2.116, allocations: 8.438 kB / 1.321 GB, free: 217.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0036/2.12, allocations: 382 kB / 1.321 GB, free: 217.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001201/2.121, allocations: 362.1 kB / 1.322 GB, free: 217.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002037/2.121, allocations: 75.41 kB / 1.322 GB, free: 217.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001906/2.123, allocations: 1.161 MB / 1.323 GB, free: 216.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.61e-07/2.123, allocations: 0 / 1.323 GB, free: 216.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003949/2.127, allocations: 0.9443 MB / 1.324 GB, free: 216.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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: 1 {(10,60.0%) 52} * Non-linear torn systems: 1 {9 63} Notification: Performance of Backend phase and start with SimCode phase: time 0.01051/2.138, allocations: 5.504 MB / 1.329 GB, free: 214.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01626/2.154, allocations: 5.202 MB / 1.334 GB, free: 212.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/2.154, allocations: 3.844 kB / 1.334 GB, free: 212.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.01399/2.168, allocations: 3.348 MB / 1.338 GB, free: 211.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005845/2.174, allocations: 0.8721 MB / 1.339 GB, free: 211.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01462/2.189, allocations: 5.49 MB / 1.344 GB, free: 209.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001765/2.191, allocations: 2.298 MB / 1.346 GB, free: 208.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002654/2.193, allocations: 481.9 kB / 1.347 GB, free: 208.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001607/2.195, allocations: 1.314 MB / 1.348 GB, free: 207 MB / 0.8698 GB Notification: Performance of SimCode: time 1.653e-06/2.195, allocations: 0 / 1.348 GB, free: 207 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1423/2.337, allocations: 89.52 MB / 1.435 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000183/2.337, allocations: 153.8 kB / 1.435 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.798/7.135, allocations: 0 / 1.435 GB, free: 159.5 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)