Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.787/1.787, allocations: 289.9 MB / 297.4 MB, free: 6.359 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.00136/0.00136, allocations: 176.9 kB / 366.7 MB, free: 1.625 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.681/1.681, allocations: 205.2 MB / 0.626 GB, free: 7.148 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.0008523/0.0008523, allocations: 91.2 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.561e-05/2.563e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7307/0.7307, allocations: 116.3 MB / 0.9733 GB, free: 76.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2512/0.982, allocations: 190 MB / 1.159 GB, free: 8.07 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/0.9824, allocations: 84.55 kB / 1.159 GB, free: 7.988 MB / 0.7605 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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 1.05/2.033, allocations: 148.1 MB / 1.304 GB, free: 194.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.473e-06/2.033, allocations: 0 / 1.304 GB, free: 194.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.000296/2.033, allocations: 79.03 kB / 1.304 GB, free: 194.3 MB / 0.8542 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.01466/2.048, allocations: 3.693 MB / 1.307 GB, free: 192.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.063e-05/2.048, allocations: 10.16 kB / 1.307 GB, free: 192.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01879/2.066, allocations: 3.208 MB / 1.31 GB, free: 192.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009018/2.076, allocations: 2.564 MB / 1.313 GB, free: 191.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004714/2.076, allocations: 387.4 kB / 1.313 GB, free: 191.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001181/2.077, allocations: 136.6 kB / 1.313 GB, free: 191.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008485/2.086, allocations: 3.455 MB / 1.317 GB, free: 191.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009557/2.095, allocations: 3.59 MB / 1.32 GB, free: 189.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.177e-05/2.095, allocations: 2.25 kB / 1.32 GB, free: 189.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007571/2.096, allocations: 3.719 kB / 1.32 GB, free: 189.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000181/2.096, allocations: 148 kB / 1.32 GB, free: 189.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02606/2.123, allocations: 14.35 MB / 1.334 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008787/2.131, allocations: 2.608 MB / 1.337 GB, free: 179.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002495/2.134, allocations: 1.066 MB / 1.338 GB, free: 178.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002729/2.134, allocations: 26.12 kB / 1.338 GB, free: 178.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00339/2.138, allocations: 1.372 MB / 1.339 GB, free: 178 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=163): time 3.339e-05/2.138, allocations: 0 / 1.339 GB, free: 178 MB / 0.8542 GB Notification: Performance of matching and sorting (n=250): time 0.03519/2.173, allocations: 8.494 MB / 1.348 GB, free: 175 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003943/2.173, allocations: 0.8962 MB / 1.349 GB, free: 173.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00534/2.179, allocations: 1.568 MB / 1.35 GB, free: 173.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0008046/2.18, allocations: 33.11 kB / 1.35 GB, free: 173.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001888/2.182, allocations: 1.443 MB / 1.352 GB, free: 172.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.00147/2.183, allocations: 0.7901 MB / 1.352 GB, free: 171.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000547/2.184, allocations: 3.969 kB / 1.352 GB, free: 171.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002187/2.184, allocations: 391.4 kB / 1.353 GB, free: 171.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003233/2.187, allocations: 1.364 MB / 1.354 GB, free: 170.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003765/2.191, allocations: 1.734 MB / 1.356 GB, free: 169.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003438/2.194, allocations: 1.427 MB / 1.357 GB, free: 169 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.64e-05/2.194, allocations: 3.938 kB / 1.357 GB, free: 169 MB / 0.8542 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01891/2.213, allocations: 5.08 MB / 1.362 GB, free: 167.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001916/2.214, allocations: 146.7 kB / 1.362 GB, free: 167 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-05/2.214, allocations: 8.375 kB / 1.362 GB, free: 167 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01373/2.227, allocations: 2.795 MB / 1.365 GB, free: 166.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004782/2.232, allocations: 0.5707 MB / 1.366 GB, free: 166.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0441/2.276, allocations: 16.4 MB / 1.382 GB, free: 157.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005199/2.282, allocations: 380.8 kB / 1.382 GB, free: 157.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008208/2.283, allocations: 86.52 kB / 1.382 GB, free: 157.4 MB / 0.8542 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.001269/2.284, allocations: 155.5 kB / 1.382 GB, free: 157.2 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0118/2.296, allocations: 4.764 MB / 1.387 GB, free: 153.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001444/2.297, allocations: 308.4 kB / 1.387 GB, free: 152.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001388/2.299, allocations: 340 kB / 1.387 GB, free: 152.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-05/2.299, allocations: 24 kB / 1.387 GB, free: 152.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.334e-05/2.299, allocations: 8 kB / 1.387 GB, free: 152.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.429e-05/2.299, allocations: 12.84 kB / 1.387 GB, free: 152.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007477/2.306, allocations: 3.268 MB / 1.391 GB, free: 149.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.348e-05/2.306, allocations: 4.922 kB / 1.391 GB, free: 149.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002699/2.309, allocations: 0.4994 MB / 1.391 GB, free: 149.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009094/2.318, allocations: 2.768 MB / 1.394 GB, free: 146.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006463/2.319, allocations: 7.984 kB / 1.394 GB, free: 146.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03292/2.352, allocations: 16.37 MB / 1.41 GB, free: 130 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.978e-06/2.352, allocations: 3.828 kB / 1.41 GB, free: 130 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01252/2.364, allocations: 4.894 MB / 1.415 GB, free: 125 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00255/2.367, allocations: 0.673 MB / 1.415 GB, free: 124.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001525/2.368, allocations: 13.39 kB / 1.415 GB, free: 124.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004513/2.373, allocations: 379.5 kB / 1.416 GB, free: 124 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00149/2.375, allocations: 358.8 kB / 1.416 GB, free: 123.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004001/2.375, allocations: 75.97 kB / 1.416 GB, free: 123.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002938/2.378, allocations: 1.165 MB / 1.417 GB, free: 122.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.31e-07/2.378, allocations: 2.344 kB / 1.417 GB, free: 122.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00538/2.383, allocations: 0.9414 MB / 1.418 GB, free: 121.4 MB / 0.8542 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.01281/2.396, allocations: 5.501 MB / 1.424 GB, free: 115.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0178/2.414, allocations: 5.206 MB / 1.429 GB, free: 110.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.337e-05/2.414, allocations: 7.828 kB / 1.429 GB, free: 110.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.01484/2.429, allocations: 3.357 MB / 1.432 GB, free: 107.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006499/2.436, allocations: 0.8661 MB / 1.433 GB, free: 106.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01811/2.454, allocations: 5.48 MB / 1.438 GB, free: 100.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002986/2.457, allocations: 2.3 MB / 1.44 GB, free: 98.55 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003554/2.46, allocations: 486 kB / 1.441 GB, free: 98.11 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002199/2.463, allocations: 1.319 MB / 1.442 GB, free: 96.79 MB / 0.8542 GB Notification: Performance of SimCode: time 2.935e-06/2.463, allocations: 0 / 1.442 GB, free: 96.79 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1505/2.613, allocations: 89.51 MB / 1.529 GB, free: 8.355 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001681/2.613, allocations: 141.8 kB / 1.53 GB, free: 8.164 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.146/7.759, allocations: 0 / 1.53 GB, free: 8.164 MB / 0.8542 GB (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)