Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.DC.Lines.Examples.DCLines.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.DC.Lines.Examples.DCLines") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.66/4.66, allocations: 0.5623 GB / 0.5769 GB, free: 3.352 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002352/0.002351, allocations: 357.8 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.905/3.905, allocations: 410.7 MB / 1.112 GB, free: 6.039 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001802/0.001802, allocations: 186.3 kB / 1.225 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004731/0.0004733, allocations: 8 kB / 1.348 GB, free: 8.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5751/0.5756, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.0208/0.5965, allocations: 20.23 MB / 1.48 GB, free: 264.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.02303/0.6195, allocations: 16.47 MB / 1.497 GB, free: 247.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003108/0.6227, allocations: 99.44 kB / 1.497 GB, free: 247.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001958/0.6247, allocations: 0.5154 MB / 1.497 GB, free: 247.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.00958/0.6343, allocations: 2.822 MB / 1.5 GB, free: 244.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.003405/0.6377, allocations: 0.9511 MB / 1.501 GB, free: 243.4 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.007022/0.6448, allocations: 5.771 MB / 1.506 GB, free: 237.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003317/0.6481, allocations: 2.02 MB / 1.508 GB, free: 235.6 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00357/0.6517, allocations: 1.825 MB / 1.51 GB, free: 233.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003785/0.6555, allocations: 2.171 MB / 1.512 GB, free: 231.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0007043/0.6563, allocations: 168.9 kB / 1.513 GB, free: 231.5 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001942/0.6582, allocations: 491.2 kB / 1.513 GB, free: 231 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0008879/0.6591, allocations: 0.9269 MB / 1.514 GB, free: 230.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001092/0.6603, allocations: 0.6873 MB / 1.515 GB, free: 229.4 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.004422/0.6647, allocations: 3.826 MB / 1.518 GB, free: 225.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.957e-06/0.6647, allocations: 0.9062 kB / 1.518 GB, free: 225.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.348e-06/0.6647, allocations: 0 / 1.518 GB, free: 225.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.833e-05/0.6648, allocations: 4 kB / 1.518 GB, free: 225.5 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.008139/0.673, allocations: 3.872 MB / 1.522 GB, free: 221.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.6731, allocations: 16.91 kB / 1.522 GB, free: 221.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01847/0.6915, allocations: 3.399 MB / 1.525 GB, free: 218.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00433/0.6959, allocations: 1.96 MB / 1.527 GB, free: 216.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/0.6961, allocations: 176.7 kB / 1.528 GB, free: 216 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004948/0.6966, allocations: 236.8 kB / 1.528 GB, free: 215.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01131/0.7079, allocations: 4.721 MB / 1.532 GB, free: 210.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.935e-05/0.708, allocations: 3.938 kB / 1.532 GB, free: 210.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003739/0.7084, allocations: 108 kB / 1.532 GB, free: 210.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002033/0.7086, allocations: 176.7 kB / 1.533 GB, free: 210.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01509/0.7237, allocations: 5.222 MB / 1.538 GB, free: 205.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0208/0.7446, allocations: 14.11 MB / 1.552 GB, free: 190.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01272/0.7573, allocations: 3.85 MB / 1.555 GB, free: 186.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004099/0.7615, allocations: 1.51 MB / 1.557 GB, free: 184.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001234/0.7616, allocations: 29.28 kB / 1.557 GB, free: 184.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004433/0.7661, allocations: 1.825 MB / 1.559 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=163): time 5.939e-06/0.7661, allocations: 0 / 1.559 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=250): time 0.1355/0.9016, allocations: 33.39 MB / 1.591 GB, free: 149.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.9017, allocations: 0.4967 MB / 1.592 GB, free: 148.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003379/0.9051, allocations: 2.273 MB / 1.594 GB, free: 146.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003815/0.9055, allocations: 73.7 kB / 1.594 GB, free: 146.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001078/0.9066, allocations: 1.442 MB / 1.595 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007305/0.9074, allocations: 0.8124 MB / 1.596 GB, free: 144 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002265/0.9076, allocations: 48 kB / 1.596 GB, free: 144 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.9077, allocations: 394.7 kB / 1.597 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005508/0.9132, allocations: 1.921 MB / 1.598 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005706/0.919, allocations: 2.22 MB / 1.601 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005586/0.9246, allocations: 2.136 MB / 1.603 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.427e-06/0.9246, allocations: 0 / 1.603 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01782/0.9425, allocations: 6.165 MB / 1.609 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001801/0.9427, allocations: 407.5 kB / 1.609 GB, free: 130.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/0.9427, allocations: 8 kB / 1.609 GB, free: 130.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00773/0.9504, allocations: 1.844 MB / 1.611 GB, free: 128.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003444/0.9539, allocations: 0.589 MB / 1.611 GB, free: 127.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02552/0.9795, allocations: 14.16 MB / 1.625 GB, free: 113.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004044/0.9836, allocations: 407.5 kB / 1.626 GB, free: 113.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003156/0.9839, allocations: 91.97 kB / 1.626 GB, free: 113.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.9839, allocations: 4 kB / 1.626 GB, free: 113.1 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01653/1, allocations: 5.753 MB / 1.631 GB, free: 107.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-05/1.001, allocations: 8.344 kB / 1.631 GB, free: 107.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006341/1.007, allocations: 1.825 MB / 1.633 GB, free: 105.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003545/1.01, allocations: 0.6086 MB / 1.634 GB, free: 104.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02362/1.034, allocations: 13.42 MB / 1.647 GB, free: 91.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00406/1.038, allocations: 415.4 kB / 1.647 GB, free: 90.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003087/1.039, allocations: 91.94 kB / 1.647 GB, free: 90.61 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,45.0%) 52} * Non-linear torn systems: 1 {10 52} Notification: Performance of prepare postOptimizeDAE: time 0.001698/1.04, allocations: 0.7767 MB / 1.648 GB, free: 89.82 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005877/1.041, allocations: 328.1 kB / 1.648 GB, free: 89.49 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006796/1.042, allocations: 396.1 kB / 1.649 GB, free: 89.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.968e-05/1.042, allocations: 20 kB / 1.649 GB, free: 89.08 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.292e-05/1.042, allocations: 19.94 kB / 1.649 GB, free: 89.06 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-05/1.042, allocations: 11.95 kB / 1.649 GB, free: 89.05 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004295/1.046, allocations: 3.176 MB / 1.652 GB, free: 85.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/1.046, allocations: 0 / 1.652 GB, free: 85.82 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003039/1.049, allocations: 0.515 MB / 1.652 GB, free: 85.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007351/1.056, allocations: 1.711 MB / 1.654 GB, free: 83.58 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003997/1.057, allocations: 51.97 kB / 1.654 GB, free: 83.53 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02509/1.082, allocations: 13.95 MB / 1.668 GB, free: 69.32 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.682e-06/1.082, allocations: 0 / 1.668 GB, free: 69.32 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01671/1.099, allocations: 5.795 MB / 1.673 GB, free: 63.48 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001797/1.101, allocations: 0.6648 MB / 1.674 GB, free: 62.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005751/1.101, allocations: 51.89 kB / 1.674 GB, free: 62.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003426/1.105, allocations: 403.6 kB / 1.675 GB, free: 62.35 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009785/1.106, allocations: 306.6 kB / 1.675 GB, free: 62.05 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002551/1.106, allocations: 67.97 kB / 1.675 GB, free: 61.99 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002472/1.108, allocations: 1.509 MB / 1.676 GB, free: 60.48 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.36e-07/1.108, allocations: 0 / 1.676 GB, free: 60.48 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00527/1.114, allocations: 1.625 MB / 1.678 GB, free: 58.86 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) * 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.0004966/1.114, allocations: 167 kB / 1.678 GB, free: 58.68 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.02593/1.14, allocations: 10.06 MB / 1.688 GB, free: 48.43 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/1.14, allocations: 4.188 kB / 1.688 GB, free: 48.43 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.009479/1.15, allocations: 3.483 MB / 1.691 GB, free: 44.91 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005321/1.155, allocations: 1.048 MB / 1.692 GB, free: 43.88 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01505/1.17, allocations: 7.567 MB / 1.7 GB, free: 36.29 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002192/1.172, allocations: 2.379 MB / 1.702 GB, free: 33.88 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.004041/1.176, allocations: 0.627 MB / 1.703 GB, free: 33.24 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008842/1.177, allocations: 179.4 kB / 1.703 GB, free: 33.07 MB / 0.8542 GB Notification: Performance of SimCode: time 1.625e-06/1.177, allocations: 0 / 1.703 GB, free: 33.07 MB / 0.8542 GB Notification: Performance of Templates: time 0.6575/1.835, allocations: 74.09 MB / 1.775 GB, free: 232.9 MB / 0.8542 GB