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.916/1.916, allocations: 292.6 MB / 307.5 MB, free: 5.191 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.001104/0.001105, allocations: 189 kB / 377.1 MB, free: 1.516 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.884/1.884, allocations: 205.4 MB / 0.6366 GB, free: 8.543 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.0009121/0.0009121, allocations: 96.39 kB / 0.7509 GB, free: 63.01 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003807/0.000381, allocations: 8 kB / 0.8749 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3198, allocations: 116.3 MB / 0.9884 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7714/1.091, allocations: 190.7 MB / 1.175 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000343/1.092, allocations: 92.73 kB / 1.175 GB, free: 7.566 MB / 0.7448 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 0.4051/1.497, allocations: 149.6 MB / 1.321 GB, free: 16 kB / 0.8855 GB Notification: Performance of FrontEnd: time 2.846e-06/1.497, allocations: 0 / 1.321 GB, free: 16 kB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004368/1.497, allocations: 83.97 kB / 1.321 GB, free: 15.93 MB / 0.9011 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.01363/1.511, allocations: 4.209 MB / 1.325 GB, free: 11.61 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.71e-05/1.511, allocations: 12.02 kB / 1.325 GB, free: 11.6 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002082/1.513, allocations: 370.1 kB / 1.325 GB, free: 11.23 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01784/1.531, allocations: 3.226 MB / 1.329 GB, free: 7.996 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01053/1.542, allocations: 2.58 MB / 1.331 GB, free: 5.344 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005684/1.542, allocations: 466.4 kB / 1.332 GB, free: 4.824 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001536/1.544, allocations: 236 kB / 1.332 GB, free: 4.594 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0166/1.56, allocations: 4.816 MB / 1.336 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001255/1.561, allocations: 4 kB / 1.336 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001402/1.562, allocations: 104 kB / 1.337 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002221/1.562, allocations: 144.8 kB / 1.337 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01699/1.579, allocations: 5.304 MB / 1.342 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03168/1.611, allocations: 14.87 MB / 1.356 GB, free: 10.04 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01094/1.622, allocations: 3.635 MB / 1.36 GB, free: 6.395 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002663/1.622, allocations: 25.28 kB / 1.36 GB, free: 6.371 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004865/1.627, allocations: 1.919 MB / 1.362 GB, free: 4.387 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=163): time 5.18e-06/1.627, allocations: 0 / 1.362 GB, free: 4.387 MB / 0.9323 GB Notification: Performance of matching and sorting (n=250): time 0.6485/2.276, allocations: 34.32 MB / 1.395 GB, free: 180.6 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002323/2.276, allocations: 0.9 MB / 1.396 GB, free: 179.5 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002924/2.279, allocations: 1.984 MB / 1.398 GB, free: 179.3 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0006002/2.279, allocations: 78.8 kB / 1.398 GB, free: 179.3 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001037/2.281, allocations: 1.433 MB / 1.4 GB, free: 179 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000746/2.281, allocations: 0.8201 MB / 1.4 GB, free: 178.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001774/2.281, allocations: 46.34 kB / 1.401 GB, free: 178.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001064/2.282, allocations: 394.5 kB / 1.401 GB, free: 178.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004765/2.286, allocations: 2.11 MB / 1.403 GB, free: 178.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004747/2.291, allocations: 2.505 MB / 1.405 GB, free: 177.8 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004743/2.296, allocations: 2.303 MB / 1.408 GB, free: 177.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/2.296, allocations: 3.906 kB / 1.408 GB, free: 177.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.0168/2.313, allocations: 6.91 MB / 1.414 GB, free: 176.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001124/2.313, allocations: 152.6 kB / 1.415 GB, free: 176.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/2.313, allocations: 8.297 kB / 1.415 GB, free: 176.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009955/2.323, allocations: 2.954 MB / 1.417 GB, free: 176.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003164/2.326, allocations: 0.5682 MB / 1.418 GB, free: 176.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03411/2.36, allocations: 18.15 MB / 1.436 GB, free: 173.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004444/2.365, allocations: 433.5 kB / 1.436 GB, free: 173.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003529/2.365, allocations: 90.52 kB / 1.436 GB, free: 173.6 MB / 0.9323 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.001881/2.367, allocations: 0.7097 MB / 1.437 GB, free: 173.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006925/2.368, allocations: 337.1 kB / 1.437 GB, free: 173.3 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007979/2.368, allocations: 388.2 kB / 1.438 GB, free: 173.3 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-05/2.369, allocations: 22.67 kB / 1.438 GB, free: 173.3 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.361e-05/2.369, allocations: 10.41 kB / 1.438 GB, free: 173.3 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.872e-05/2.369, allocations: 17.16 kB / 1.438 GB, free: 173.3 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005246/2.374, allocations: 3.648 MB / 1.441 GB, free: 173 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.84e-05/2.374, allocations: 0 / 1.441 GB, free: 173 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002748/2.377, allocations: 0.5121 MB / 1.442 GB, free: 173 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009756/2.386, allocations: 2.868 MB / 1.445 GB, free: 172.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004622/2.387, allocations: 46.88 kB / 1.445 GB, free: 172.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03621/2.423, allocations: 17.98 MB / 1.462 GB, free: 168 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/2.423, allocations: 11.19 kB / 1.462 GB, free: 168 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01896/2.442, allocations: 6.543 MB / 1.469 GB, free: 166 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002563/2.445, allocations: 0.7056 MB / 1.469 GB, free: 165.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009813/2.446, allocations: 51.84 kB / 1.469 GB, free: 165.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003714/2.45, allocations: 423 kB / 1.47 GB, free: 165.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001319/2.451, allocations: 366.4 kB / 1.47 GB, free: 165.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002402/2.451, allocations: 70.45 kB / 1.47 GB, free: 165.4 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002587/2.454, allocations: 1.524 MB / 1.472 GB, free: 164.8 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.1e-07/2.454, allocations: 2.906 kB / 1.472 GB, free: 164.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003836/2.458, allocations: 1.06 MB / 1.473 GB, free: 164.7 MB / 0.9323 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.01877/2.476, allocations: 7.192 MB / 1.48 GB, free: 162.2 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.02317/2.5, allocations: 6.826 MB / 1.486 GB, free: 159.8 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/2.5, allocations: 4.656 kB / 1.486 GB, free: 159.8 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.01684/2.516, allocations: 4.209 MB / 1.49 GB, free: 158.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005067/2.522, allocations: 1.01 MB / 1.491 GB, free: 158.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0571/2.579, allocations: 30.59 MB / 1.521 GB, free: 140.8 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002442/2.581, allocations: 2.298 MB / 1.524 GB, free: 139.9 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003137/2.584, allocations: 0.5117 MB / 1.524 GB, free: 139.8 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001937/2.586, allocations: 1.327 MB / 1.525 GB, free: 138.7 MB / 0.9323 GB Notification: Performance of SimCode: time 9.31e-07/2.586, allocations: 0 / 1.525 GB, free: 138.7 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1794/2.766, allocations: 97.79 MB / 1.621 GB, free: 88.68 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001866/2.766, allocations: 228.4 kB / 1.621 GB, free: 88.42 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.5/9.266, allocations: 0 / 1.621 GB, free: 88.42 MB / 0.9323 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)