Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLines,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_DCLines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLines,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_DCLines",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.526/2.526, allocations: 287.3 MB / 302.3 MB, free: 8.316 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.003056/0.003055, allocations: 181.2 kB / 370.8 MB, free: 10.89 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.114/2.114, allocations: 205.4 MB / 0.6295 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001179/0.001178, allocations: 97.55 kB / 0.7428 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004944/0.0004943, allocations: 11.72 kB / 0.8657 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2168, allocations: 115.3 MB / 0.9783 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9816/1.198, allocations: 189.5 MB / 1.163 GB, free: 11.14 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003579/1.199, allocations: 93.83 kB / 1.163 GB, free: 11.09 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0/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.6194/1.818, allocations: 148 MB / 1.308 GB, free: 0.5586 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.746e-06/1.818, allocations: 0 / 1.308 GB, free: 0.5586 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0004716/1.819, allocations: 79.98 kB / 1.308 GB, free: 492 kB / 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.01695/1.836, allocations: 3.943 MB / 1.312 GB, free: 12.43 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/1.836, allocations: 16.02 kB / 1.312 GB, free: 12.41 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001916/1.838, allocations: 358.1 kB / 1.312 GB, free: 12.05 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02886/1.867, allocations: 3.218 MB / 1.315 GB, free: 8.824 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009724/1.876, allocations: 2.319 MB / 1.318 GB, free: 6.434 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003039/1.877, allocations: 173.4 kB / 1.318 GB, free: 6.262 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001378/1.878, allocations: 232 kB / 1.318 GB, free: 6.035 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01987/1.898, allocations: 4.692 MB / 1.323 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-05/1.898, allocations: 0 / 1.323 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005974/1.899, allocations: 99.98 kB / 1.323 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002846/1.899, allocations: 152.8 kB / 1.323 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02647/1.926, allocations: 5.218 MB / 1.328 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04042/1.966, allocations: 14.37 MB / 1.342 GB, free: 12.17 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02205/1.988, allocations: 3.779 MB / 1.346 GB, free: 8.375 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003013/1.989, allocations: 25.28 kB / 1.346 GB, free: 8.352 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008081/1.997, allocations: 1.824 MB / 1.348 GB, free: 6.465 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=163): time 5.811e-06/1.997, allocations: 0 / 1.348 GB, free: 6.465 MB / 0.8698 GB Notification: Performance of matching and sorting (n=250): time 0.2609/2.258, allocations: 33.52 MB / 1.38 GB, free: 4.719 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000545/2.258, allocations: 0.8944 MB / 1.381 GB, free: 3.613 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004935/2.263, allocations: 1.981 MB / 1.383 GB, free: 1.625 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0007064/2.264, allocations: 85.69 kB / 1.383 GB, free: 1.535 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.002052/2.266, allocations: 1.434 MB / 1.385 GB, free: 88 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.001514/2.268, allocations: 0.8162 MB / 1.385 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004254/2.268, allocations: 48 kB / 1.385 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002561/2.268, allocations: 394.7 kB / 1.386 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009619/2.278, allocations: 1.929 MB / 1.388 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01023/2.288, allocations: 2.312 MB / 1.39 GB, free: 10.44 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009976/2.298, allocations: 2.141 MB / 1.392 GB, free: 8.246 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.548e-05/2.298, allocations: 4 kB / 1.392 GB, free: 8.242 MB / 0.9167 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.03024/2.329, allocations: 6.122 MB / 1.398 GB, free: 2.027 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001284/2.33, allocations: 2.455 MB / 1.4 GB, free: 15.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.493e-05/2.33, allocations: 8 kB / 1.4 GB, free: 15.29 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01171/2.342, allocations: 1.797 MB / 1.402 GB, free: 13.49 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00595/2.348, allocations: 0.6007 MB / 1.403 GB, free: 12.89 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02548/2.373, allocations: 9.509 MB / 1.412 GB, free: 3.215 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00705/2.38, allocations: 415.5 kB / 1.412 GB, free: 2.809 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005135/2.381, allocations: 91.97 kB / 1.413 GB, free: 2.719 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/2.381, allocations: 6.344 kB / 1.413 GB, free: 2.715 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0276/2.409, allocations: 5.726 MB / 1.418 GB, free: 12.91 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.458e-05/2.409, allocations: 8 kB / 1.418 GB, free: 12.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01494/2.424, allocations: 1.798 MB / 1.42 GB, free: 11.09 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009397/2.433, allocations: 0.6125 MB / 1.42 GB, free: 10.48 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.867/3.3, allocations: 14.01 MB / 1.434 GB, free: 250.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007234/3.307, allocations: 412.2 kB / 1.435 GB, free: 250.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007826/3.308, allocations: 88.59 kB / 1.435 GB, free: 250.4 MB / 0.948 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (172): * Single equations (assignments): 165 * 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 {10 52} Notification: Performance of prepare postOptimizeDAE: time 0.002953/3.311, allocations: 0.792 MB / 1.435 GB, free: 250.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001224/3.312, allocations: 337.5 kB / 1.436 GB, free: 250.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001452/3.314, allocations: 390.4 kB / 1.436 GB, free: 250.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.862e-05/3.314, allocations: 23.78 kB / 1.436 GB, free: 250.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.295e-05/3.314, allocations: 11.53 kB / 1.436 GB, free: 250.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.435e-05/3.314, allocations: 12.56 kB / 1.436 GB, free: 250.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008242/3.322, allocations: 3.18 MB / 1.439 GB, free: 249.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.435e-05/3.322, allocations: 0 / 1.439 GB, free: 249.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005241/3.328, allocations: 0.5229 MB / 1.44 GB, free: 249.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01168/3.339, allocations: 1.693 MB / 1.441 GB, free: 249.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006599/3.34, allocations: 48.61 kB / 1.441 GB, free: 249.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04177/3.382, allocations: 14.56 MB / 1.456 GB, free: 247.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/3.382, allocations: 0.7188 kB / 1.456 GB, free: 247.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03052/3.413, allocations: 5.754 MB / 1.461 GB, free: 246.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002921/3.416, allocations: 0.6684 MB / 1.462 GB, free: 246.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001406/3.417, allocations: 51.73 kB / 1.462 GB, free: 246.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006786/3.424, allocations: 413.6 kB / 1.462 GB, free: 246.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001845/3.426, allocations: 308.1 kB / 1.463 GB, free: 246.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005473/3.426, allocations: 75.67 kB / 1.463 GB, free: 246.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.004659/3.431, allocations: 1.519 MB / 1.464 GB, free: 246.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.41e-07/3.431, allocations: 6.969 kB / 1.464 GB, free: 246.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.009095/3.44, allocations: 1.585 MB / 1.466 GB, free: 246.5 MB / 0.948 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 116 * 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 {10 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.02998/3.47, allocations: 6.397 MB / 1.472 GB, free: 245.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.04211/3.512, allocations: 9.705 MB / 1.482 GB, free: 244.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.194e-05/3.512, allocations: 0 / 1.482 GB, free: 244.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.01524/3.528, allocations: 3.506 MB / 1.485 GB, free: 243.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00795/3.536, allocations: 1.019 MB / 1.486 GB, free: 243.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1187/3.654, allocations: 29.34 MB / 1.515 GB, free: 229.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003308/3.658, allocations: 2.324 MB / 1.517 GB, free: 228.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.005478/3.663, allocations: 0.6393 MB / 1.518 GB, free: 228.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003369/3.667, allocations: 1.328 MB / 1.519 GB, free: 227.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.442e-06/3.667, allocations: 0 / 1.519 GB, free: 227.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2176/3.884, allocations: 99.01 MB / 1.616 GB, free: 177.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002493/3.885, allocations: 200.6 kB / 1.616 GB, free: 177.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.955/10.84, allocations: 4.062 kB / 1.616 GB, free: 177.5 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_DCLines_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_DCLines.fmu > Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)