Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.345/2.345, allocations: 251.1 MB / 266.1 MB, free: 11.56 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001621/0.001621, allocations: 182.2 kB / 325.6 MB, free: 2.812 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.583/2.583, allocations: 205.4 MB / 0.5766 GB, free: 20.73 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0018/0.0018, allocations: 100.2 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004868/0.000487, allocations: 11.88 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2507, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.04113/0.2919, allocations: 19.18 MB / 0.9176 GB, free: 46.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0418/0.3338, allocations: 16.07 MB / 0.9333 GB, free: 30.14 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003461/0.3373, allocations: 91.44 kB / 0.9334 GB, free: 30.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00276/0.3401, allocations: 0.5432 MB / 0.9339 GB, free: 29.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.01171/0.3519, allocations: 2.825 MB / 0.9367 GB, free: 26.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004406/0.3563, allocations: 0.9419 MB / 0.9376 GB, free: 25.74 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.007998/0.3643, allocations: 3.423 MB / 0.9409 GB, free: 22.31 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004356/0.3687, allocations: 2.067 MB / 0.943 GB, free: 20.18 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004652/0.3734, allocations: 1.818 MB / 0.9447 GB, free: 18.36 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004691/0.3782, allocations: 1.794 MB / 0.9465 GB, free: 16.55 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.001068/0.3793, allocations: 179.9 kB / 0.9467 GB, free: 16.38 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002544/0.3819, allocations: 491.4 kB / 0.9471 GB, free: 15.9 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001342/0.3832, allocations: 0.8839 MB / 0.948 GB, free: 15.01 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001394/0.3846, allocations: 0.6912 MB / 0.9487 GB, free: 14.31 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.006151/0.3908, allocations: 3.892 MB / 0.9525 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3909, allocations: 4 kB / 0.9525 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.665e-06/0.3909, allocations: 4 kB / 0.9525 GB, free: 10.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001487/0.391, allocations: 0 / 0.9525 GB, free: 10.4 MB / 0.6042 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.01385/0.4049, allocations: 4.103 MB / 0.9565 GB, free: 6.188 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.405, allocations: 8.031 kB / 0.9565 GB, free: 6.18 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02746/0.4324, allocations: 3.405 MB / 0.9598 GB, free: 2.766 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006095/0.4386, allocations: 1.98 MB / 0.9617 GB, free: 0.7188 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005265/0.4392, allocations: 469.7 kB / 0.9622 GB, free: 200 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001354/0.4405, allocations: 232 kB / 0.9624 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02106/0.4616, allocations: 4.834 MB / 0.9671 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.147e-05/0.4618, allocations: 3.953 kB / 0.9671 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006584/0.4624, allocations: 104 kB / 0.9672 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000362/0.4628, allocations: 172.8 kB / 0.9674 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03628/0.4991, allocations: 5.304 MB / 0.9726 GB, free: 5.391 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04172/0.5409, allocations: 14.58 MB / 0.9868 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01953/0.5605, allocations: 3.668 MB / 0.9904 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002987/0.5608, allocations: 25.3 kB / 0.9904 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008471/0.5693, allocations: 1.923 MB / 0.9923 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=163): time 6.191e-06/0.5694, allocations: 4 kB / 0.9923 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of matching and sorting (n=250): time 0.2808/0.8502, allocations: 34.09 MB / 1.026 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003849/0.8506, allocations: 0.4889 MB / 1.026 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005361/0.856, allocations: 2.273 MB / 1.028 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000652/0.8567, allocations: 81.69 kB / 1.028 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001952/0.8587, allocations: 1.43 MB / 1.03 GB, free: 9.203 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001509/0.8602, allocations: 0.8163 MB / 1.031 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004055/0.8607, allocations: 52 kB / 1.031 GB, free: 8.324 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002652/0.861, allocations: 394.7 kB / 1.031 GB, free: 7.934 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01071/0.8717, allocations: 2.108 MB / 1.033 GB, free: 5.82 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01136/0.8831, allocations: 2.403 MB / 1.035 GB, free: 3.332 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01102/0.8942, allocations: 2.292 MB / 1.038 GB, free: 0.9883 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.441e-05/0.8942, allocations: 4 kB / 1.038 GB, free: 0.9844 MB / 0.6823 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.04283/0.9371, allocations: 6.876 MB / 1.044 GB, free: 10.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001853/0.9373, allocations: 152.5 kB / 1.045 GB, free: 9.836 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.753e-05/0.9373, allocations: 4.344 kB / 1.045 GB, free: 9.832 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02606/0.9634, allocations: 2.954 MB / 1.047 GB, free: 6.871 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007596/0.9711, allocations: 0.5695 MB / 1.048 GB, free: 6.301 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7015/1.673, allocations: 18.14 MB / 1.066 GB, free: 136.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007588/1.68, allocations: 422.8 kB / 1.066 GB, free: 136.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008582/1.681, allocations: 88.12 kB / 1.066 GB, free: 136.6 MB / 0.698 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,45.0%) 52} * Non-linear torn systems: 1 {9 63} Notification: Performance of prepare postOptimizeDAE: time 0.002934/1.684, allocations: 0.7022 MB / 1.067 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001197/1.685, allocations: 330.7 kB / 1.067 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/1.687, allocations: 384.2 kB / 1.068 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.225e-05/1.687, allocations: 28.5 kB / 1.068 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.181e-05/1.687, allocations: 13.28 kB / 1.068 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-05/1.687, allocations: 12.62 kB / 1.068 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01265/1.699, allocations: 3.628 MB / 1.071 GB, free: 135.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.653e-05/1.7, allocations: 1.125 kB / 1.071 GB, free: 135.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007231/1.707, allocations: 0.5031 MB / 1.072 GB, free: 135.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02521/1.732, allocations: 2.866 MB / 1.074 GB, free: 134.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008297/1.733, allocations: 51.84 kB / 1.074 GB, free: 134.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1036/1.837, allocations: 17.94 MB / 1.092 GB, free: 126.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/1.837, allocations: 0.5 kB / 1.092 GB, free: 126.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03894/1.876, allocations: 6.523 MB / 1.098 GB, free: 123.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002602/1.878, allocations: 0.7009 MB / 1.099 GB, free: 122.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001283/1.88, allocations: 43.31 kB / 1.099 GB, free: 122.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00666/1.886, allocations: 414.7 kB / 1.099 GB, free: 122.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002156/1.889, allocations: 360.1 kB / 1.1 GB, free: 122.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004071/1.889, allocations: 73.56 kB / 1.1 GB, free: 122.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003114/1.892, allocations: 1.51 MB / 1.101 GB, free: 121.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.603e-06/1.892, allocations: 3.562 kB / 1.101 GB, free: 121.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004589/1.897, allocations: 1.051 MB / 1.102 GB, free: 120.4 MB / 0.698 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 {10 62} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007425/1.898, allocations: 155.4 kB / 1.103 GB, free: 120.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.04158/1.939, allocations: 6.834 MB / 1.109 GB, free: 113.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/1.939, allocations: 4 kB / 1.109 GB, free: 113.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.03127/1.971, allocations: 4.227 MB / 1.113 GB, free: 109 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007063/1.978, allocations: 0.9976 MB / 1.114 GB, free: 108.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02457/2.002, allocations: 7.755 MB / 1.122 GB, free: 100.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005277/2.008, allocations: 2.305 MB / 1.124 GB, free: 97.96 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.006656/2.014, allocations: 0.5098 MB / 1.125 GB, free: 97.44 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002088/2.017, allocations: 175.4 kB / 1.125 GB, free: 97.27 MB / 0.698 GB Notification: Performance of SimCode: time 1.703e-06/2.017, allocations: 0 / 1.125 GB, free: 97.27 MB / 0.698 GB Notification: Performance of Templates: time 0.2107/2.227, allocations: 70.07 MB / 1.193 GB, free: 27.87 MB / 0.698 GB