Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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.DCLinesLinearized,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.587/2.587, allocations: 287.3 MB / 302.3 MB, free: 8.344 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.001552/0.001552, allocations: 180.5 kB / 370.8 MB, free: 10.86 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.06/2.06, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001195/0.001194, allocations: 104 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007639/0.0007637, allocations: 11.19 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2536, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.077/1.33, allocations: 189.6 MB / 1.163 GB, free: 10.95 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003477/1.331, allocations: 89.33 kB / 1.164 GB, free: 10.9 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.637/1.968, allocations: 149.6 MB / 1.31 GB, free: 14.85 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.45e-06/1.968, allocations: 0 / 1.31 GB, free: 14.85 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0004835/1.968, allocations: 79.86 kB / 1.31 GB, free: 14.77 MB / 0.8386 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.0188/1.987, allocations: 4.217 MB / 1.314 GB, free: 10.45 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/1.987, allocations: 15.95 kB / 1.314 GB, free: 10.43 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001907/1.989, allocations: 362.2 kB / 1.314 GB, free: 10.07 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03491/2.024, allocations: 3.233 MB / 1.317 GB, free: 6.824 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01247/2.037, allocations: 2.576 MB / 1.32 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000669/2.037, allocations: 462.4 kB / 1.32 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001616/2.039, allocations: 235.9 kB / 1.321 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02233/2.061, allocations: 4.813 MB / 1.325 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.747e-05/2.061, allocations: 0 / 1.325 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001018/2.062, allocations: 111.9 kB / 1.325 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00028/2.063, allocations: 144.8 kB / 1.325 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02883/2.092, allocations: 5.296 MB / 1.331 GB, free: 8.906 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04891/2.141, allocations: 14.88 MB / 1.345 GB, free: 8.852 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02011/2.161, allocations: 3.639 MB / 1.349 GB, free: 5.203 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003704/2.161, allocations: 29.28 kB / 1.349 GB, free: 5.176 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008822/2.17, allocations: 1.905 MB / 1.351 GB, free: 3.207 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=163): time 6.312e-06/2.17, allocations: 0 / 1.351 GB, free: 3.207 MB / 0.8698 GB Notification: Performance of matching and sorting (n=250): time 0.2831/2.453, allocations: 34.33 MB / 1.384 GB, free: 0.6484 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006854/2.454, allocations: 0.8944 MB / 1.385 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005715/2.46, allocations: 1.989 MB / 1.387 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.000817/2.461, allocations: 77.7 kB / 1.387 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002299/2.463, allocations: 1.434 MB / 1.388 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001719/2.465, allocations: 0.8202 MB / 1.389 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005348/2.465, allocations: 44 kB / 1.389 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002877/2.465, allocations: 394.7 kB / 1.39 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01117/2.477, allocations: 2.105 MB / 1.392 GB, free: 8.641 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01174/2.488, allocations: 2.511 MB / 1.394 GB, free: 5.992 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01132/2.5, allocations: 2.301 MB / 1.396 GB, free: 3.641 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.079e-05/2.5, allocations: 4 kB / 1.396 GB, free: 3.637 MB / 0.9167 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.03771/2.538, allocations: 6.911 MB / 1.403 GB, free: 12.64 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001568/2.538, allocations: 152.5 kB / 1.403 GB, free: 12.46 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.572e-05/2.538, allocations: 8 kB / 1.403 GB, free: 12.45 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01949/2.557, allocations: 2.958 MB / 1.406 GB, free: 9.484 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00615/2.564, allocations: 0.5735 MB / 1.407 GB, free: 8.91 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07583/2.639, allocations: 18.15 MB / 1.424 GB, free: 6.523 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008042/2.648, allocations: 431.6 kB / 1.425 GB, free: 6.102 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009098/2.649, allocations: 87.98 kB / 1.425 GB, free: 6.016 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 (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.003222/2.652, allocations: 0.7109 MB / 1.426 GB, free: 5.297 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001284/2.653, allocations: 344 kB / 1.426 GB, free: 4.957 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001424/2.655, allocations: 384.1 kB / 1.426 GB, free: 4.574 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.35e-05/2.655, allocations: 24 kB / 1.426 GB, free: 4.551 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.978e-05/2.655, allocations: 8 kB / 1.426 GB, free: 4.543 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.077e-05/2.655, allocations: 15.94 kB / 1.426 GB, free: 4.527 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009388/2.664, allocations: 3.655 MB / 1.43 GB, free: 0.8125 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.334e-05/2.664, allocations: 0 / 1.43 GB, free: 0.8125 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00531/2.67, allocations: 0.5072 MB / 1.43 GB, free: 312 kB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.8003/3.47, allocations: 2.857 MB / 1.433 GB, free: 252.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008207/3.471, allocations: 50.77 kB / 1.433 GB, free: 252.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07674/3.548, allocations: 17.98 MB / 1.451 GB, free: 249.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/3.548, allocations: 3.125 kB / 1.451 GB, free: 249.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03585/3.583, allocations: 6.545 MB / 1.457 GB, free: 249.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003097/3.587, allocations: 0.7041 MB / 1.458 GB, free: 249.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001501/3.588, allocations: 53.17 kB / 1.458 GB, free: 249.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007414/3.596, allocations: 414.8 kB / 1.458 GB, free: 249.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002512/3.598, allocations: 368.5 kB / 1.459 GB, free: 249.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007181/3.599, allocations: 72.45 kB / 1.459 GB, free: 249.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.004468/3.603, allocations: 1.518 MB / 1.46 GB, free: 249.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.71e-07/3.603, allocations: 3.344 kB / 1.46 GB, free: 249.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005729/3.609, allocations: 1.064 MB / 1.461 GB, free: 249.2 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 (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 {8 64} Notification: Performance of Backend phase and start with SimCode phase: time 0.03693/3.646, allocations: 7.185 MB / 1.468 GB, free: 248.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.04451/3.691, allocations: 6.838 MB / 1.475 GB, free: 247.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.201e-05/3.691, allocations: 5.078 kB / 1.475 GB, free: 247.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.03192/3.723, allocations: 4.205 MB / 1.479 GB, free: 247.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007818/3.731, allocations: 1.014 MB / 1.48 GB, free: 247.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09365/3.824, allocations: 30.59 MB / 1.51 GB, free: 234.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002441/3.827, allocations: 2.296 MB / 1.512 GB, free: 233.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004072/3.831, allocations: 0.5213 MB / 1.513 GB, free: 233.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003231/3.834, allocations: 1.322 MB / 1.514 GB, free: 232 MB / 0.948 GB Notification: Performance of SimCode: time 1.633e-06/3.834, allocations: 0 / 1.514 GB, free: 232 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2252/4.059, allocations: 97.77 MB / 1.61 GB, free: 185.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002445/4.06, allocations: 223.8 kB / 1.61 GB, free: 185 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.938/11, allocations: 0 / 1.61 GB, free: 185 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)