Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.DC.Sources.Examples.PVSimple.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.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.DC.Sources.Examples.PVSimple") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.652/2.652, allocations: 287.9 MB / 302.9 MB, free: 8.324 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001404/0.001404, allocations: 186.6 kB / 371.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.137/2.137, allocations: 205.4 MB / 0.6301 GB, free: 10.35 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001024/0.001024, allocations: 96.42 kB / 0.7434 GB, free: 6.344 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004746/0.0004749, allocations: 12.38 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1593, allocations: 115.3 MB / 0.9787 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimple): time 0.008008/0.1674, allocations: 6.501 MB / 0.9851 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7186/0.8861, allocations: 128.7 MB / 1.111 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001305/0.8874, allocations: 25.88 kB / 1.111 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005508/0.888, allocations: 140.1 kB / 1.111 GB, free: 2.102 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.00267/0.8907, allocations: 0.631 MB / 1.112 GB, free: 2.047 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003383/0.8941, allocations: 0.8568 MB / 1.112 GB, free: 2.016 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002687/0.8968, allocations: 1.205 MB / 1.114 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002439/0.8993, allocations: 1.26 MB / 1.115 GB, free: 1.648 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001311/0.9006, allocations: 0.5438 MB / 1.115 GB, free: 1.523 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001192/0.9018, allocations: 0.5964 MB / 1.116 GB, free: 1.359 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002832/0.9021, allocations: 47.19 kB / 1.116 GB, free: 1.359 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001374/0.9035, allocations: 325.7 kB / 1.116 GB, free: 1.355 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004487/0.904, allocations: 319.1 kB / 1.117 GB, free: 1.297 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004639/0.9045, allocations: 309.4 kB / 1.117 GB, free: 1.207 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002926/0.9074, allocations: 1.904 MB / 1.119 GB, free: 1.07 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.128e-06/0.9074, allocations: 0 / 1.119 GB, free: 1.07 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2e-06/0.9075, allocations: 0 / 1.119 GB, free: 1.07 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.912e-05/0.9075, allocations: 1 kB / 1.119 GB, free: 1.07 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 408 * Number of variables: 408 Notification: Performance of Generate backend data structure: time 0.004437/0.912, allocations: 1.734 MB / 1.12 GB, free: 16.11 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.912, allocations: 13.02 kB / 1.12 GB, free: 16.11 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007328/0.9194, allocations: 0.9406 MB / 1.121 GB, free: 15.98 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002401/0.9218, allocations: 0.9877 MB / 1.122 GB, free: 15.61 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.922, allocations: 119 kB / 1.122 GB, free: 15.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002953/0.9223, allocations: 158 kB / 1.123 GB, free: 15.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006133/0.9284, allocations: 2.031 MB / 1.125 GB, free: 15.35 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.616e-05/0.9285, allocations: 7.938 kB / 1.125 GB, free: 15.34 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002411/0.9288, allocations: 67.56 kB / 1.125 GB, free: 15.34 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.961e-05/0.9289, allocations: 73.19 kB / 1.125 GB, free: 15.34 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008086/0.937, allocations: 2.404 MB / 1.127 GB, free: 14.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0155/0.9525, allocations: 6.413 MB / 1.133 GB, free: 11.38 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005598/0.9581, allocations: 1.568 MB / 1.135 GB, free: 11.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009272/0.9591, allocations: 494.9 kB / 1.135 GB, free: 10.59 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00311/0.9622, allocations: 0.9138 MB / 1.136 GB, free: 10.25 MB / 0.698 GB Notification: Performance of pre-optimization done (n=128): time 6.22e-06/0.9623, allocations: 0 / 1.136 GB, free: 10.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=128): time 0.008496/0.9708, allocations: 2.179 MB / 1.138 GB, free: 9.711 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000196/0.971, allocations: 300.7 kB / 1.139 GB, free: 9.367 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001687/0.9727, allocations: 0.831 MB / 1.139 GB, free: 9.086 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003214/0.9731, allocations: 52.17 kB / 1.14 GB, free: 9.051 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006892/0.9738, allocations: 0.6311 MB / 1.14 GB, free: 8.68 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006303/0.9744, allocations: 434.6 kB / 1.141 GB, free: 8.371 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.9746, allocations: 22.28 kB / 1.141 GB, free: 8.371 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001995/0.9748, allocations: 352.9 kB / 1.141 GB, free: 8.051 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002249/0.9771, allocations: 0.5815 MB / 1.141 GB, free: 7.949 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002683/0.9798, allocations: 0.7786 MB / 1.142 GB, free: 7.656 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002556/0.9824, allocations: 0.6578 MB / 1.143 GB, free: 7.559 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-05/0.9824, allocations: 1.125 kB / 1.143 GB, free: 7.559 MB / 0.698 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.006019/0.9884, allocations: 1.6 MB / 1.144 GB, free: 7.203 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006598/0.9891, allocations: 1.139 MB / 1.146 GB, free: 6.008 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.9892, allocations: 2.5 kB / 1.146 GB, free: 6.008 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002516/0.9894, allocations: 36.98 kB / 1.146 GB, free: 5.992 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002559/0.992, allocations: 328.5 kB / 1.146 GB, free: 5.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/0.9937, allocations: 1.297 MB / 1.147 GB, free: 4.605 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002161/0.9958, allocations: 194.3 kB / 1.147 GB, free: 4.512 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003472/0.9962, allocations: 54.77 kB / 1.147 GB, free: 4.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.9963, allocations: 6.25 kB / 1.147 GB, free: 4.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005369/1.002, allocations: 1.468 MB / 1.149 GB, free: 4.242 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/1.002, allocations: 5.594 kB / 1.149 GB, free: 4.242 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/1.002, allocations: 12.66 kB / 1.149 GB, free: 4.238 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00254/1.004, allocations: 332.6 kB / 1.149 GB, free: 4.152 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-05/1.004, allocations: 7.156 kB / 1.149 GB, free: 4.152 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001989/1.006, allocations: 194.2 kB / 1.149 GB, free: 4.059 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003142/1.007, allocations: 55.3 kB / 1.149 GB, free: 4.047 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001219/1.008, allocations: 445 kB / 1.15 GB, free: 3.824 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004427/1.008, allocations: 121.1 kB / 1.15 GB, free: 3.762 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0069/1.015, allocations: 1.895 MB / 1.152 GB, free: 3.242 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.6e-05/1.015, allocations: 15.84 kB / 1.152 GB, free: 3.242 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.876e-06/1.015, allocations: 0 / 1.152 GB, free: 3.242 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.918e-05/1.015, allocations: 10.75 kB / 1.152 GB, free: 3.234 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009477/1.025, allocations: 3.573 MB / 1.155 GB, free: 1.965 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.771e-06/1.025, allocations: 0 / 1.155 GB, free: 1.965 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002251/1.027, allocations: 304.6 kB / 1.156 GB, free: 1.891 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001809/1.027, allocations: 27.78 kB / 1.156 GB, free: 1.879 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002461/1.028, allocations: 40.72 kB / 1.156 GB, free: 1.871 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001313/1.029, allocations: 1.281 MB / 1.157 GB, free: 0.582 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.121e-06/1.029, allocations: 10.94 kB / 1.157 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005546/1.035, allocations: 1.717 MB / 1.159 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001117/1.036, allocations: 413.9 kB / 1.159 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000264/1.036, allocations: 24.5 kB / 1.159 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00172/1.038, allocations: 133.9 kB / 1.159 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002533/1.038, allocations: 88.94 kB / 1.159 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001712/1.038, allocations: 51.2 kB / 1.159 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001181/1.039, allocations: 0.599 MB / 1.16 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.06e-07/1.039, allocations: 0 / 1.16 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002655/1.042, allocations: 0.7251 MB / 1.161 GB, free: 15.37 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (141): * Single equations (assignments): 138 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002026/1.044, allocations: 0.5845 MB / 1.161 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.008011/1.052, allocations: 2.394 MB / 1.163 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/1.052, allocations: 4.125 kB / 1.164 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002791/1.055, allocations: 0.8964 MB / 1.164 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001837/1.057, allocations: 281.2 kB / 1.165 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007726/1.065, allocations: 3.417 MB / 1.168 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001298/1.066, allocations: 1.288 MB / 1.169 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003693/1.07, allocations: 0.5208 MB / 1.17 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008125/1.071, allocations: 155.9 kB / 1.17 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of SimCode: time 1.614e-06/1.071, allocations: 0 / 1.17 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of Templates: time 0.05353/1.124, allocations: 18.9 MB / 1.188 GB, free: 10.83 MB / 0.7292 GB