Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.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.DCLines,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_DCLines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLines,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.496/1.496, allocations: 251.9 MB / 266.9 MB, free: 10.88 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001257/0.001257, allocations: 175.7 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.08/2.08, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.001346/0.001346, allocations: 94.62 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003724/0.0003724, allocations: 9.094 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2778, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8529/1.131, allocations: 183.4 MB / 1.079 GB, free: 52.78 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/1.131, allocations: 90.3 kB / 1.079 GB, free: 52.78 MB / 0.698 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.3387/1.47, allocations: 148 MB / 1.224 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.643e-06/1.47, allocations: 0 / 1.224 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0003866/1.47, allocations: 79.75 kB / 1.224 GB, free: 12.16 MB / 0.7292 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.01129/1.481, allocations: 3.942 MB / 1.228 GB, free: 8.125 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/1.482, allocations: 11.97 kB / 1.228 GB, free: 8.113 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001792/1.483, allocations: 357.8 kB / 1.228 GB, free: 7.758 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01706/1.5, allocations: 3.226 MB / 1.231 GB, free: 4.523 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007881/1.508, allocations: 2.314 MB / 1.234 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002432/1.509, allocations: 177.2 kB / 1.234 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001295/1.51, allocations: 235.2 kB / 1.234 GB, free: 1.801 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01438/1.524, allocations: 4.687 MB / 1.239 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.793e-05/1.524, allocations: 4 kB / 1.239 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000991/1.525, allocations: 103.2 kB / 1.239 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00022/1.526, allocations: 144.8 kB / 1.239 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01666/1.542, allocations: 5.218 MB / 1.244 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02739/1.57, allocations: 14.38 MB / 1.258 GB, free: 8.043 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01147/1.581, allocations: 3.773 MB / 1.262 GB, free: 4.25 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002036/1.582, allocations: 29.59 kB / 1.262 GB, free: 4.227 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004756/1.586, allocations: 1.82 MB / 1.263 GB, free: 2.344 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=163): time 6.702e-06/1.586, allocations: 0 / 1.263 GB, free: 2.344 MB / 0.7605 GB Notification: Performance of matching and sorting (n=250): time 0.1278/1.714, allocations: 33.52 MB / 1.296 GB, free: 0.6172 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005277/1.715, allocations: 0.8944 MB / 1.297 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004537/1.719, allocations: 1.981 MB / 1.299 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0004398/1.72, allocations: 81.69 kB / 1.299 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.00153/1.721, allocations: 1.429 MB / 1.3 GB, free: 12 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001/1.722, allocations: 0.8168 MB / 1.301 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002983/1.723, allocations: 48 kB / 1.301 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001979/1.723, allocations: 398.7 kB / 1.302 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004821/1.728, allocations: 1.925 MB / 1.304 GB, free: 8.816 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005323/1.733, allocations: 2.312 MB / 1.306 GB, free: 6.367 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005064/1.738, allocations: 2.149 MB / 1.308 GB, free: 4.168 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/1.738, allocations: 0 / 1.308 GB, free: 4.168 MB / 0.8073 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01529/1.753, allocations: 6.122 MB / 1.314 GB, free: 13.96 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.00121/1.755, allocations: 2.455 MB / 1.316 GB, free: 11.23 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.201e-05/1.755, allocations: 4 kB / 1.316 GB, free: 11.23 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006696/1.761, allocations: 1.797 MB / 1.318 GB, free: 9.422 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003195/1.765, allocations: 0.6007 MB / 1.319 GB, free: 8.82 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01432/1.779, allocations: 9.509 MB / 1.328 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004707/1.784, allocations: 415.6 kB / 1.328 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007098/1.785, allocations: 91.97 kB / 1.328 GB, free: 14.66 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/1.785, allocations: 11.94 kB / 1.328 GB, free: 14.65 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01527/1.8, allocations: 5.734 MB / 1.334 GB, free: 8.836 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.052e-05/1.8, allocations: 8.062 kB / 1.334 GB, free: 8.828 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005123/1.805, allocations: 1.798 MB / 1.336 GB, free: 7.031 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003437/1.809, allocations: 0.6124 MB / 1.336 GB, free: 6.418 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02265/1.831, allocations: 14.02 MB / 1.35 GB, free: 8.129 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00476/1.836, allocations: 411.5 kB / 1.35 GB, free: 7.727 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006231/1.837, allocations: 91.97 kB / 1.351 GB, free: 7.637 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 () * 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.00241/1.839, allocations: 0.782 MB / 1.351 GB, free: 6.844 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00102/1.84, allocations: 340 kB / 1.352 GB, free: 6.508 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/1.841, allocations: 388.1 kB / 1.352 GB, free: 6.121 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.045e-05/1.841, allocations: 24 kB / 1.352 GB, free: 6.098 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.66e-05/1.841, allocations: 12 kB / 1.352 GB, free: 6.086 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.572e-05/1.841, allocations: 11.95 kB / 1.352 GB, free: 6.074 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005054/1.846, allocations: 3.192 MB / 1.355 GB, free: 2.875 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/1.846, allocations: 0 / 1.355 GB, free: 2.875 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002558/1.849, allocations: 0.5189 MB / 1.356 GB, free: 2.355 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005585/1.855, allocations: 1.692 MB / 1.357 GB, free: 0.6562 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003403/1.855, allocations: 55.92 kB / 1.357 GB, free: 0.6016 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02062/1.876, allocations: 14.55 MB / 1.372 GB, free: 1.785 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.876, allocations: 4 kB / 1.372 GB, free: 1.781 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01475/1.89, allocations: 5.76 MB / 1.377 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002035/1.893, allocations: 0.6649 MB / 1.378 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005385/1.893, allocations: 44 kB / 1.378 GB, free: 11.26 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00305/1.896, allocations: 415.4 kB / 1.378 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000957/1.897, allocations: 310.6 kB / 1.379 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001962/1.897, allocations: 67.97 kB / 1.379 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002446/1.9, allocations: 1.517 MB / 1.38 GB, free: 8.969 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/1.9, allocations: 0 / 1.38 GB, free: 8.969 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003913/1.904, allocations: 1.594 MB / 1.382 GB, free: 7.375 MB / 0.8855 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.01421/1.918, allocations: 6.405 MB / 1.388 GB, free: 0.9258 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.4316/2.35, allocations: 9.693 MB / 1.397 GB, free: 235.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.681e-05/2.35, allocations: 2.344 kB / 1.397 GB, free: 235.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.01024/2.36, allocations: 3.504 MB / 1.401 GB, free: 234.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006271/2.366, allocations: 1.016 MB / 1.402 GB, free: 234.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06045/2.427, allocations: 29.35 MB / 1.431 GB, free: 222.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002173/2.429, allocations: 2.322 MB / 1.433 GB, free: 221.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004003/2.433, allocations: 0.6409 MB / 1.433 GB, free: 221.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002068/2.435, allocations: 1.332 MB / 1.435 GB, free: 221.6 MB / 0.8855 GB Notification: Performance of SimCode: time 6.51e-07/2.435, allocations: 0 / 1.435 GB, free: 221.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1404/2.575, allocations: 99.02 MB / 1.531 GB, free: 186.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001453/2.576, allocations: 220.4 kB / 1.532 GB, free: 185.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.149/8.725, allocations: 0 / 1.532 GB, free: 185.9 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_DCLines_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_DC_Lines_Examples_DCLines.fmu > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)